joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d5900
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
xor eax, eax
jne 0x4d5909
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
shl edx, 1
mov dword [ebp - 4], edx
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4d594c
mov eax, dword [ebp - 8]
jmp 0x4d59b2
cmp dword [ebp - 0xc], 1
je 0x4d595f
cmp dword [ebp - 0xc], 2
je 0x4d595f
mov eax, 0xd
jmp 0x4d59b2
cmp dword [ebp + 0xc], 0
je 0x4d59a6
cmp dword [ebp - 4], 0
je 0x4d5995
mov eax, dword [ebp - 4]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x4d598c
mov edx, dword [ebp - 4]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x4d5993
mov eax, 0xd
jmp 0x4d59b2
jmp 0x4d59a6
mov edx, 2
imul eax, edx, 0
xor ecx, ecx
mov edx, dword [ebp + 0xc]
mov word [edx + eax], cx
mov eax, dword [ebp - 4]
shr eax, 1
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 0xc

Function at 0x4d59c0
Capabilities:
Access firewall settings via inetfwmgr

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov eax, dword [ebp + 8]
mov dword [eax], 0
lea ecx, [ebp - 0xc]
push ecx
push 0x6a643c
push 1
push 0
push 0x6a6490
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x4d5a1a
mov edx, dword [ebp - 4]
push edx
push 0x69a3dc
call fcn.004cbc00
add esp, 8
jmp 0x4d5a76
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [edx + 0x1c]
call ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x4d5a4a
mov edx, dword [ebp - 4]
push edx
push str.get_LocalPolicy_failed:_0x_08lx_n
call fcn.004cbc00
add esp, 8
jmp 0x4d5a76
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
mov edx, dword [ecx]
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [edx + 0x1c]
call ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jge 0x4d5a76
mov edx, dword [ebp - 4]
push edx
push str.get_CurrentProfile_failed:_0x_08lx_n
call fcn.004cbc00
add esp, 8
cmp dword [ebp - 8], 0
je 0x4d5a8a
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ecx + 8]
call eax
cmp dword [ebp - 0xc], 0
je 0x4d5a9e
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [edx + 8]
call ecx
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4d7a90
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6123eb
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x6c6f60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x238], 0
mov dword [ebp - 4], 1
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.005e2ec0
add esp, 0xc
mov dword [ebp - 0x23c], 0x104
mov dword [ebp - 0x240], 1
push 0x69b498
lea ecx, [ebp - 0x230]
call fcn.0048b540
mov byte [ebp - 4], 2
lea edx, [ebp - 0x234]
push edx
push 0xf003f
push 0
lea ecx, [ebp + 0x10]
call fcn.0047ca20
push eax
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4d7b88
lea ecx, [ebp - 0x23c]
push ecx
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x240]
push eax
push 0
lea ecx, [ebp + 0x28]
call fcn.0047ca20
push eax
mov ecx, dword [ebp - 0x234]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x4d7b7b
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0x230]
call fcn.0047ca60
mov eax, dword [ebp - 0x234]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x230]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0049cd00
mov edx, dword [ebp - 0x238]
or edx, 1
mov dword [ebp - 0x238], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x230]
call fcn.0047caf0
mov byte [ebp - 4], 0
lea ecx, [ebp + 0x10]
call fcn.0047caf0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x28]
call fcn.0047caf0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c950e
mov esp, ebp
pop ebp
ret

