joyce8/EMBER2024-capa huggingface dataset:
Function at 0x53fa50
Capabilities:
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x674640
push 0x5dfbd0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x6aae14]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
xor esi, esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x1c], 0x200
mov dword [ebp - 0x20], 0x80
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov edi, dword [ebp + 0x10]
mov byte [edi], 0
push edi
mov eax, dword [ebp + 0xc]
push eax
call fcn.0053f5d0
add esp, 8
cmp byte [edi], 0
je 0x53fac6
lea eax, [esi + 1]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], esi
mov ecx, dword [ebp - 0x1c]
push ecx
push esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcessHeap]
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
mov dword [ebp - 0x28], edi
test edi, edi
je 0x53fba4
mov edx, dword [ebp - 0x1c]
push edx
push 0
push edi
call fcn.005dfd60
add esp, 0xc
mov eax, dword [ebp - 0x20]
push eax
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
test esi, esi
mov dword [ebp - 0x24], esi
je 0x53fba4
mov ecx, dword [ebp - 0x20]
push ecx
push 0
push esi
call fcn.005dfd60
add esp, 0xc
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x20]
push eax
push esi
lea ecx, [ebp - 0x1c]
push ecx
push edi
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_LookupAccountNameA]
test eax, eax
jne 0x53fb8c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x53fba4
mov ecx, dword [ebp - 0x1c]
push ecx
push edi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov edi, eax
mov dword [ebp - 0x28], edi
test edi, edi
je 0x53fba4
mov edx, dword [ebp - 0x1c]
push edx
push 0
push edi
call fcn.005dfd60
add esp, 0xc
mov eax, dword [ebp - 0x20]
push eax
push esi
push 0
call ebx
push eax
call dword [sym.imp.KERNEL32.dll_HeapReAlloc]
jmp 0x53fb08
test edi, edi
je 0x53fb9d
mov edx, dword [ebp + 0x10]
push edx
push edi
call fcn.004fd150
add esp, 8
mov dword [ebp - 0x2c], 1
mov dword [ebp - 4], 0xfffffffe
call fcn.0053fbd1
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x548660
Capabilities:
Check for time delay via gettickcount
Create thread

