joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42e581
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
mov edi, dword [ebp + 0x10]
xor ebx, ebx
test edi, edi
jne 0x42e59e
call fcn.004332cd
mov dword [eax], 0x16
xor eax, eax
jmp 0x42e608
push esi
push 0x8c
push 1
call fcn.0042efb4
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x42e5f3
push esi
call fcn.0042fd4f
mov eax, dword [ebp + 0x14]
or dword [esi + 4], 0xffffffff
mov dword [esi + 0x50], eax
mov eax, dword [ebp + 0x1c]
test eax, eax
pop ecx
mov dword [esi + 0x4c], edi
jne 0x42e5d1
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x18]
push esi
push 0x42e4ec
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x42e607
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
push esi
call fcn.0042dc44
test ebx, ebx
pop ecx
je 0x42e605
push ebx
call fcn.004332df
pop ecx
xor eax, eax
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x42e7f2
Capabilities:
Terminate process

Disassembly:
push 8
push 0x43ef10
call fcn.004303dc
push 8
call fcn.004303ab
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
xor esi, esi
inc esi
cmp dword [0x445f60], esi
jne 0x42e826
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [0x445f5c], esi
mov al, byte [ebp + 0x10]
mov byte [0x445f58], al
cmp dword [ebp + 0xc], edi
jne 0x42e870
cmp dword [0x447790], edi
je 0x42e860
mov eax, dword [0x44778c]
sub eax, 4
mov dword [0x44778c], eax
cmp eax, dword [0x447790]
jb 0x42e860
mov eax, dword [eax]
cmp eax, edi
je 0x42e841
call eax
jmp 0x42e841
push 0x4430b4
mov eax, 0x4430ac
call fcn.0042e770
pop ecx
push 0x4430c0
mov eax, 0x4430b8
call fcn.0042e770
pop ecx
or dword [ebp - 4], 0xffffffff
call 0x42e8a1
cmp dword [ebp + 0x10], edi
jne 0x42e8af
mov dword [0x445f60], esi
push dword [ebp + 8]
call fcn.0042e72e
xor edi, edi
xor esi, esi
inc esi
cmp dword [ebp + 0x10], edi
je 0x42e8ae
push 8
call fcn.004302f6
pop ecx
ret
call fcn.00430417
ret

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

Disassembly:
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x42e915
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.004332df
pop ecx
or eax, 0xffffffff
ret
test al, 1
je 0x42e938
test byte [esp + 8], 2
je 0x42e938
call fcn.004332cd
mov dword [eax], 0xd
call fcn.004332d6
mov dword [eax], 5
jmp 0x42e911
xor eax, eax
ret
Function at 0x42eb60
Capabilities:
Accept command line arguments
Parse pe header
Terminate process

Disassembly:
push 0x60
push 0x43ef20
call fcn.004303dc
mov edi, 0x94
mov eax, edi
call fcn.0042de80
mov dword [ebp - 0x18], esp
mov esi, esp
mov dword [esi], edi
push esi
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov ecx, dword [esi + 0x10]
mov dword [0x445f20], ecx
mov eax, dword [esi + 4]
mov dword [0x445f2c], eax
mov edx, dword [esi + 8]
mov dword [0x445f30], edx
mov esi, dword [esi + 0xc]
and esi, 0x7fff
mov dword [0x445f24], esi
cmp ecx, 2
je 0x42ebc0
or esi, 0x8000
mov dword [0x445f24], esi
shl eax, 8
add eax, edx
mov dword [0x445f28], eax
xor esi, esi
push esi
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
call edi
cmp word [eax], 0x5a4d
jne 0x42ebfb
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42ebfb
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x42ec13
cmp eax, 0x20b
je 0x42ec00
mov dword [ebp - 0x1c], esi
jmp 0x42ec27
cmp dword [ecx + 0x84], 0xe
jbe 0x42ebfb
xor eax, eax
cmp dword [ecx + 0xf8], esi
jmp 0x42ec21
cmp dword [ecx + 0x74], 0xe
jbe 0x42ebfb
xor eax, eax
cmp dword [ecx + 0xe8], esi
setne al
mov dword [ebp - 0x1c], eax
push 1
call fcn.00431d15
pop ecx
test eax, eax
jne 0x42ec3b
push 0x1c
call fcn.0042eb3c
pop ecx
call fcn.0042ff49
test eax, eax
jne 0x42ec4c
push 0x10
call fcn.0042eb3c
pop ecx
call fcn.0043348e
mov dword [ebp - 4], esi
call fcn.00433c82
test eax, eax
jge 0x42ec65
push 0x1b
call fcn.0042eb17
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov dword [0x447784], eax
call fcn.00433b60
mov dword [0x445f68], eax
call fcn.00433abe
test eax, eax
jge 0x42ec8b
push 8
call fcn.0042eb17
pop ecx
call fcn.0043388b
test eax, eax
jge 0x42ec9c
push 9
call fcn.0042eb17
pop ecx
push 1
call fcn.0042e788
pop ecx
mov dword [ebp - 0x28], eax
cmp eax, esi
je 0x42ecb2
push eax
call fcn.0042eb17
pop ecx
mov dword [ebp - 0x44], esi
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call fcn.0043382e
mov dword [ebp - 0x20], eax
test byte [ebp - 0x44], 1
je 0x42ecd3
movzx eax, word [ebp - 0x40]
jmp 0x42ecd6
push 0xa
pop eax
push eax
push dword [ebp - 0x20]
push esi
push esi
call edi
push eax
call fcn.0041ded0
mov edi, eax
mov dword [ebp - 0x2c], edi
cmp dword [ebp - 0x1c], esi
jne 0x42ecf4
push edi
call fcn.0042e8b5
call fcn.0042e8d7
jmp 0x42ed26
or dword [ebp - 4], 0xffffffff
mov eax, edi
lea esp, [ebp - 0x7c]
call fcn.00430417
ret