Function at 0x4d7bf0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x6c6f60]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x20c], ax
push 0x206
push 0
lea ecx, [ebp - 0x20a]
push ecx
call fcn.005e2ec0
add esp, 0xc
mov dword [ebp - 0x21c], 0x104
mov dword [ebp - 0x218], 1
mov byte [ebp - 0x20d], 0
lea edx, [ebp - 0x214]
push edx
lea ecx, [ebp + 0xc]
call fcn.0047ca20
push eax
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x4d7ca6
lea ecx, [ebp + 0x3c]
call fcn.0048b7c0
shl eax, 1
push eax
lea ecx, [ebp + 0x3c]
call fcn.0047ca20
push eax
mov ecx, dword [ebp - 0x218]
push ecx
push 0
lea ecx, [ebp + 0x24]
call fcn.0047ca20
push eax
mov edx, dword [ebp - 0x214]
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x4d7c99
mov byte [ebp - 0x20d], 1
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov cl, byte [ebp - 0x20d]
mov byte [ebp - 0x20e], cl
lea ecx, [ebp + 0xc]
call fcn.0047caf0
lea ecx, [ebp + 0x24]
call fcn.0047caf0
lea ecx, [ebp + 0x3c]
call fcn.0047caf0
mov al, byte [ebp - 0x20e]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005c950e
mov esp, ebp
pop ebp
ret
Function at 0x4d8b00
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61251b
mov eax, dword fs:[0]
push eax
mov eax, 0x4044
call fcn.005ca540
mov eax, dword [0x6c6f60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x4048], 0
push 0x6764f7
lea ecx, [ebp - 0x403c]
call fcn.0048bf00
mov dword [ebp - 4], 0
xor eax, eax
mov word [ebp - 0x4024], ax
push 0x3ffe
push 0
lea ecx, [ebp - 0x4022]
push ecx
call fcn.005e2ec0
add esp, 0xc
mov dword [ebp - 0x4044], 0
mov dword [ebp - 0x404c], 0
lea edx, [ebp - 0x404c]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x4044], eax
cmp dword [ebp - 0x4044], 0
je 0x4d8c8c
lea ecx, [ebp - 0x4024]
push ecx
mov edx, dword [ebp - 0x4044]
push edx
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x4d8c8c
mov dword [ebp - 0x4040], 0
mov dword [ebp - 0x4050], 0
lea ecx, [ebp - 0x4050]
push ecx
lea edx, [ebp - 0x4040]
push edx
push 0x69b608
lea eax, [ebp - 0x4024]
push eax
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x4d8c8c
mov byte [ebp - 0x24], 0
xor ecx, ecx
mov dword [ebp - 0x23], ecx
mov dword [ebp - 0x1f], ecx
mov dword [ebp - 0x1b], ecx
mov dword [ebp - 0x17], ecx
mov word [ebp - 0x13], cx
mov byte [ebp - 0x11], cl
mov edx, dword [ebp - 0x4040]
mov eax, dword [edx + 0xc]
and eax, 0xffff
movzx ecx, ax
push ecx
mov edx, dword [ebp - 0x4040]
mov eax, dword [edx + 0xc]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
push ecx
mov edx, dword [ebp - 0x4040]
mov eax, dword [edx + 8]
and eax, 0xffff
movzx ecx, ax
push ecx
mov edx, dword [ebp - 0x4040]
mov eax, dword [edx + 8]
shr eax, 0x10
and eax, 0xffff
movzx ecx, ax
push ecx
push 0x69b60c
lea edx, [ebp - 0x24]
push edx
call fcn.004da790
add esp, 0x18
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x403c]
call fcn.004a8ec0
lea ecx, [ebp - 0x403c]
push ecx
mov ecx, dword [ebp + 8]
call fcn.0048be10
mov edx, dword [ebp - 0x4048]
or edx, 1
mov dword [ebp - 0x4048], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x403c]
call fcn.0048bcd0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c950e
mov esp, ebp
pop ebp
ret
Function at 0x4dc5b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x612a76
mov eax, dword fs:[0]
push eax
sub esp, 0x2c4
mov eax, dword [0x6c6f60]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2b4], ecx
xor eax, eax
mov word [ebp - 0x218], ax
push 0x206
push 0
lea ecx, [ebp - 0x216]
push ecx
call fcn.005e2ec0
add esp, 0xc
push 0x104
lea edx, [ebp - 0x218]
push edx
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x248]
push ecx
call fcn.004d8b00
add esp, 8
mov dword [ebp - 0x2b8], eax
mov edx, dword [ebp - 0x2b8]
push edx
mov ecx, 0x6cf428
call fcn.0048bd20
lea ecx, [ebp - 0x248]
call fcn.0048bcd0
call fcn.004d7a40
mov dword [ebp - 0x2bc], eax
cmp dword [ebp - 0x2bc], 0
je 0x4dc66c
mov dword [ebp - 0x2b0], str._64bit
jmp 0x4dc676
mov dword [ebp - 0x2b0], str._32bit
lea eax, [ebp - 0x278]
push eax
call fcn.004d61f0
add esp, 4
mov dword [ebp - 0x2c0], eax
mov ecx, dword [ebp - 0x2c0]
mov dword [ebp - 0x2c4], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x2b0]
push edx
mov eax, dword [ebp - 0x2c4]
push eax
lea ecx, [ebp - 0x260]
push ecx
call fcn.004ca1d0
add esp, 0xc
mov dword [ebp - 0x2c8], eax
mov edx, dword [ebp - 0x2c8]
push edx
mov ecx, 0x6cf410
call fcn.0048bd20
lea ecx, [ebp - 0x260]
call fcn.0048bcd0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x278]
call fcn.0048bcd0
lea eax, [ebp - 0x230]
push eax
call fcn.004d65c0
add esp, 4
mov dword [ebp - 4], 1
push 0
push 0x6a0d94
lea ecx, [ebp - 0x230]
call fcn.0048b6e0
mov dword [ebp - 0x2ac], eax
cmp dword [ebp - 0x2ac], 0xffffffff
jne 0x4dc749
push 0x6a0d7c
mov ecx, 0x6cf3e0
call fcn.004a8ec0
push str.Unknown
mov ecx, 0x6cf3c8
call fcn.004a8ec0
jmp 0x4dc7cb
mov ecx, dword [ebp - 0x2ac]
push ecx
push 0
lea edx, [ebp - 0x290]
push edx
lea ecx, [ebp - 0x230]
call fcn.0048b660
mov dword [ebp - 0x2cc], eax
mov eax, dword [ebp - 0x2cc]
push eax
mov ecx, 0x6cf3c8
call fcn.0048bd20
lea ecx, [ebp - 0x290]
call fcn.0048bcd0
mov ecx, dword [0x6a56f8]
push ecx
mov edx, dword [ebp - 0x2ac]
add edx, 1
push edx
lea eax, [ebp - 0x2a8]
push eax
lea ecx, [ebp - 0x230]
call fcn.0048b660
mov dword [ebp - 0x2d0], eax
mov ecx, dword [ebp - 0x2d0]
push ecx
mov ecx, 0x6cf3e0
call fcn.0048bd20
lea ecx, [ebp - 0x2a8]
call fcn.0048bcd0
call sym.Setup.exe_CreateExportObj
mov dword [0x6cf15c], eax
cmp dword [0x6cf128], 0
jne 0x4dc7f4
push str.UserLogMutex
push 1
push 1
push 0
call dword [sym.imp.KERNEL32.DLL_CreateEventW]
mov dword [0x6cf128], eax
push 0
push 0
mov edx, dword [ebp - 0x2b4]
push edx
push 0x4dccb0
push 0
push 0
call dword [sym.imp.KERNEL32.DLL_CreateThread]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.0048bcd0
mov eax, dword [ebp - 0x2b4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c950e
mov esp, ebp
pop ebp
ret
Function at 0x51ec90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xffffffc0
mov eax, 0x434
call fcn.005ca540
mov eax, dword [0x6c6f60]
xor eax, esp
mov dword [esp + 0x430], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0xc], ebx
test edi, edi
jne 0x51ecd5
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x430]
xor ecx, esp
call fcn.005c950e
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x14]
push eax
push edi
call fcn.005f5b94
add esp, 8
test eax, eax
js 0x51ecbe
mov eax, 8
call fcn.005ca540
xorps xmm0, xmm0
lea eax, [esp + 0x1c]
movsd qword [esp], xmm0
push 0x24
push eax
call fcn.0051e9d0
mov esi, dword [ebp + 0xc]
add esp, 0x10
test esi, esi
je 0x51ecbe
push 0x6a6740
push edi
call fcn.005ec2cc
add esp, 8
mov dword [esp + 0x10], eax
test eax, eax
je 0x51eda0
mov edi, 0x400
test esi, esi
jle 0x51ed33
cmp esi, edi
cmovl edi, esi
push eax
push edi
lea eax, [esp + 0x40]
push 1
push eax
call fcn.005f6105
mov ebx, eax
add esp, 0x10
test ebx, ebx
jle 0x51ed81
movd xmm0, ebx
mov eax, 8
cvtdq2pd xmm0, xmm0
call fcn.005ca540
lea eax, [esp + 0x40]
movsd qword [esp], xmm0
push edi
push eax
call fcn.0051e9d0
add dword [esp + 0x1c], ebx
add esp, 0x10
mov eax, dword [esp + 0x10]
test esi, esi
jle 0x51ed25
sub esi, edi
test esi, esi
jg 0x51ed25
push dword [esp + 0x10]
call fcn.005e7e28
lea eax, [esp + 0x3c]
push 0x400
push eax
call fcn.00438a20
mov ebx, dword [esp + 0x18]
add esp, 0xc
mov ecx, dword [esp + 0x43c]
mov eax, ebx
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.005c950e
mov esp, ebp
pop ebp
ret
Function at 0x5c8cd0
Capabilities:
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x194
mov eax, dword [0x6c6f60]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x194]
push eax
push 0x101
mov esi, ecx
call dword [sym.imp.WS2_32.dll_WSAStartup]
push 0x6a5739
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x5c8d53
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
push dword [eax]
call dword [sym.imp.WS2_32.dll_inet_ntoa]
mov edx, eax
cmp byte [edx], 0
jne 0x5c8d23
xor ecx, ecx
jmp 0x5c8d3a
mov ecx, edx
push ebx
lea ebx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x5c8d30
sub ecx, ebx
pop ebx
push ecx
push edx
mov ecx, esi
call fcn.00491030
cmp edi, esi
je 0x5c8d53
push 0xffffffffffffffff
push 0
push esi
mov ecx, edi
call fcn.004910b0
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.005c950e
mov esp, ebp
pop ebp
ret 4
Function at 0x5cc8eb
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateThread]
pop ebp
ret