Disassembly:
sub esp, 0x110
mov eax, dword [0x6aae14]
xor eax, esp
mov dword [esp + 0x10c], eax
cmp dword [0x75e9cc], 0
jne 0x548779
lea eax, [esp + 4]
push eax
push str.SyncTime
push 0x60d814
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x14], 2
call fcn.004d5820
mov eax, dword [esp + 4]
cmp eax, 2
je 0x5486b4
cmp eax, 3
jne 0x548779
push esi
mov esi, dword [esp + 0x118]
push esi
lea ecx, [esp + 0x10]
push str._JOB__Syncing_Time__u_
push ecx
call fcn.005dfb23
push 0
push 1
lea edx, [esp + 0x20]
push edx
push 0x6aec98
call fcn.004311c0
lea eax, [esp + 0x28]
push eax
push 0
push 0x55cb40
call fcn.005e07ac
add esp, 0x28
cmp eax, 0xffffffff
je 0x54879a
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push ebx
push edi
mov dword [esp + 0xc], 0
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
push 0x64
mov edi, eax
call ebx
mov dword [0x75e9cc], 1
call esi
sub eax, edi
cmp eax, 0x1388
jae 0x548776
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push 1
push str.MyTimeSyncHand
push 1
push 0
call fcn.00507920
mov dword [esp + 0x10], eax
test eax, eax
je 0x548775
call ebp
cmp eax, 0xb7
jne 0x54878e
lea ecx, [esp + 0x10]
push ecx
call fcn.004dca10
push 0xc8
call ebx
call esi
sub eax, edi
cmp eax, 0x1388
jb 0x548736
pop ebp
pop edi
pop ebx
pop esi
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.005dfbbe
add esp, 0x110
ret
lea edx, [esp + 0x10]
push edx
call fcn.004dca10
jmp 0x548775
push esi
lea eax, [esp + 0x10]
push str._JOB__Error_creating_thread_for_synctime____u_
push eax
call fcn.005dfb23
push 0
push 1
lea ecx, [esp + 0x20]
push ecx
push 0x6aec98
call fcn.004311c0
mov ecx, dword [esp + 0x12c]
add esp, 0x1c
pop esi
xor ecx, esp
call fcn.005dfbbe
add esp, 0x110
ret
Function at 0x5487e0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
sub esp, 0x638
mov eax, dword [0x6aae14]
xor eax, esp
mov dword [esp + 0x634], eax
mov eax, dword [esp + 0x63c]
push ebx
xor ebx, ebx
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x644]
mov dword [esp + 4], ebx
mov dword [esp + 0xc], ebx
cmp eax, ebx
je 0x548831
cmp byte [eax], bl
je 0x548831
push eax
lea ecx, [esp + 0x434]
push str.SoftwareMicroWorldeScan_For_Windows_sSchedulerJobs
push ecx
call fcn.005dfb23
add esp, 0xc
jmp 0x548846
lea edx, [esp + 0x430]
push str.SoftwareMicroWorldeScan_For_WindowsODSSchedulerJobs
push edx
call fcn.005dfb23
add esp, 8
lea eax, [esp + 4]
push eax
push 0x20019
push ebx
lea ecx, [esp + 0x43c]
push ecx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x5489a6
mov eax, dword [esp + 4]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x28]
push edx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x548997
push esi
mov esi, dword [esp + 0x10]
cmp esi, ebx
jbe 0x548996
push edi
push 0x40f
lea ecx, [esp + 0x2d]
push ebx
push ecx
mov byte [esp + 0x34], bl
call fcn.005dfd60
add esp, 0xc
xor edi, edi
cmp esi, ebx
jbe 0x548995
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ebx, [ebx]
mov ecx, dword [esp + 0x10]
push ebx
push ebx
push ebx
push ebx
lea edx, [esp + 0x38]
push edx
lea eax, [esp + 0x40]
push eax
push edi
push ecx
mov byte [esp + 0x4c], bl
mov dword [esp + 0x48], 0x410
call esi
test eax, eax
jne 0x548994
cmp byte [esp + 0x2c], bl
je 0x548989
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push 0x20019
push ebx
lea eax, [esp + 0x38]
push eax
push ecx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x548994
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
push ebx
push ebx
push str.Enable
push ecx
mov dword [esp + 0x38], 4
call ebp
test eax, eax
je 0x548960
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x548989
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0x1c], 0x31
mov dword [esp + 0x14], ebx
jne 0x548989
mov edx, dword [esp + 0x24]
push 1
push 0x2c
lea ecx, [esp + 0x34]
push ecx
push edx
call fcn.004e5820
inc edi
cmp edi, dword [esp + 0x18]
jb 0x5488d0
pop ebp
pop edi
pop esi
mov eax, dword [esp + 4]
cmp eax, ebx
je 0x5489a6
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x638]
pop ebx
xor ecx, esp
xor eax, eax
call fcn.005dfbbe
add esp, 0x638
ret
Function at 0x549030
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
push edi
call esi
push 0
mov edi, eax
call fcn.004f7130
add esp, 4
test eax, eax
jle 0x549052
pop edi
mov eax, 1
pop esi
ret
jge 0x54905a
pop edi
or eax, 0xffffffff
pop esi
ret
push ebx
call esi
sub eax, edi
cmp eax, 0x493e0
jae 0x549090
mov ebx, dword [sym.imp.KERNEL32.dll_Sleep]
lea esp, [esp]
push 0
call fcn.004f7130
add esp, 4
test eax, eax
jg 0x549096
push 0x7d0
call ebx
call esi
sub eax, edi
cmp eax, 0x493e0
jb 0x549070
pop ebx
pop edi
xor eax, eax
pop esi
ret
pop ebx
pop edi
mov eax, 1
pop esi
ret
Function at 0x54ea30
Capabilities:
Get common file path

