joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48ee70
Capabilities:
Access peb ldr_data
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x49f893
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x198
mov eax, dword [0x4d757c]
push ebx
push ebp
push esi
mov esi, ecx
mov dword [esp + 0x1a0], eax
push edi
mov dword [esp + 0x10], esi
mov dword [esi], 0x4c3f90
xor ebx, ebx
mov dword [esp + 0x1b0], ebx
lea ecx, [esi + 0xc]
mov dword [esi], 0x4c3fbc
call fcn.0048fb30
mov byte [esp + 0x1b0], 1
lea edi, [esi + 0x48]
mov ecx, edi
call fcn.00453350
mov byte [esp + 0x1b0], 2
lea ebp, [esi + 0x4c]
mov ecx, ebp
call fcn.00453350
mov byte [esp + 0x1b0], 3
mov eax, 5
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], eax
mov byte [esp + 0x1b0], 4
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x78], ebx
mov dword [esi + 0x7c], eax
mov byte [esp + 0x1b0], al
lea eax, [esi + 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [esp + 0x1b0], 6
lea eax, [esi + 0x98]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [esp + 0x1b0], 7
lea eax, [esi + 0x20]
mov dword [esi + 4], ebx
mov dword [esi + 8], 0xffffffff
mov byte [esi + 0x30], bl
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
xor ecx, ecx
mov edx, eax
mov dword [edx], ecx
mov dword [edx + 4], ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], ecx
mov word [eax], 2
lea eax, [esp + 0x14]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
push ebx
push 1
mov ecx, edi
call fcn.0048d770
push ebx
push 1
mov ecx, ebp
call fcn.0048d770
mov dword [esi + 0x44], ebx
mov dword [esp + 0x1b0], 0xffffffff
mov ecx, dword [esp + 0x1a8]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x198]
pop ebx
call fcn.0045a4fd
add esp, 0x1a4
ret
Function at 0x48f0d0
Capabilities:
Connect socket
Get socket status
Set socket configuration

Disassembly:
sub esp, 0x218
push ebx
push ebp
mov ebp, dword [sym.imp.WS2_32.dll_ioctlsocket]
push esi
mov esi, ecx
mov eax, dword [esi + 8]
lea ecx, [esp + 0xc]
push ecx
push 0x8004667e
mov ebx, 1
push eax
mov dword [esp + 0x18], ebx
call ebp
test eax, eax
jne 0x48f11f
mov eax, dword [esi + 8]
push 0x10
lea edx, [esi + 0x20]
push edx
push eax
call dword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x48f12b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2733
je 0x48f12b
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x218
ret
push edi
xor edi, edi
mov dword [esp + 0x10], edi
mov eax, dword [esi + 8]
cmp eax, 0xffffffff
je 0x48f1d9
xor ecx, ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x12c]
push edx
mov dword [esp + 0x134], eax
mov dword [esp + 0x30], eax
push 0
inc eax
push eax
mov dword [esp + 0x138], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], 0x7a120
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jl 0x48f1d9
mov ecx, dword [esi + 8]
lea eax, [esp + 0x20]
push eax
push ecx
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
jne 0x48f1d9
mov eax, dword [esi + 8]
lea edx, [esp + 0x124]
push edx
push eax
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x48f1c7
mov edx, dword [esi + 8]
lea ecx, [esp + 0x1c]
push ecx
push 0x8004667e
push edx
mov edi, ebx
mov dword [esp + 0x28], 0
call ebp
mov eax, dword [esp + 0x10]
inc eax
cmp eax, 0x28
mov dword [esp + 0x10], eax
jl 0x48f132
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x218
ret
Function at 0x48f4b0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f910
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x614
mov eax, dword [0x4d757c]
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x60c], ebx
xor edi, edi
mov dword [ebp - 0x604], edi
mov dword [ebp - 0x608], edi
xor esi, esi
mov dword [ebp - 0x600], esi
lea ebx, [ebx]
mov al, byte [ebx + 0x30]
test al, al
je 0x48f544
mov dword [ebp - 4], edi
push edi
push 0x5e8
lea eax, [ebp - 0x5fc]
push eax
mov ecx, dword [ebx + 8]
push ecx
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0x610], eax
cmp eax, edi
jg 0x48f566
mov byte [ebx + 0x30], 0
mov ebx, dword [ebx + 4]
cmp ebx, edi
je 0x48f53d
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 8]
mov dword [ebp - 4], 0xffffffff
push esi
call sub.MFC71U.DLL_CNoTrackObject::operator_new
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
call fcn.0045a4fd
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [ebx + 0xc]
push eax
lea eax, [ebp - 0x5fc]
push eax
call fcn.00490440
cmp esi, edi
jne 0x48f5c8
mov dword [ebp - 0x620], 0x802
push 0x802
call sub.MFC71U.DLL_CWordArray::CWordArray
add esp, 4
mov edx, eax
mov dword [ebp - 0x61c], edx
cmp edx, edi
je 0x48f5ac
mov ecx, 0x200
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
jmp 0x48f5ae
xor edx, edx
mov esi, edx
mov dword [ebp - 0x600], esi
xor edi, edi
cmp esi, edi
jne 0x48f5c8
mov dword [ebp - 4], 0xffffffff
jmp 0x48f500
mov dword [ebp - 0x604], edi
mov edi, edi
lea ecx, [ebp - 0x608]
push ecx
lea edx, [ebp - 0x604]
push edx
push 0x800
push esi
lea ecx, [ebx + 0xc]
call fcn.0048fd90
cmp eax, 1
jne 0x48f696
mov ax, word [ebp - 0x604]
mov word [esi + 0x800], ax
lea edi, [ebx + 0x98]
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push esi
lea ecx, [ebx + 0x68]
call fcn.0048f1f0
lea ecx, [ebx + 0x48]
call fcn.0048d7f0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x600], 0
mov dword [ebp - 0x614], 0x802
push 0x802
call sub.MFC71U.DLL_CWordArray::CWordArray
add esp, 4
mov edx, eax
mov dword [ebp - 0x618], edx
test edx, edx
je 0x48f664
mov ecx, 0x200
xor eax, eax
mov edi, edx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
jmp 0x48f666
xor edx, edx
mov esi, edx
mov dword [ebp - 0x600], esi
test esi, esi
jne 0x48f5d0
mov dword [ebp - 4], 0xffffffff
xor edi, edi
jmp 0x48f500
mov dword [ebp - 4], 0xffffffff
xor edi, edi
jmp 0x48f500
Function at 0x48f7d0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49f930
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], 0
lea ecx, [ecx]
mov al, byte [ebx + 0x30]
test al, al
je 0x48f8f6
mov dword [ebp - 4], 0
mov eax, dword [ebx + 0x50]
mov dword [ebp - 0x20], eax
test eax, eax
jne 0x48f826
push 0xffffffffffffffff
lea ecx, [ebx + 0x4c]
call fcn.0048d7c0
lea edi, [ebx + 0x50]
mov eax, dword [edi]
mov dword [ebp - 0x24], eax
lea esi, [ebx + 0x80]
push esi
test eax, eax
jle 0x48f89f
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, edi
call fcn.0048f260
mov edi, eax
mov dword [ebp - 0x14], edi
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
je 0x48f88a
cmp dword [ebx + 8], 0xffffffff
je 0x48f88a
xor esi, esi
mov dword [ebp - 0x18], esi
movzx eax, word [edi + 0x800]
cmp esi, eax
jge 0x48f88a
push 0
sub eax, esi
push eax
lea eax, [esi + edi]
push eax
mov ecx, dword [ebx + 8]
push ecx
call dword [sym.imp.WS2_32.dll_send]
mov dword [ebp - 0x28], eax
test eax, eax
jl 0x48f88a
add esi, eax
jmp 0x48f85e
mov dword [ebp - 0x2c], edi
push edi
call sub.MFC71U.DLL_CNoTrackObject::operator_new
add esp, 4
mov dword [ebp - 0x14], 0
jmp 0x48f826
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebx + 0x50]
mov dword [ebp - 0x30], eax
test eax, eax
jne 0x48f8b7
lea ecx, [ebx + 0x4c]
call fcn.0048d800
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 4], 0xffffffff
jmp 0x48f800
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x490f90
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x49fa88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
push ebx
push esi
push edi
xor ebx, ebx
xor eax, eax
mov byte [esp + 0x44], bl
mov ecx, 0x10
lea edi, [esp + 0x45]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x24]
call fcn.0048af50
lea ecx, [esp + 0x24]
mov dword [esp + 0x90], ebx
call fcn.0048d120
push ebx
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x2c]
call fcn.0048d340
push 1
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x2c]
call fcn.0048d340
xor edx, edx
mov dword [esp + 0x31], edx
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x39], edx
lea ecx, [esp + 0x48]
mov dword [esp + 0x3d], edx
push 0x40
push ecx
mov byte [esp + 0x3c], bl
mov dword [esp + 0x49], edx
call fcn.0047b990
mov cx, word [esp + 0x40]
mov esi, dword [esp + 0x42]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x24], ebx
mov word [esp + 0x24], cx
mov cx, word [esp + 0x46]
mov dword [esp + 0x1c], ebx
mov word [esp + 0x1c], cx
mov ecx, dword [esp + 0x48]
mov edi, dword [esp + 0x1c]
xor ecx, esi
xor eax, eax
xor ecx, edx
mov edx, dword [esp + 0x24]
xor eax, edi
xor eax, edx
mov esi, ecx
mov edi, eax
shld edi, esi, 8
add esp, 0xc
lea ecx, [esp + 0x24]
mov dword [esp + 0x14], ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x1c], ebx
shl esi, 8
mov dword [esp + 0x90], 0xffffffff
call fcn.0048ade0
mov ecx, dword [esp + 0x88]
mov edx, edi
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x88
ret
Function at 0x4029d8
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov esi, edx
mov ebx, eax
test bl, bl
je 0x402a15
xor eax, eax
mov al, bl
add eax, 0x41
dec eax
mov byte [esp], al
mov byte [esp + 1], 0x3a
mov byte [esp + 2], 0
lea eax, [esp + 0x109]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
push esp
call sub.kernel32.dll_SetCurrentDirectoryA
lea eax, [esp + 4]
push eax
push 0x105
call sub.kernel32.dll_GetCurrentDirectoryA
test bl, bl
je 0x402a35
lea eax, [esp + 0x109]
push eax
call sub.kernel32.dll_SetCurrentDirectoryA
mov eax, esi
lea edx, [esp + 4]
mov ecx, 0x105
call fcn.004045fc
add esp, 0x210
pop esi
pop ebx
ret