Function at 0x601e15
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00601ad8

Function at 0x601e20
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00601c59

Function at 0x606087
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00605d47

Function at 0x40d750
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x9000]
push edi
jmp 0x40d76a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40d771
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40d760
mov eax, 1
add ebx, ebx
jne 0x40d783
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40d778
jne 0x40d794
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40d778
xor ecx, ecx
sub eax, 3
jb 0x40d7a8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40d81a
mov ebp, eax
add ebx, ebx
jne 0x40d7b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40d7c0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40d7e4
inc ecx
add ebx, ebx
jne 0x40d7d0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40d7c5
jne 0x40d7e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40d7c5
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40d804
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40d7f5
jmp 0x40d766
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40d804
add edi, ecx
jmp 0x40d766
pop esi
lea edi, [esi + 0xb000]
mov eax, dword [edi]
or eax, eax
je 0x40d86c
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xd554]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xd610]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40d821
mov ecx, edi
jns 0x40d850
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xd618]
or eax, eax
je 0x40d866
mov dword [ebx], eax
add ebx, 4
jmp 0x40d83e
call dword [esi + 0xd614]
mov ebp, dword [esi + 0xd61c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40d8a0
sub esp, 0xffffff80
jmp 0x403946
Function at 0x10001043
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push 0x1f4
push dword [ebp + 8]
call sub.USER32.dll_LoadIconA
mov dword [0x1000700c], eax
jmp 0x1000106b
mov dword [ebp - 0x30], 0x30
mov dword [ebp - 0x2c], 0x3000
mov dword [ebp - 0x28], 0x10001197
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
push dword [ebp + 8]
pop dword [ebp - 0x1c]
mov dword [ebp - 0x10], 0x10
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0x1000105d
push dword [0x1000700c]
pop dword [ebp - 0x18]
push 0x7f00
push 0
call sub.USER32.dll_LoadCursorA
mov dword [ebp - 0x14], eax
push dword [0x1000700c]
pop dword [ebp - 4]
lea eax, [ebp - 0x30]
push eax
call sub.USER32.dll_RegisterClassExA
mov dword [ebp - 0x50], 0xc0
mov dword [ebp - 0x54], 0x96
push 0
call sub.USER32.dll_GetSystemMetrics
push eax
push dword [ebp - 0x50]
call fcn.10001283
mov dword [ebp - 0x58], eax
push 1
call sub.USER32.dll_GetSystemMetrics
push eax
push dword [ebp - 0x54]
call fcn.10001283
mov dword [ebp - 0x5c], eax
push 0
push dword [ebp + 8]
push 0
push 0
push dword [ebp - 0x54]
push dword [ebp - 0x50]
push dword [ebp - 0x5c]
push dword [ebp - 0x58]
push 0x80000
push str.Animate
push 0x1000105d
push 0
call sub.USER32.dll_CreateWindowExA
mov dword [0x10007004], eax
push 0x258
push dword [ebp + 8]
call sub.USER32.dll_LoadMenuA
push eax
push dword [0x10007004]
call sub.USER32.dll_SetMenu
push 1
push dword [0x10007004]
call sub.USER32.dll_ShowWindow
push dword [0x10007004]
call sub.USER32.dll_UpdateWindow
push 0
push 0
push 0
lea eax, [ebp - 0x4c]
push eax
call sub.USER32.dll_GetMessageA
cmp eax, 0
je 0x10001190
lea eax, [ebp - 0x4c]
push eax
call sub.USER32.dll_TranslateMessage
lea eax, [ebp - 0x4c]
push eax
call sub.USER32.dll_DispatchMessageA
jmp 0x10001168
mov eax, dword [ebp - 0x44]
leave
ret 0x10

Function at 0x100013f0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 8], 1
jne 0x10001404
mov eax, dword [0x1000713c]
mov dword [ebp + 8], eax
mov dword [ebp - 4], 0
jmp 0x10001416
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [0x10007144]
shr edx, 1
cmp dword [ebp - 4], edx
jae 0x1000149b
mov eax, dword [ebp - 4]
mov ecx, dword [0x1000710c]
movzx edx, word [ecx + eax*2]
mov dword [ebp - 0xc], edx
mov eax, dword [ebp - 0xc]
shr eax, 0xc
cmp eax, 3
jne 0x10001496
mov ecx, dword [ebp - 0xc]
and ecx, 0xfff
add ecx, 0x638f
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
sub edx, 0x638f
mov dword [ebp - 8], edx
cmp dword [ebp - 4], 0
jne 0x10001477
push 0x20e
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
je 0x10001477
xor eax, eax
jmp 0x1000149b
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax]
mov edx, dword [ebp - 8]
mov eax, dword [ecx + edx]
add eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0xc]
add edx, dword [ecx]
mov ecx, dword [ebp - 8]
mov dword [edx + ecx], eax
jmp 0x1000140d
mov esp, ebp
pop ebp
ret
Function at 0x100017a0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [0x10007128], 0x24e1
mov eax, dword [0x10007128]
sub eax, 0x24e1
mov dword [0x10007128], eax
mov ecx, 1
test ecx, ecx
je 0x1000186f
mov edx, dword [0x10007128]
cmp edx, dword [ebp + 0xc]
jb 0x100017da
jmp 0x1000186f
cmp dword [0x10007128], 0x7a120
jbe 0x100017fb
push 0x263
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
je 0x100017fb
xor eax, eax
jmp 0x1000186f
cmp dword [0x10007128], 0
jne 0x10001819
push 0x263
push 0
call dword [sym.imp.USER32.dll_LoadIconA]
test eax, eax
je 0x10001819
xor eax, eax
jmp 0x1000186f
mov eax, dword [ebp + 8]
add eax, dword [0x10007128]
mov ecx, dword [eax]
add ecx, dword [0x10007128]
mov edx, dword [ebp + 8]
add edx, dword [0x10007128]
mov dword [edx], ecx
mov dword [ebp - 4], 0x8235
mov eax, dword [0x10007128]
mov ecx, dword [ebp - 4]
lea edx, [ecx + eax + 2]
push edx
mov eax, dword [ebp + 8]
add eax, dword [0x10007128]
push eax
call fcn.100015c0
add esp, 8
mov ecx, dword [0x10007128]
add ecx, 4
mov dword [0x10007128], ecx
jmp 0x100017bd
mov esp, ebp
pop ebp
ret
Function at 0x10001e00
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
push 0x19c
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
je 0x10001e25
xor eax, eax
jmp 0x10001e7c
push 0x7f00
push 0
call dword [sym.imp.USER32.dll_LoadIconW]
test eax, eax
jne 0x10001e3a
xor eax, eax
jmp 0x10001e7c
push ebp
mov eax, eax
mov eax, eax
mov eax, eax
mov eax, eax
mov eax, eax
mov eax, eax
mov eax, eax
mov eax, eax
mov eax, eax
mov eax, eax
mov eax, eax
mov eax, eax
mov eax, eax
mov eax, eax
mov eax, eax
mov eax, eax
mov eax, eax
mov eax, eax
mov eax, eax
mov eax, eax
mov eax, eax
mov eax, eax
mov eax, eax
mov eax, eax
mov eax, eax
mov eax, eax
mov eax, eax
mov eax, eax
mov eax, eax
mov eax, eax
call fcn.10001880
mov esp, ebp
pop ebp
ret

Function at 0x10001ef0
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], 0x3000
mov dword [ebp - 4], 0x40
mov dword [ebp - 8], 0
push str.VirtualAlloc
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10007120], eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 8]
push eax
call dword [0x10007120]
mov esp, ebp
pop ebp
ret