Disassembly:
mov eax, dword [esp + 8]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x60c800
jmp fcn.004f0f30
Function at 0x5530d0
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xfffffffffffffffe
push 0x674de0
push 0x5dfbd0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x6aae14]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ecx, dword [ebp + 0x214]
xor edi, edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 4], edi
cmp ecx, edi
je 0x553215
cmp byte [ecx], 0
je 0x553215
mov eax, ecx
lea esi, [eax + 1]
mov edi, edi
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x553140
sub eax, esi
lea esi, [eax + 1]
lea edx, [ebp]
nop
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x553150
push 0x50
push esi
mov eax, dword [str.__asflk__aasf_.zxdv_asd________k9034509k9____KKmnscmsfmiun__IOPc]
push eax
lea ecx, [ebp]
push ecx
call fcn.004db750
lea eax, [esi + 0x144]
mov dword [ebp - 0x28], eax
push eax
call fcn.004d9470
add esp, 4
mov ebx, eax
mov dword [ebp - 0x20], ebx
cmp ebx, edi
jne 0x553195
mov dword [ebp - 4], 0xfffffffe
mov eax, edi
jmp 0x553254
mov dword [ebx], esi
push esi
lea edx, [ebp]
push edx
lea eax, [ebx + 4]
push eax
call fcn.005e13c0
add esp, 0xc
lea edi, [esi + ebx + 4]
mov ecx, 0x50
mov esi, dword [ebp + 0x218]
rep movsd dword es:[edi], dword [esi]
push 0x75fcc8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, 1
mov dword [ebp - 0x1c], esi
push 0
lea ecx, [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x28]
push edx
push ebx
mov eax, dword [0x75ffe8]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x5531f0
mov dword [0x75fff8], esi
mov dword [ebp - 0x24], esi
push ebx
call fcn.005e0865
add esp, 4
xor esi, esi
mov dword [ebp - 0x20], esi
push 0x75fcc8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0xfffffffe
jmp 0x553233
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
jmp 0x553254
test esi, esi
je 0x553240
push esi
call fcn.005e0865
add esp, 4
cmp dword [ebp - 0x1c], 0
je 0x553251
push 0x75fcc8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.005dfbbe
add ebp, 0x20c
mov esp, ebp
pop ebp
ret
Function at 0x553670
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x20c]
sub esp, 0x20c
push 0xfffffffffffffffe
push 0x674e40
push 0x5dfbd0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x6aae14]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp + 0x208], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov ecx, dword [ebp + 0x214]
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp + 0x218]
mov dword [ebp - 0x24], eax
mov esi, dword [ebp + 0x21c]
mov dword [ebp - 0x2c], esi
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], eax
mov ecx, dword [ecx]
push ecx
call fcn.004d90d0
add esp, 4
test eax, eax
jne 0x5536fa
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
jmp 0x5537e6
mov eax, esi
lea edx, [eax + 1]
nop
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x553700
sub eax, edx
lea edi, [eax + 1]
mov dword [ebp - 0x38], edi
lea ebx, [edi + 4]
push ebx
call fcn.004d9470
add esp, 4
mov esi, eax
mov dword [ebp - 0x20], esi
test esi, esi
je 0x5536ec
mov dword [esi], edi
mov ecx, dword [ebp - 0x2c]
lea edx, [ebp]
lea esp, [esp]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x553730
push 0x50
push edi
mov edx, dword [str.__asflk__aasf_.zxdv_asd________k9034509k9____KKmnscmsfmiun__IOPc]
push edx
lea eax, [ebp]
push eax
call fcn.004db750
push edi
lea ecx, [ebp]
push ecx
mov eax, 4
add eax, esi
push eax
call fcn.005e13c0
add esp, 0xc
mov edi, dword [ebp - 0x24]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 0x1c], 1
push 0
lea edx, [ebp - 0x34]
push edx
push ebx
push esi
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x553792
mov dword [ebp - 0x28], 1
push esi
call fcn.005e0865
add esp, 4
xor esi, esi
mov dword [ebp - 0x20], esi
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], 0xfffffffe
jmp 0x5537c9
test esi, esi
je 0x5537d6
push esi
call fcn.005e0865
add esp, 4
cmp dword [ebp - 0x1c], 0
je 0x5537e3
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.005dfbbe
add ebp, 0x20c
mov esp, ebp
pop ebp
ret
Function at 0x553ee0
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x674ec0
push 0x5dfbd0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x6aae14]
xor dword [ebp - 8], eax
xor eax, ebp
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], esi
cmp dword [0x760010], esi
jne 0x553f60
mov dword [0x760010], 1
push 0x76002c
push 0x760028
push 0x760024
push 0x760020
push esi
push 0x76001c
push 0x760018
push esi
push 0x760014
push esi
push 0x760030
call fcn.004d9f10
add esp, 0x2c
cmp dword [0x760018], esi
jne 0x553fc3
cmp dword [0x76001c], esi
jne 0x553fc3
cmp dword [0x760014], esi
jne 0x553fc3
cmp dword [0x76002c], esi
jne 0x553fc3
cmp dword [0x760020], esi
jne 0x553f9c
cmp dword [0x760024], esi
jne 0x553f9c
cmp dword [0x760028], esi
je 0x5540a0
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00553b40
add esp, 0x10
mov dword [ebp - 0x1c], eax
jmp 0x5540a0
mov dword [ebp - 0x20], esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_SetLastError]
call edi
cmp dword [0x75ffe0], esi
je 0x553ff7
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00553ce0
add esp, 0x10
mov dword [ebp - 0x1c], eax
jmp 0x5540a0
lea edx, [ebp - 0x20]
push edx
push 4
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
push esi
push esi
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov ebx, eax
mov dword [ebp - 0x1c], ebx
cmp dword [0x75ffe4], esi
je 0x55403f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
mov eax, dword [ebp - 0x20]
push eax
push str._INJ__CreateRemoteThread_Return._ThID:__u__LastError:__u_
push 0
call fcn.004f0f30
add esp, 0x10
push esi
call edi
xor esi, esi
cmp ebx, esi
je 0x5540a0
push 0x64
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
call esi
push 0
call edi
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ebx, eax
push 0x64
call esi
cmp dword [0x75ffe4], 0
je 0x5540a0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push ebx
push str._INJ__ResumeThread_Return._rval:__u__LastError:__u_
push 0
call fcn.004f0f30
add esp, 0x10
push esi
call edi
jmp 0x5540a0
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x55ab10
Capabilities:
Create udp socket

Disassembly:
push 0
push 2
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov ecx, dword [esp + 4]
xor edx, edx
cmp eax, 0xffffffff
setne dl
mov dword [ecx], eax
mov eax, edx
ret

Function at 0x55ab30
Capabilities:
Connect socket

Disassembly:
sub esp, 0x14
mov eax, dword [0x6aae14]
xor eax, esp
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x20]
xor eax, eax
push esi
mov esi, dword [esp + 0x1c]
push edi
mov edi, dword [esp + 0x24]
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov eax, 2
push ecx
mov word [esp + 0xc], ax
call dword [sym.imp.WS2_32.dll_htons]
push edi
mov word [esp + 0xe], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
push 0x10
lea edx, [esp + 0xc]
mov dword [esp + 0x10], eax
mov eax, dword [esi]
push edx
push eax
call dword [sym.imp.WS2_32.dll_connect]
mov ecx, dword [esp + 0x18]
neg eax
pop edi
sbb eax, eax
pop esi
xor ecx, esp
inc eax
call fcn.005dfbbe
add esp, 0x14
ret

Function at 0x55abb0
Capabilities:
Send data
Send data on socket

Disassembly:
mov eax, dword [esp + 4]
mov eax, dword [eax]
cmp eax, 0xffffffff
jne 0x55abbe
xor eax, eax
ret
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push 0
push ecx
push edx
push eax
call dword [sym.imp.WS2_32.dll_send]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret

Function at 0x55abe0
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
mov ecx, dword [esp + 0x118]
mov eax, 0x10624dd3
mul ecx
mov eax, dword [esp + 0x110]
shr edx, 6
mov dword [esp], edx
imul edx, edx, 0x3e8
sub ecx, edx
lea edx, [esp]
push edx
push 0
mov dword [esp + 0xc], ecx
mov ecx, dword [eax]
push 0
lea eax, [esp + 0x14]
push eax
push 0
mov dword [esp + 0x20], ecx
mov dword [esp + 0x1c], 1
call dword [sym.imp.WS2_32.dll_select]
cmp eax, 0xffffffff
jne 0x55ac3e
xor eax, eax
add esp, 0x10c
ret
mov edx, dword [esp + 0x114]
xor ecx, ecx
test eax, eax
setne cl
mov eax, 1
mov dword [edx], ecx
add esp, 0x10c
ret