Function at 0x433516
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x433544
add al, 0x40
mov byte [ebp + 8], al
lea eax, [ebp + 8]
push eax
mov byte [ebp + 9], 0x3a
mov byte [ebp + 0xa], 0x5c
mov byte [ebp + 0xb], 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
test eax, eax
je 0x433549
cmp eax, 1
je 0x433549
xor eax, eax
inc eax
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x428f08
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x50
push ebp
lea eax, [esp + 0x28]
push edi
push eax
call fcn.004290b8
mov ecx, dword [esp + 0x5c]
xor edx, edx
xor ebp, ebp
mov dword [esp + 0xc], 1
mov edi, dword [ecx]
mov dword [esp + 0x10], 8
mov dword [esp + 0x14], 2
mov dword [esp + 0x18], 4
mov dx, word [edi + 0x14]
cmp word [edi + 6], bp
mov dword [esp + 0x1c], 0x10
mov dword [esp + 0x20], 0x80
mov dword [esp + 0x24], 0x20
mov dword [esp + 0x28], 0x40
lea eax, [edx + edi + 0x18]
jbe 0x429006
push ebx
push esi
lea ebx, [eax + 0x24]
mov eax, dword [ebx]
mov ecx, eax
mov edx, eax
shr ecx, 0x1d
shr edx, 0x1e
mov esi, eax
and ecx, 1
and edx, 1
shr esi, 0x1f
test eax, 0x2000000
je 0x428fa9
mov eax, dword [ebx - 0x14]
mov ecx, dword [ebx - 0x1c]
push 0x4000
push eax
push ecx
call dword [esp + 0x4c]
jmp 0x428fec
lea edx, [edx + ecx*2]
test eax, 0x4000000
lea ecx, [esi + edx*2]
mov esi, dword [esp + ecx*4 + 0x14]
je 0x428fc0
or esi, 0x200
mov edx, dword [ebx - 0x14]
mov ecx, edx
test ecx, ecx
jne 0x428fdb
test al, 0x40
je 0x428fd2
mov ecx, dword [edi + 0x20]
jmp 0x428fd9
test al, 0x80
je 0x428fec
mov ecx, dword [edi + 0x24]
test ecx, ecx
jbe 0x428fec
mov ecx, dword [ebx - 0x1c]
lea eax, [esp + 0x10]
push eax
push esi
push edx
push ecx
call dword [esp + 0x44]
mov edx, dword [esp + 0x64]
xor eax, eax
inc ebp
add ebx, 0x28
mov edi, dword [edx]
mov ax, word [edi + 6]
cmp ebp, eax
jl 0x428f78
pop esi
pop ebx
pop edi
pop ebp
add esp, 0x50
ret
Function at 0x405a3d
Capabilities:
Create process on windows

Disassembly:
mov eax, dword [esp + 4]
push eax
and dword [eax + 0x24], 0
mov dword [eax], 0x3c
call dword [sym.imp.shell32.dll_ShellExecuteExW]
ret 4