Function at 0x402bfc
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.0040438c
test esi, esi
jne 0x402c32
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.0040447c
jmp 0x402c50
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402ab0
mov edi, eax
test esi, esi
je 0x402c50
cmp dword [ebx], 0
je 0x402c50
dec esi
jmp 0x402c39
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4033c8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x514020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403460
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403440
xor eax, eax
push ebp
push 0x403439
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x40347c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403440
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x514020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x514020], ax
mov esp, ebp
pop ebp
ret

Function at 0x40416c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x51804c], 0
je 0x4041cd
cmp word [0x518220], 0xd7b2
jne 0x404195
cmp dword [0x518228], 0
jbe 0x404195
mov eax, 0x51821c
call dword [0x518238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x51406c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4041f4
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x514030], 0
jne 0x4041e9
push 0
push 0x514064
push 0x51406c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x404340
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.004027fc
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x51804d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x404308
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x406468
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x4064ce
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.004045fc
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402f28
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4064b8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4064d5
lea eax, [ebp - 0x10]
call fcn.0040438c
ret

Function at 0x409270
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0040484c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x409289
test al, 0x10
jne 0x40928d
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40c168
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40c1a1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.0040447c
jmp 0x40c1aa
mov eax, ebx
mov edx, esi
call fcn.004043e0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40c1b4
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40c1d5
mov al, byte [esp]
jmp 0x40c1d7
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40d1ec
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40d2c2
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404424
lea eax, [ebp - 8]
call fcn.0040489c
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040484c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d2ac
mov eax, ebx
call fcn.004027fc
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d2a5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040484c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d28f
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d2d4
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d28f
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d2ac
mov eax, dword [ebp - 0x10]
call fcn.0040281c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d2c9
lea eax, [ebp - 8]
call fcn.0040438c
ret
Function at 0x40d8c4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40d928
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004045fc
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408ed0
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d92f
lea eax, [ebp - 0xc]
call fcn.0040438c
ret

Function at 0x425808
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.00425634
dec esi
jne 0x42582a
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x42696c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x51888c
cmp dword [edi], 0
jne 0x4269e8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x518888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x5145cc
mov ecx, 2
call fcn.00402a70
mov edx, 0x426944
lea eax, [esi + 5]
call fcn.00426964
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00426964
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x4269bd
mov dword [0x518888], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x42803c
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x428042
ret

Function at 0x42a794
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x42a7e5
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42a7cc
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42a7bc
jmp 0x42a7e5
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x42a7cd
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4363ec
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.0040483c
xor eax, eax
push ebp
push 0x43651a
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x4364ed
xor eax, eax
push ebp
push 0x4364e6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040464c
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x4364bb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x4364aa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040464c
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.0040484c
mov edx, ebx
pop ecx
call fcn.00402a70
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4364b1
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x5174e8]
mov dl, 1
mov eax, dword [0x407b30]
call fcn.0040ca10
call fcn.00403d24
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x436521
lea eax, [ebp - 4]
call fcn.0040438c
ret
Function at 0x436528
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4366d9
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404a3c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x4366f0
call fcn.00404698
mov eax, ebx
call fcn.00425f00
mov edi, eax
dec edi
test edi, edi
jl 0x4365e0
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00425ed4
mov edx, dword [0x4599e0]
call fcn.004036e4
test al, al
je 0x4365dc
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00425ed4
lea edx, [ebp - 0x14]
call fcn.00464460
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404a3c
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040470c
inc esi
dec edi
jne 0x43658e
mov al, byte [0x4366f4]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x436700
mov eax, dword [ebp - 0xc]
call fcn.0040de9c
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404424
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.00464460
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x4366f0
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.00464460
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x4366f0
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x4366f0
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x43670c
call fcn.00409ebc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4366e0
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004043b0
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004043b0
lea eax, [ebp - 0x14]
call fcn.0040438c
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004043b0
ret