Function at 0x55ac60
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [esp + 4]
mov eax, dword [eax]
cmp eax, 0xffffffff
jne 0x55ac6e
xor eax, eax
ret
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push 0
push ecx
push edx
push eax
call dword [sym.imp.WS2_32.dll_recv]
ret
Function at 0x55c5e0
Capabilities:
Set environment variable

Disassembly:
push 0xffffffffffffffff
push 0x60948b
mov eax, dword fs:[0]
push eax
sub esp, 0xc14
mov eax, dword [0x6aae14]
xor eax, esp
mov dword [esp + 0xc10], eax
push ebx
push esi
push edi
mov eax, dword [0x6aae14]
xor eax, esp
push eax
lea eax, [esp + 0xc24]
mov dword fs:[0], eax
mov ecx, 9
mov esi, str.http:__google.com_
lea edi, [esp + 0x8ec]
rep movsd dword es:[edi], dword [esi]
xor ebx, ebx
movsw word es:[edi], word [esi]
cmp dword [esp + 0xc34], ebx
je 0x55c6f7
push 0x103
lea eax, [esp + 0xb21]
push ebx
push eax
mov byte [esp + 0xb28], bl
call fcn.005dfd60
push 0x103
lea ecx, [esp + 0x925]
push ebx
push ecx
mov byte [esp + 0x92c], bl
call fcn.005dfd60
push 0x103
lea edx, [esp + 0xa35]
push ebx
push edx
mov byte [esp + 0xa3c], bl
call fcn.005dfd60
add esp, 0x24
push ebx
lea eax, [esp + 0xa1c]
push eax
lea ecx, [esp + 0x91c]
push ecx
call fcn.0051b020
cmp byte [esp + 0x914], bl
je 0x55c7b9
cmp byte [esp + 0xa18], bl
je 0x55c7b9
lea edx, [esp + 0xa18]
push edx
lea eax, [esp + 0x918]
push eax
lea ecx, [esp + 0xb24]
push str._s:_s
push ecx
call fcn.005dfb23
add esp, 0x10
lea edx, [esp + 0xb1c]
push edx
push str.http_proxy
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov esi, eax
cmp esi, ebx
je 0x55c792
lea ecx, [esp + 0x10]
call fcn.0040afd0
push ebx
push 0x55c1d0
lea ecx, [esp + 0x18]
mov dword [esp + 0xc34], ebx
call fcn.004087a0
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x24]
call fcn.004090f0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 1
push str.GetUNIXTimestamp
push ebx
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
push ebx
push ebx
mov dword [0x760eb0], eax
push esi
lea eax, [esp + 0x91c]
push eax
lea ecx, [esp + 0x44]
call fcn.0040d6c0
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [esp + 0x10]
mov dword [esp + 0xc2c], 0xffffffff
call fcn.0040b290
mov ecx, dword [esp + 0xc24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xc10]
xor ecx, esp
call fcn.005dfbbe
add esp, 0xc20
ret
mov dword [0x760eac], ebx
jmp 0x55c792

Function at 0x55eb10
Capabilities:
Encode data using xor