Function at 0x405b23
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x405b32
pop dword [ebp - 0x4c]
mov eax, 0x405b32
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0x47e4b7c3
sub dword [ebp - 0x5c], 0xf9927278
mov dword [ebp - 0x58], 0xf61db450
add dword [ebp - 0x58], 0x3c1597f5
mov dword [ebp - 0x54], 0x40a2898f
add dword [ebp - 0x54], 0xba9ba9f
mov dword [ebp - 0x50], 0x79f093bc
sub dword [ebp - 0x50], 0x79f093bc
lea eax, [ebp - 0x5c]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0xac36d173
sub dword [ebp - 0x5c], 0x37c4681d
mov dword [ebp - 0x58], 0xd664b066
add dword [ebp - 0x58], 0x6b07b10f
mov dword [ebp - 0x54], 0xb48d65f2
sub dword [ebp - 0x54], 0x511df986
mov dword [ebp - 0x50], 0xa536be0e
add dword [ebp - 0x50], 0x5ac941f2
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, 0x141eb9d8
sub eax, 0x13de395c
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x3497c
push 0
call eax
mov ecx, 0x28180ef5
add ecx, 0xd7e82f60
xor ebx, ebx
add ebx, eax
mov esi, 0x7b80f3de
sub esi, 0x7b3b61de
add esi, dword [ebp - 0x4c]
mov edi, 0x6fe75897
add dword [ebp - 0x10], eax
mov edx, dword [esi]
xor dword [ebp - 0x18], edx
sub edx, edi
mov dword [ebx], edx
sub dword [ebp - 0x40], 0xa988e16c
add ebx, 0x8000fdc9
add ebx, 0x7fff023b
add esi, 0xbcb32561
sub esi, 0xbcb3255d
loop 0x405c46
add eax, 0xec27
xor ebx, ebx
add ebx, eax
add eax, 0xc39a4e4f
sub eax, 0xc39a4e4a
mov ecx, 0x565fb81e
add ecx, 0xa9e047e2
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret

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

Disassembly:
push esi
push edi
push dword [esp + 0xc]
mov esi, 0x42fa70
push esi
call fcn.00406411
push esi
call fcn.00405d91
mov edi, eax
test edi, edi
jne 0x405e0f
xor eax, eax
jmp 0x405e67
push edi
call fcn.004066c0
test byte [0x434f1c], 0x80
je 0x405e2c
mov ax, word [edi]
test ax, ax
je 0x405e0b
cmp ax, 0x5c
je 0x405e0b
sub edi, esi
sar edi, 1
jmp 0x405e46
call fcn.0040676f
test eax, eax
je 0x405e40
test byte [eax], 0x10
je 0x405e0b
push esi
call fcn.00405d32
push esi
call sub.kernel32.dll_lstrlenW
cmp eax, edi
push esi
jg 0x405e32
call fcn.00405ce6
push esi
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop edi
pop esi
ret 4

