joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10035610
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10081cb8
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x10035649
inc eax
mov dword [esi + 0x10], eax
jmp 0x1003575c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x1003565d
mov eax, 0xffffffc7
jmp 0x1003575e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x1003566e
cmp dword [esi + 8], eax
jne 0x1003565d
cmp dword [esi + 8], eax
jne 0x10035687
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x10035687
mov eax, 0xffffffc7
jmp 0x1003575e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x1003569b
push eax
mov ecx, ebx
call fcn.10034e40
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.1000a810
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x100356cc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.1000a830
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.100345b0
test eax, eax
mov dword [esp + 0x38], eax
je 0x100356ff
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x100fae98
call fcn.1000aa10
mov eax, dword [esp + 0x38]
jmp 0x1003575e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.10035470
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x10035743
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.10035490
mov esi, eax
test esi, esi
jne 0x10035773
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.10035470
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x10035715
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x100fae98
call fcn.1000aa10
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x100fae98
call fcn.1000aa10
mov eax, esi
jmp 0x1003575e

Function at 0x1003a120
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x1003a180
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x1003a180
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x1003a180
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x1003a180
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x1003a1c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x10045d00
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100825a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.1007b65c
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.10045660
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.1007b58a
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.10077e62
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.10077e62
push 1
push 0
push 0
mov ecx, esi
call fcn.10077e0a
push 1
push 0
push 1
mov ecx, esi
call fcn.10077e0a
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.1007b6ce
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x10045e80
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x100825c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.1007b65c
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.10045660
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.1007b58a
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x10045f44
cmp dword [esp + 0x40], 1
jne 0x10045f42
cmp ecx, eax
jge 0x10045f44
mov eax, ecx
cmp eax, 0xc8
jge 0x10045f50
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.10045d00
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.1007b6ce
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x10046740
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x10082673
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.1007629c
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.1007b904
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.1007ce20
test eax, eax
je 0x1004685c
mov ecx, dword [esp + 0x3c]
call fcn.1007b931
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x10046820
push edi
mov ecx, esi
call fcn.10078f7d
mov ecx, esi
call fcn.10046a00
cmp dword [esp + 0x38], 1
jne 0x10046855
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.100790b8
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x10048a40
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x10048a73
push esi
call fcn.10056e00
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x10048a6c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x10048af9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x10048ae2
mov eax, dword [esi + 8]
test eax, eax
je 0x10048a97
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x10048ade
cmp eax, 2
je 0x10048ae2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x10048a8a
cmp eax, 3
je 0x10048abd
cmp eax, 1
jne 0x10048a8a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x10048a8a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x10048a8a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.10048b20
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x10048b08
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.10048b20
add esp, 4
pop esi
ret

Function at 0x100493a0
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x100493c1
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x100493c1
mov eax, dword [eax + 0x44]
test eax, eax
je 0x100493c1
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x10049810
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov ecx, dword [esp + 8]
test ecx, ecx
jne 0x1004981b
xor eax, eax
ret
mov eax, dword [esp + 4]
push ebx
push esi
mov esi, dword [esp + 0x14]
cmp esi, 8
not eax
jb 0x1004991e
push edi
mov edi, esi
shr edi, 3
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
mov ebx, eax
shr ebx, 8
mov eax, dword [edx*4 + 0x100fcb58]
sub esi, 8
xor eax, ebx
inc ecx
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x100fcb58]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x100fcb58]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x100fcb58]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x100fcb58]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov edx, dword [edx*4 + 0x100fcb58]
shr eax, 8
xor edx, eax
inc ecx
mov eax, edx
and eax, 0xff
xor eax, ebx
xor ebx, ebx
mov bl, byte [ecx + 1]
mov eax, dword [eax*4 + 0x100fcb58]
shr edx, 8
xor eax, edx
inc ecx
mov edx, eax
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x100fcb58]
xor eax, edx
inc ecx
dec edi
jne 0x10049836
pop edi
test esi, esi
je 0x10049940
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
shr eax, 8
mov edx, dword [edx*4 + 0x100fcb58]
xor eax, edx
inc ecx
dec esi
jne 0x10049922
pop esi
pop ebx
not eax
ret
Function at 0x10077078
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x100770b0
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.10075149
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.10075121
jmp 0x100770bc
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x10078766
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x100787a8
call fcn.1007e100
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x100787a8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x1007879f
xor eax, eax
jmp 0x100787b0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.100787b6
pop edi
pop esi
pop ebx
ret 4
Function at 0x10010e0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
lea eax, [ebp - 4]
push eax
push 0x20019
xor ebx, ebx
push ebx
push 0x1001168
push 0x80000002
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1001145
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push ebx
push 0x100114c
push dword [ebp - 4]
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100113c
cmp dword [ebp - 8], 0xd2af9
sete bl
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
pop ebx
leave
ret

Function at 0x1001676
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push esi
xor esi, esi
cmp dword [ebp + 8], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x14], esi
mov byte [ebp - 1], 1
je 0x10016ad
push 0x10017b4
push dword [ebp + 8]
call fcn.010011c6
test eax, eax
pop ecx
pop ecx
jne 0x10019ac
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
lea eax, [ebp - 8]
push eax
push 3
push esi
mov edi, 0x1001728
push edi
mov esi, 0x80000001
push esi
call ebx
test eax, eax
jne 0x10019ca
push 4
pop esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x1001780
push dword [ebp - 8]
mov dword [ebp - 0xc], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1001707
cmp dword [ebp - 0x10], esi
jne 0x1001707
cmp dword [ebp - 0x14], 1
jne 0x1001707
mov byte [ebp - 1], 0
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 8], 0
cmp byte [ebp - 1], 0
jne 0x10019de
mov al, byte [ebp - 1]
pop edi
pop ebx
pop esi
leave
ret 4
xor al, al
jmp 0x1001723
lea eax, [ebp - 8]
push eax
push 1
push 0
push edi
push esi
call ebx
test eax, eax
je 0x1001703
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
push 0x1001a40
push 0x80000002
call ebx
test eax, eax
jne 0x100171e
push 4
pop esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x1001aa0
push dword [ebp - 8]
mov dword [ebp - 0xc], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1001a31
cmp dword [ebp - 0x10], esi
jne 0x1001a31
cmp dword [ebp - 0x14], 1
jne 0x1001a31
mov byte [ebp - 1], al
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100171e

Function at 0x100191d
Capabilities:
Accept command line arguments
Check mutex and terminate process on windows
Check mutex on windows
Create process on windows
Link many functions at runtime
Query environment variable
Query or enumerate registry value
Set current directory
Terminate process

Disassembly:
call fcn.01001927
jmp fcn.0100122f
Function at 0x1002408
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1003040]
jne 0x1002419
test ecx, 0xffff0000
jne 0x1002419
ret
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x320
push edi
mov dword [0x1003150], eax
mov dword [0x100314c], ecx
mov dword [0x1003148], edx
mov dword [0x1003144], ebx
mov dword [0x1003140], esi
mov dword [0x100313c], edi
mov word [0x1003168], ss
mov word [0x100315c], cs
mov word [0x1003138], ds
mov word [0x1003134], es
mov word [0x1003130], fs
mov word [0x100312c], gs
pushfd
pop dword [0x1003160]
mov eax, dword [ebp + 4]
lea ecx, [ebp + 4]
add ecx, 4
mov dword [0x1003164], ecx
mov dword [0x1003158], eax
mov dword [0x10030a0], 0x10001
lea ecx, [ebp + 4]
mov ecx, dword [ecx - 4]
mov dword [0x100305c], eax
mov eax, dword [0x1003040]
xor edi, edi
mov dword [0x1003154], ecx
mov dword [0x1003050], 0xc0000409
inc edi
mov dword [0x1003054], edi
mov dword [ebp - 4], eax
mov eax, dword [0x1003044]
mov dword [ebp - 4], eax
push 0
call dword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
push 0x10024fc
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
push 0xc0000409
mov dword [ebp - 0x320], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop edi
leave
ret
Function at 0x48c8f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6d000]
push edi
or ebp, 0xffffffff
jmp 0x48c912
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x48c919
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48c908
mov eax, 1
add ebx, ebx
jne 0x48c92b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x48c93c
jne 0x48c94c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x48c94c
dec eax
add ebx, ebx
jne 0x48c948
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x48c920
xor ecx, ecx
sub eax, 3
jb 0x48c964
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x48c9d6
sar eax, 1
mov ebp, eax
jmp 0x48c96f
add ebx, ebx
jne 0x48c96f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x48c97c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x48c9a0
inc ecx
add ebx, ebx
jne 0x48c98c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x48c981
jne 0x48c99d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x48c981
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x48c9c0
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x48c9b1
jmp 0x48c90e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x48c9c0
add edi, ecx
jmp 0x48c90e
pop esi
mov edi, esi
mov ecx, 0x48d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x48c9de
cmp byte [edi], 5
jne 0x48c9de
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x48c9e3
lea edi, [esi + 0x8a000]
mov eax, dword [edi]
or eax, eax
je 0x48ca5b
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d0cc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8d108]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x48ca10
mov ecx, edi
jns 0x48ca3f
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 + 0x8d10c]
or eax, eax
je 0x48ca55
mov dword [ebx], eax
add ebx, 4
jmp 0x48ca2d
call dword [esi + 0x8d110]
popal
jmp 0x405ce8
Function at 0x403137
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x449410]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x4031b2
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov edi, 0x105
lea eax, [ebp - 0x10c]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
jne 0x4031b9
cmp dword [ebp + 0x10], ebx
jne 0x4031a6
lea eax, [ebp - 0x10c]
push ebx
push eax
push dword [ebp - 4]
call fcn.00403137
test eax, eax
jne 0x4031b9
lea eax, [ebp - 0x10c]
push edi
push eax
push ebx
push dword [ebp - 4]
jmp 0x403179
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 1
pop eax
pop edi
pop esi
pop ebx
leave
ret 0xc
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 2
call fcn.0040699d
cmp eax, ebx
je 0x4031de
push ebx
push dword [0x449410]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x4031b2
cmp dword [0x449410], ebx
jne 0x4031af
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x4031af
jmp 0x4031b2
Function at 0x40361c
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
cmp eax, edi
jl 0x403649
mov ecx, dword [0x4493b8]
push edi
add eax, ecx
push edi
push eax
mov dword [0x4214fc], eax
push dword [0x40a6b0]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 4
pop esi
push esi
call fcn.00403747
cmp eax, edi
jl 0x403740
lea eax, [ebp - 4]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
push eax
lea eax, [ebp + 8]
push esi
push eax
push dword [0x40a6b0]
call ebx
test eax, eax
je 0x40373d
cmp dword [ebp - 4], esi
jne 0x40373d
push dword [ebp + 8]
add dword [0x4214fc], esi
call fcn.00403747
cmp eax, edi
mov dword [ebp - 8], eax
jl 0x403740
cmp dword [ebp + 0x10], edi
jne 0x40370c
cmp dword [ebp + 8], edi
jle 0x403738
mov esi, 0x41d4f8
mov edi, 0x4000
cmp dword [ebp + 8], edi
jge 0x4036bc
mov edi, dword [ebp + 8]
lea eax, [ebp - 4]
push 0
push eax
push edi
push esi
push dword [0x40a6b0]
call ebx
test eax, eax
je 0x40373d
cmp edi, dword [ebp - 4]
jne 0x40373d
lea eax, [ebp + 0x14]
push 0
push eax
push dword [ebp - 4]
push esi
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x403708
cmp dword [ebp + 0x14], edi
jne 0x403708
mov eax, dword [ebp - 4]
add dword [ebp - 8], eax
sub dword [ebp + 8], eax
add dword [0x4214fc], eax
cmp dword [ebp + 8], 0
jg 0x4036af
jmp 0x403738
push 0xfffffffffffffffe
jmp 0x40373f
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x14]
jl 0x403717
mov eax, dword [ebp + 0x14]
lea ecx, [ebp - 4]
push edi
push ecx
push eax
push dword [ebp + 0x10]
push dword [0x40a6b0]
call ebx
test eax, eax
je 0x40373d
mov eax, dword [ebp - 4]
add dword [0x4214fc], eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
jmp 0x403740
push 0xfffffffffffffffd
pop eax
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x403747
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [0x4214fc]
sub esi, dword [0x415468]
push edi
add esi, dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor ebx, ebx
add eax, 0x1f4
cmp esi, ebx
mov dword [0x44936c], eax
jle 0x4038af
push dword [0x42950c]
call fcn.004038f8
push ebx
push ebx
push dword [0x415468]
push dword [0x40a6b0]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
mov dword [0x429508], esi
mov dword [0x4214f8], ebx
mov ebp, 0x4154f8
mov eax, dword [0x421500]
mov edi, 0x4000
sub eax, dword [0x42950c]
cmp eax, edi
jg 0x4037bc
mov edi, eax
mov esi, 0x41d4f8
push edi
push esi
call fcn.004038c6
test eax, eax
je 0x403897
add dword [0x42950c], edi
mov dword [0x415488], esi
mov dword [0x41548c], edi
cmp dword [0x449370], ebx
je 0x403813
cmp dword [0x449400], ebx
jne 0x403813
mov eax, dword [0x429508]
push ebx
sub eax, dword [0x4214fc]
sub eax, dword [esp + 0x1c]
add eax, dword [0x415468]
mov dword [0x4214f8], eax
call fcn.004032e0
pop ecx
mov ecx, 0x415470
mov dword [0x415490], ebp
mov dword [0x415494], 0x8000
call fcn.00406aab
test eax, eax
jl 0x4038c1
mov esi, dword [0x415490]
sub esi, ebp
je 0x403871
lea eax, [esp + 0x10]
push ebx
push eax
push esi
push ebp
push dword [0x40a6b0]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x40389c
cmp esi, dword [esp + 0x10]
jne 0x40389c
add dword [0x415468], esi
cmp dword [0x41548c], ebx
jne 0x4037e2
jmp 0x40387d
cmp dword [0x41548c], ebx
jne 0x4038c1
cmp edi, ebx
je 0x4038c1
mov eax, dword [0x4214fc]
mov ecx, eax
sub ecx, dword [0x415468]
add ecx, dword [esp + 0x18]
test ecx, ecx
jle 0x4038a0
jmp 0x4037a6
or eax, 0xffffffff
jmp 0x4038b9
push 0xfffffffffffffffe
jmp 0x4038c3
push ebx
push ebx
push eax
push dword [0x40a6b0]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 1
call fcn.004032e0
pop ecx
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 4
push 0xfffffffffffffffd
pop eax
jmp 0x4038b9