Disassembly:
xor eax, eax
test ecx, ecx
jle 0x55eb3d
push esi
push edi
jmp 0x55eb20
movzx esi, byte [edx]
movzx esi, byte [esi + 0x65b518]
lea edi, [eax*8]
xor esi, edi
dec ecx
xor eax, esi
inc edx
test ecx, ecx
jg 0x55eb20
pop edi
pop esi
ret
Function at 0x564d30
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x18]
push esi
push edi
xor edi, edi
mov eax, ebp
test ebp, ebp
jne 0x564d47
xor ebx, ebx
jmp 0x564d5f
cmp byte [ebp], 0
je 0x564d56
lea ecx, [ecx]
inc eax
cmp byte [eax], 0
jne 0x564d50
sub eax, ebp
and eax, 0x3fffffff
mov ebx, eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x14]
xor esi, esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], eax
test eax, eax
jle 0x564e20
jmp 0x564d84
mov esi, dword [esp + 0x10]
cmp esi, 2
jge 0x564d8c
xor esi, 1
mov eax, dword [esp + 0x24]
test eax, eax
je 0x564db1
mov edx, dword [esp + 0x1c]
mov edx, dword [edx + 0x10]
mov ecx, esi
shl ecx, 4
mov ecx, dword [ecx + edx]
push ecx
push eax
call fcn.0055dac0
add esp, 8
test eax, eax
jne 0x564e0d
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 0x10]
shl esi, 4
mov ecx, dword [esi + eax + 0xc]
add ecx, 8
cmp dword [ecx + 0xc], 0
je 0x564df7
xor eax, eax
mov edi, ebx
mov edx, ebp
test ebx, ebx
jle 0x564df1
movzx esi, byte [edx]
movzx esi, byte [esi + 0x65b518]
lea ebp, [eax*8]
xor esi, ebp
dec edi
xor eax, esi
inc edx
test edi, edi
jg 0x564dd2
mov ebp, dword [esp + 0x20]
xor edx, edx
div dword [ecx]
jmp 0x564df9
xor edx, edx
push ebp
call fcn.0055eba0
add esp, 4
test eax, eax
je 0x564e2a
mov edi, dword [eax + 8]
test edi, edi
jne 0x564e20
mov eax, dword [esp + 0x10]
inc eax
cmp eax, dword [esp + 0x14]
mov dword [esp + 0x10], eax
jl 0x564d80
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
xor edi, edi
jmp 0x564e0d

Function at 0x564e30
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0xc
push ebx
push ebp
push edi
mov edi, dword [esp + 0x1c]
xor ebp, ebp
mov eax, edi
test edi, edi
jne 0x564e46
xor ebx, ebx
jmp 0x564e5f
cmp byte [edi], 0
je 0x564e56
jmp 0x564e50
inc eax
cmp byte [eax], 0
jne 0x564e50
sub eax, edi
and eax, 0x3fffffff
mov ebx, eax
mov edx, dword [ecx + 0x14]
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], edx
test edx, edx
jle 0x564f20
mov ecx, dword [ecx + 0x10]
push esi
mov dword [esp + 0x14], ecx
jmp 0x564e84
mov eax, dword [esp + 0x10]
cmp eax, 2
jge 0x564e8c
xor eax, 1
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x24]
shl eax, 4
mov esi, dword [eax + edx + 0xc]
add eax, edx
test ecx, ecx
je 0x564eb1
mov eax, dword [eax]
push eax
push ecx
call fcn.0055dac0
add esp, 8
test eax, eax
jne 0x564eff
cmp dword [esi + 0x24], 0
lea ecx, [esi + 0x18]
je 0x564ee9
xor eax, eax
mov esi, ebx
mov edx, edi
test ebx, ebx
jle 0x564ee3
movzx edi, byte [edx]
movzx edi, byte [edi + 0x65b518]
lea ebp, [eax*8]
xor edi, ebp
dec esi
xor eax, edi
inc edx
test esi, esi
jg 0x564ec4
mov edi, dword [esp + 0x20]
xor edx, edx
div dword [ecx]
jmp 0x564eeb
xor edx, edx
push edi
call fcn.0055eba0
add esp, 4
test eax, eax
je 0x564f1c
mov ebp, dword [eax + 8]
test ebp, ebp
jne 0x564f12
mov eax, dword [esp + 0x10]
inc eax
cmp eax, dword [esp + 0x18]
mov dword [esp + 0x10], eax
jl 0x564e80
pop esi
pop edi
mov eax, ebp
pop ebp
pop ebx
add esp, 0xc
ret
xor ebp, ebp
jmp 0x564eff
pop edi
mov eax, ebp
pop ebp
pop ebx
add esp, 0xc
ret