Function at 0x405ee2
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
push esi
push dword [esp + 8]
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
mov esi, eax
cmp esi, 0xffffffff
je 0x405f01
and al, 0xfe
push eax
push dword [esp + 0xc]
call dword [sym.imp.kernel32.dll_SetFileAttributesW]
mov eax, esi
pop esi
ret 4
Function at 0x4068f3
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x43190c], 0
push esi
jne 0x40692a
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406904
mov dword [ecx*4 + 0x431908], eax
inc ecx
cmp ecx, 0x100
jl 0x4068ff
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x40695b
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x431908]
xor eax, esi
inc ecx
dec edx
jne 0x40693d
pop edi
not eax
pop esi
ret 0xc

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x100013ef
Capabilities:
Check internet connectivity via wininet

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 4], esp
push 0
push 1
push 0x1001e2a8
xor eax, eax
call dword [sym.imp.WININET.dll_InternetCheckConnectionA]
nop
nop
cmp dword [ebp - 4], esp
je 0x10001430
push 0x12
push 0x4013393
push 6
call fcn.100066bd
add esp, 0xc
test eax, eax
je 0x100015cb
mov dword [ebp - 4], 0
push 0
push dword [ebp - 4]
mov dword [ebp - 8], 0
push 0
push dword [ebp - 8]
mov dword [ebp - 0xc], 0
push 0
push dword [ebp - 0xc]
mov dword [ebp - 0x10], 0
push 0
push dword [ebp - 0x10]
mov dword [ebp - 0x14], 0
push 0
lea eax, [ebp - 0x14]
push eax
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x1c], 0
push 0
push dword [ebp - 0x1c]
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], 0
push 0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x2c], 0
push 0
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0x30], 0
push 0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x34], 0
push 0
push dword [ebp - 0x34]
mov eax, str.https:__www.baidu.com_
mov dword [ebp - 0x38], eax
lea eax, [ebp - 0x38]
push eax
call fcn.10001881
mov dword [ebp - 0x3c], eax
mov ebx, dword [ebp - 0x38]
test ebx, ebx
je 0x100014ff
push ebx
call fcn.100066cf
add esp, 4
mov ebx, dword [ebp - 0x30]
test ebx, ebx
je 0x1000150f
push ebx
call fcn.100066cf
add esp, 4
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x1000151f
push ebx
call fcn.100066cf
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x1000152f
push ebx
call fcn.100066cf
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x1000153f
push ebx
call fcn.100066cf
add esp, 4
mov ebx, dword [ebp - 0x20]
test ebx, ebx
je 0x1000154f
push ebx
call fcn.100066cf
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x1000155f
push ebx
call fcn.100066cf
add esp, 4
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x1000156f
push ebx
call fcn.100066cf
add esp, 4
push 0
push 0
push 0
push 0x80000005
push 0
push 0x1001e2d5
push 0x80000005
push 0
mov eax, dword [ebp - 0x3c]
test eax, eax
jne 0x10001594
mov eax, 0x1001e2e9
push eax
push 3
mov ebx, 0x1ac
call fcn.10006b60
add esp, 0x28
mov dword [ebp - 0x40], eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x100015ba
push ebx
call fcn.100066cf
add esp, 4
cmp dword [ebp - 0x40], 0xffffffff
mov eax, 0
setne al
jmp 0x100015d5
mov eax, 0
jmp 0x100015d5
mov esp, ebp
pop ebp
ret
Function at 0x10008070
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push ebp
mov ebp, edx
push esi
push edi
mov esi, ebp
xor edi, edi
and esi, 3
mov eax, ecx
jle 0x10008091
mov dl, byte [eax]
inc eax
cmp dl, bl
je 0x100080eb
inc edi
cmp edi, esi
jl 0x10008085
mov edi, ebx
and edi, 0xff
mov esi, edi
shl esi, 8
or esi, edi
shl esi, 8
or esi, edi
shl esi, 8
or esi, edi
lea edi, [ecx + ebp]
cmp eax, edi
jae 0x10008120
mov edx, dword [eax]
xor edx, esi
lea ebp, [edx - 0x1010101]
not edx
and ebp, edx
test ebp, 0x80808080
je 0x100080da
cmp byte [eax], bl
je 0x100080f5
cmp byte [eax + 1], bl
je 0x100080fe
cmp byte [eax + 2], bl
je 0x10008108
cmp byte [eax + 3], bl
je 0x10008114
add eax, 4
cmp eax, edi
jb 0x100080b1
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
dec eax
pop ebx
ret 4
pop edi
pop esi
pop ebp
sub eax, ecx
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
inc eax
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
add eax, 2
pop ebx
ret 4
pop edi
sub eax, ecx
pop esi
pop ebp
add eax, 3
pop ebx
ret 4
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret 4
Function at 0x4017b0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x804
mov eax, dword [0x415004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0x10]
lea eax, [ebp - 0x804]
push 0x800
push 0
push eax
call fcn.00403110
add esp, 0xc
lea eax, [ebp - 0x804]
test esi, esi
je 0x401800
push 0
push esi
push str.lpCmdLine
push str.ObserverHelp:__s:_s:error_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
jmp 0x401814
push str.lpCmdLine
push str.ObserverHelp:__s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x804]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, esi
call section..text
mov ecx, dword [ebp - 4]
neg eax
pop esi
sbb eax, eax
xor ecx, ebp
neg eax
dec eax
call fcn.00401ccf
mov esp, ebp
pop ebp
ret 0x10
Function at 0x58ace0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x185000]
push edi
jmp 0x58acfa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x58ad01
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x58acf0
mov eax, 1
add ebx, ebx
jne 0x58ad13
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x58ad24
jne 0x58ad43
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x58ad43
dec eax
add ebx, ebx
jne 0x58ad30
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x58ad08
add ebx, ebx
jne 0x58ad3f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x58ad95
xor ecx, ecx
sub eax, 3
jb 0x58ad5b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x58adca
sar eax, 1
mov ebp, eax
jmp 0x58ad66
add ebx, ebx
jne 0x58ad66
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x58ad34
inc ecx
add ebx, ebx
jne 0x58ad74
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x58ad34
add ebx, ebx
jne 0x58ad81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x58ad76
jne 0x58ad92
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x58ad76
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x58adb4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x58ada6
jmp 0x58acf6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x58adb4
add edi, ecx
jmp 0x58acf6
pop esi
mov edi, esi
mov ecx, 0x298
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x58add2
cmp byte [edi], 1
jne 0x58add2
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 al, bl
loop 0x58add7
lea edi, [esi + 0x188000]
mov eax, dword [edi]
or eax, eax
je 0x58ae4f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19d3e4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x19d498]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x58ae04
mov ecx, edi
jns 0x58ae33
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 + 0x19d49c]
or eax, eax
je 0x58ae49
mov dword [ebx], eax
add ebx, 4
jmp 0x58ae21
call dword [esi + 0x19d4ac]
mov ebp, dword [esi + 0x19d4a0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ff]
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 0x58ae83
sub esp, 0xffffff80
jmp 0x4037bf
Function at 0x40be80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4a0610
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [esp + 0x30]
push ebp
push esi
push edi
mov ecx, dword [eax]
push ecx
lea ecx, [esp + 0x10]
call fcn.00495203
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
xor ebp, ebp
call fcn.0040e6b0
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x2c], 1
cmp ecx, 3
ja case.default.0x40bed4
jmp dword [ecx*4 + 0x40c03c]
mov al, byte [esi]
test al, al
je 0x40bf02
cmp al, 0x20
je 0x40beee
cmp al, 0xa1
jne 0x40bf02
cmp byte [esi + 1], al
jne 0x40bf02
test al, 0x80
je 0x40befa
mov al, byte [esi + 1]
inc esi
test al, al
je 0x40bf02
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x40bee1
test ecx, ecx
je case.default.0x40bed4
mov dl, byte [esi]
xor ecx, ecx
test dl, dl
mov eax, esi
je case.default.0x40bed4
mov edi, dword [esp + 0x3c]
mov dl, byte [eax]
test dl, 0x80
je 0x40bf48
cmp dl, 0xa1
jne 0x40bf3c
cmp byte [eax + 1], 0xa1
jne 0x40bf3c
test ecx, ecx
jne 0x40bf34
mov edi, eax
mov ecx, 1
inc eax
jmp 0x40bf5c
mov dl, byte [eax + 1]
inc eax
xor ecx, ecx
test dl, dl
je 0x40bf76
jmp 0x40bf5c
cmp dl, 0x20
jne 0x40bf5a
test ecx, ecx
jne 0x40bf53
mov edi, eax
mov ecx, 1
jmp 0x40bf5c
xor ecx, ecx
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x40bf1c
cmp ecx, 1
jne case.default.0x40bed4
mov dl, byte [edi]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x40bed4
mov dl, byte [eax - 1]
lea edi, [eax - 1]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x40bed4
mov al, byte [esi]
test al, al
je 0x40bfce
test al, 0x80
mov byte [esp + 0x3c], al
je 0x40bfb4
mov cl, byte [esi + 1]
test cl, cl
je 0x40bfce
cmp al, 0xa1
jne 0x40bfa4
cmp cl, al
je 0x40bfb1
mov ax, word [esi]
lea ecx, [esp + 0x10]
push eax
call fcn.0040e940
inc esi
jmp 0x40bfc6
cmp al, 0x20
je 0x40bfc6
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.0040e980
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x40bf8d
push 0
lea ecx, [esp + 0x14]
call fcn.0040e980
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00423d40
mov edx, dword [esp + 0x38]
add esp, 4
test ebp, ebp
mov dword [edx], eax
je 0x40c001
mov al, byte [esp + 0x3c]
mov byte [ebp], al
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x10], 0x4d04f0
call fcn.0040e8b0
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.00495195
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x4180f0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x4a0fdb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00494f0a
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x418172
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.00492156
mov eax, dword [eax]
push 0x4e7be4
push eax
call fcn.0047e3b3
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00495195
test bl, bl
je 0x418172
push 0x4e7be4
lea ecx, [esp + 0xc]
call fcn.00495525
push 0x4e7bf0
lea ecx, [esp + 0xc]
call fcn.00495525
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x4181ae
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00495195
jmp 0x418279
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x418232
lea edx, [esp + 0x7c]
push 0x4e7bec
push edx
call fcn.0047e3b3
add esp, 8
test eax, eax
je 0x418232
lea eax, [esp + 0x7c]
push 0x4e7be8
push eax
call fcn.0047e3b3
add esp, 8
test eax, eax
je 0x418232
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4181c2
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00495195
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x4194f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x419552
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc