joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402fc0
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440a66
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x452040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp byte [0x453771], 0
jne 0x4030c4
mov byte [0x453771], 1
call fcn.00405300
push str.Dumping_modules...
push 0x75
push str.C:packagesIGOProxydev_774277_sourceHelpers.cpp
push eax
call fcn.004052c0
add esp, 0x10
push 0
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x4030c4
push 0x428
lea eax, [ebp - 0x438]
push 0
push eax
call fcn.00423140
add esp, 0xc
mov dword [ebp - 0x438], 0x428
lea eax, [ebp - 0x438]
push eax
push esi
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x4030bd
mov ecx, dword [0x454264]
mov eax, dword fs:[0x2c]
mov edi, dword [eax + ecx*4]
nop
mov eax, dword [0x453a10]
cmp eax, dword [edi + 4]
jg 0x4030df
push dword [ebp - 0x420]
lea eax, [ebp - 0x418]
push dword [ebp - 0x424]
push eax
push str.Module:__S__base0x_p__imageSize0x_08x
push 0x8a
push str.C:packagesIGOProxydev_774277_sourceHelpers.cpp
push 0x453790
call fcn.004052c0
add esp, 0x1c
lea eax, [ebp - 0x438]
push eax
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x403070
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00421ea0
mov esp, ebp
pop ebp
ret
push 0x453a10
call fcn.00421e3c
add esp, 4
cmp dword [0x453a10], 0xffffffff
jne 0x40307d
mov dword [ebp - 4], 0
xorps xmm0, xmm0
push 0x102
push 0x4539dc
mov dword [0x4539d8], 0
mov dword [ebp - 0x43c], 0x4539dc
mov dword [0x4539dc], 0
mov dword [0x4539e0], 0
mov dword [0x4539e4], 0
movups xmmword [0x4539e8], xmm0
mov dword [0x453a00], 0
movq qword [0x4539f8], xmm0
mov dword [0x453a04], 0
mov dword [0x453a08], 0
call fcn.00408ac4
mov byte [ebp - 4], 2
push 0x40
push 0
push 0x453998
mov byte [0x453a0c], 0
call fcn.00423140
mov byte [ebp - 4], 0
push 0x442420
call fcn.00421bae
mov dword [ebp - 4], 0xffffffff
push 0x453a10
call fcn.00421deb
add esp, 0x1c
jmp 0x40307d

Function at 0x4031c0
Capabilities:
Parse pe header

Disassembly:
mov ecx, dword [esp + 4]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x4031ea
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x4031ea
mov ecx, 0x20b
cmp word [eax + 0x18], cx
mov eax, dword [eax + 0x50]
ret 4
xor eax, eax
ret 4
Function at 0x4031f0
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x28
push esi
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push str.IsWow64Process
push 0x443934
mov dword [esp + 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x40325c
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
test eax, eax
jne 0x40325c
call fcn.00405300
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.IsWow64_failed__0x_08x_
push 0x18f
push str.C:packagesIGOProxydev_774277_sourceHelpers.cpp
push esi
call fcn.004047c0
add esp, 0x14
cmp word [esp + 8], 9
pop esi
jne 0x403271
cmp dword [esp], 0
jne 0x403271
mov al, 1
add esp, 0x28
ret
xor al, al
add esp, 0x28
ret
Function at 0x403280
Capabilities:
Write file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x444]
sub esp, 0x444
push 0xffffffffffffffff
push 0x440aa5
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x452040]
xor eax, ebp
mov dword [ebp + 0x440], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x44c]
lea eax, [ebp]
mov esi, dword [ebp + 0x450]
push eax
call fcn.00404800
mov dword [ebp - 4], 0
push str.Electronic_ArtsEA_DesktopIGOCache
push eax
lea eax, [ebp + 0x18]
push eax
call fcn.00401630
add esp, 0x10
mov byte [ebp - 4], 2
lea ecx, [ebp]
call fcn.00402450
push 0
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp + 0x30]
push 0x453740
push eax
call fcn.00404b20
add esp, 0x10
mov bl, al
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x18]
call fcn.00402450
test bl, bl
je 0x40342f
push edi
lea eax, [ebp + 0x30]
push eax
push str._s_S
lea eax, [ebp + 0x238]
push 0x104
push eax
call fcn.00403590
add esp, 0x14
lea eax, [ebp + 0x238]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x403400
mov ebx, dword [ebp + 0x454]
lea eax, [ebp - 0x10]
push 0
push eax
push ebx
push esi
push edi
mov dword [ebp - 0x10], 0
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4033b8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.00405300
push esi
lea ecx, [ebp + 0x238]
push ecx
push str.Failed_to_save_file_content__S___err_d
push 0x166
push str.C:packagesIGOProxydev_774277_sourceHelpers.cpp
push eax
call fcn.004047c0
add esp, 0x18
jmp 0x4033ee
cmp dword [ebp - 0x10], ebx
je 0x4033ee
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.00405300
push esi
lea ecx, [ebp + 0x238]
push ecx
push ebx
push dword [ebp - 0x10]
push str.Failed_to_save_the_entire_file_content___d__d___S___err_d
push 0x16d
push str.C:packagesIGOProxydev_774277_sourceHelpers.cpp
push eax
call fcn.004047c0
add esp, 0x20
push edi
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x40344f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call fcn.00405300
push esi
lea ecx, [ebp + 0x238]
push ecx
push str.Failed_to_create_file__S___err_d
push 0x178
push str.C:packagesIGOProxydev_774277_sourceHelpers.cpp
push eax
call fcn.004047c0
add esp, 0x18
jmp 0x40344c
call fcn.00405300
push str.Unable_to_get_local_app_data_path
push 0x17e
push str.C:packagesIGOProxydev_774277_sourceHelpers.cpp
push eax
call fcn.004047c0
add esp, 0x10
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x440]
xor ecx, ebp
call fcn.00421ea0
lea esp, [ebp + 0x444]
pop ebp
ret
Function at 0x403620
Capabilities:
Enumerate process modules

Disassembly:
sub esp, 0x42c
mov eax, dword [0x452040]
xor eax, esp
mov dword [esp + 0x428], eax
push ebp
mov ebp, dword [esp + 0x434]
push esi
mov esi, dword [esp + 0x43c]
push edi
mov edi, dword [esp + 0x448]
test esi, esi
js 0x40365d
cmp esi, dword [esp + 0x444]
jle 0x403732
call fcn.00405300
push dword [esp + 0x444]
push esi
push ebp
push str._s:_computed_offset_0x_016I64x_outside_range___d_
push 0x95
push str.C:packagesIGOProxydev_774277_sourceHelpers.cpp
push eax
call fcn.004047c0
add esp, 0x1c
cmp byte [0x453771], 0
jne 0x403730
mov byte [0x453771], 1
call fcn.00405300
push str.Dumping_modules...
push 0x75
push str.C:packagesIGOProxydev_774277_sourceHelpers.cpp
push eax
call fcn.004052c0
add esp, 0x10
push 0
push 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x403730
push 0x428
lea eax, [esp + 0x10]
push 0
push eax
call fcn.00423140
add esp, 0xc
mov dword [esp + 0xc], 0x428
lea eax, [esp + 0xc]
push eax
push esi
call sub.KERNEL32.dll_Module32FirstW
jmp 0x403725
call fcn.00405300
push dword [esp + 0x24]
lea ecx, [esp + 0x30]
push dword [esp + 0x24]
push ecx
push str.Module:__S__base0x_p__imageSize0x_08x
push 0x8a
push str.C:packagesIGOProxydev_774277_sourceHelpers.cpp
push eax
call fcn.004052c0
add esp, 0x1c
lea eax, [esp + 0xc]
push eax
push esi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x4036f0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
test edi, edi
je 0x40373e
mov eax, esi
cdq
mov dword [edi], eax
mov dword [edi + 4], edx
mov ecx, dword [esp + 0x434]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00421ea0
add esp, 0x42c
ret
Function at 0x405a10
Capabilities:
Write file on windows

Disassembly:
mov eax, 0x301c
call fcn.00421eb0
mov eax, dword [0x452040]
xor eax, esp
mov dword [esp + 0x3018], eax
mov eax, dword [esp + 0x3020]
push ebx
mov ebx, dword [esp + 0x3028]
push ebp
push esi
mov esi, dword [esp + 0x303c]
push edi
mov edi, dword [esp + 0x303c]
push 0x1000
mov dword [esp + 0x18], eax
lea eax, [esp + 0x2c]
push 0
push eax
mov dword [esp + 0x1c], ecx
call fcn.00423140
add esp, 0xc
lea eax, [esp + 0x28]
xor ebp, ebp
push esi
push ebp
push edi
push 0xfff
push eax
call fcn.00405d40
mov ecx, dword [eax]
push dword [eax + 4]
or ecx, 1
push ecx
call fcn.004294ff
or ecx, 0xffffffff
add esp, 0x1c
test eax, eax
cmovs eax, ecx
test eax, eax
js 0x405aa0
cmp eax, 0xfff
ja 0x405aa0
jne 0x405aad
jmp 0x405aa5
mov ebp, 0x8007007a
mov byte [esp + 0x1027], 0
cmp ebp, 0x80070057
je 0x405c13
push 0x2000
lea eax, [esp + 0x102c]
push 0
push eax
call fcn.00423140
add esp, 0xc
mov eax, ebx
cmp byte [ebx], 0
je 0x405add
inc eax
cmp byte [eax], 0
jne 0x405ad7
sub eax, ebx
dec eax
cdq
test edx, edx
jl 0x405b2b
jg 0x405af0
test eax, eax
jb 0x405b06
nop dword [eax + eax]
cmp byte [eax + ebx], 0x5c
je 0x405b06
add eax, 0xffffffff
adc edx, 0xffffffff
test edx, edx
jg 0x405af0
jl 0x405b2b
test eax, eax
jae 0x405af0
test edx, edx
jl 0x405b2b
jg 0x405b10
test eax, eax
jb 0x405b1c
cmp byte [eax + ebx], 0x5c
jne 0x405b1c
add eax, 1
adc edx, 0
test edx, edx
jl 0x405b2b
jg 0x405b26
test eax, eax
jb 0x405b2b
lea edi, [eax + ebx]
jmp 0x405b2d
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
push 0x80
push 0x453a18
push str.hh:mm:ss_tt
lea eax, [esp + 0x24]
push eax
push 0
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTimeFormatA]
mov ebx, dword [esp + 0x10]
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x303c]
test edi, edi
mov eax, 0x44399c
cmovne eax, edi
push eax
push esi
push 0x453a18
push dword [esp + 0x28]
lea eax, [esp + 0x1040]
push dword [0x452018]
push 0x2000
push eax
push ebx
call fcn.00405c30
add esp, 0x28
cmp eax, 0x80070057
je 0x405c13
mov ecx, 0x2000
lea eax, [esp + 0x1028]
xor edx, edx
cmp byte [eax], dl
je 0x405bc3
inc eax
sub ecx, 1
jne 0x405bb7
jmp 0x405bc7
test ecx, ecx
jne 0x405bcc
mov edx, 0x80070057
mov eax, 0x2000
sub eax, ecx
xor ecx, ecx
test edx, edx
cmovns ecx, eax
xor eax, eax
test edx, edx
cmovns eax, ecx
js 0x405c13
push 0
lea ecx, [esp + 0x14]
mov dword [esp + 0x14], 0
push ecx
push eax
lea eax, [esp + 0x1034]
push eax
push dword [ebx + 0x248]
call dword [sym.imp.KERNEL32.dll_WriteFile]
push dword [ebx + 0x248]
call dword [sym.imp.KERNEL32.dll_FlushFileBuffers]
mov ecx, dword [esp + 0x3028]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00421ea0
add esp, 0x301c
ret 0x14
Function at 0x407cb0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x6c
mov eax, dword [0x452040]
xor eax, esp
mov dword [esp + 0x68], eax
push esi
mov esi, dword [esp + 0x74]
lea eax, [esp + 4]
push edi
mov edi, dword [esp + 0x80]
push 0x58
push 0
push eax
call fcn.00423140
push dword [esp + 0x88]
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], 0
push esi
push eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x28], 0x67452301
mov dword [esp + 0x2c], 0xefcdab89
mov dword [esp + 0x30], 0x98badcfe
mov dword [esp + 0x34], 0x10325476
call fcn.00407d60
lea eax, [esp + 0x78]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.00407e30
add esp, 0x20
xor esi, esi
nop
movzx eax, byte [esp + esi + 0x60]
push eax
push str._02X
push 3
push edi
call fcn.00407c70
inc esi
add esp, 0x10
add edi, 2
cmp esi, 0x10
jl 0x407d30
mov ecx, dword [esp + 0x70]
pop edi
pop esi
xor ecx, esp
call fcn.00421ea0
add esp, 0x6c
ret

Function at 0x421054
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
call fcn.004298af
push 2
lea ecx, [ebp - 4]
push ecx
mov eax, dword [eax + 0x14]
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x421093
sub eax, 1
je 0x42108e
sub eax, 1
je 0x42108a
xor eax, eax
leave
ret
push 3
jmp 0x421095
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret

Function at 0x43fd50
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43fd7d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43fd7d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x578000
Capabilities:
Encode data using xor

Disassembly:
push eax
push ecx
push edx
push ebx
push ebp
push esi
push edi
call 0x57800c
pop ebx
sub ebx, 0x8d00c
push 0
pop ecx
push ebx
sub dword [ebx + 0x2dc], 0x5c7d551b
xor dword [ebx + 0x16c], 0x1f6e71d3
xor dword [ebx + 0x78], 0x48c038a0
add dword [ebx + 0x13c], 0x1dba3383
not dword [ebx + 0x1c4]
add dword [ebx + 0x8c], 0xf113dc0
xor dword [ebx + 0x2b4], 0x57292426
add dword [ebx + 0x90], 0x72815eba
add dword [ebx + 0xdc], 0x3f676a03
sub dword [ebx + 0xac], 0x2cf74d38
add dword [ebx + 0xe0], 0x6b69131d
add dword [ebx + 0x29c], 0x2c485d6c
xor dword [ebx + 0xf4], 0x608f0170
sub dword [ebx + 0xbc], 0x210a4531
xor dword [ebx + 0x30c], 0x594b469c
not dword [ebx + 0xa8]
add dword [ebx + 0x228], 0x44c32042
not dword [ebx + 0x28]
not dword [ebx + 0x168]
add dword [ebx + 0x44], 0x4a34433d
not dword [ebx + 0x290]
sub dword [ebx + 0x150], 0x23f9257e
xor dword [ebx + 0x25c], 0x75b06c62
sub dword [ebx + 0x200], 0x315606bb
add dword [ebx + 0x1dc], 0x544d5946
xor dword [ebx + 0x54], 0x48fb5edc
sub dword [ebx + 0x3c8], 0x4b566e4a
xor dword [ebx + 0x284], 0x59a63ad8
not dword [ebx + 0x3d4]
not dword [ebx + 0x12c]
not dword [ebx + 0x138]
add dword [ebx + 0x70], 0x61052e5c
add dword [ebx + 0x308], 0x6d9a177e
not dword [ebx + 0xb4]
not dword [ebx + 0x318]
not dword [ebx + 0x1b8]
add dword [ebx + 0xe8], 0x39d6514c
xor dword [ebx + 0xc0], 0x593a3e75
sub dword [ebx + 0x14], 0x34c7254a
xor dword [ebx + 0x144], 0x4b767c0f
xor dword [ebx + 0x2bc], 0xfe146f3
not dword [ebx + 0x1b4]
not dword [ebx + 0x18]
not dword [ebx + 0xec]
sub dword [ebx + 0x354], 0x511101c
xor dword [ebx + 0x1f4], 0x7c8b0113
add dword [ebx + 0x2e0], 0x4e59037f
xor dword [ebx + 0x204], 0xa74530b
not dword [ebx + 0x3f0]
not dword [ebx + 0x36c]
sub dword [ebx + 0xf0], 0x2e2716d5
add dword [ebx + 0x3a0], 0x7dcd5ad3
sub dword [ebx + 0x124], 0x45c12a3f
not dword [ebx + 0x3f8]
not dword [ebx + 0x7c]
add dword [ebx + 0x3bc], 0x4b5662fc
not dword [ebx + 0x38c]
add dword [ebx + 0x3b4], 0x4716e9b
sub dword [ebx + 0x268], 0x7b5e5ed3
xor dword [ebx + 0x64], 0x79ae5b82
xor dword [ebx + 0x68], 0x21a5808
xor dword [ebx + 0x1ac], 0x1b11c25
not dword [ebx + 0xe4]
xor dword [ebx + 0x238], 0x17d02532
not dword [ebx + 0x158]
not dword [ebx + 0x2d8]
xor dword [ebx + 0x384], 0x6b5c1d99
add dword [ebx + 0x4c], 0x7063f5f
add dword [ebx + 0x328], 0x35035334
xor dword [ebx + 0x114], 0x10564ac8
add dword [ebx + 0x1cc], 0x82f30d6
sub dword [ebx + 0x2a8], 0xa784eff
sub dword [ebx + 0x198], 0xe8654bf
add dword [ebx + 0x50], 0x63ca43fa
add dword [ebx + 0x194], 0x5a675ee3
sub dword [ebx + 0x3a4], 0x6a3c4d34
not dword [ebx + 0x60]
xor dword [ebx + 0x5c], 0xcb362ec
add dword [ebx + 0x3d8], 0x68ea7a5d
not dword [ebx + 0x244]
not dword [ebx + 0x378]
add dword [ebx + 0x154], 0x6cd729aa
add dword [ebx + 0x234], 0x6de47141
xor dword [ebx + 0xd0], 0x409c43f3
not dword [ebx + 0x2b8]
not dword [ebx + 0x14c]
not dword [ebx + 0x2d4]
xor dword [ebx + 0x270], 0x7f203390
xor dword [ebx + 0x210], 0x2ea761a0
sub dword [ebx + 0x2f4], 0x7aa66ab
xor dword [ebx + 0x98], 0x1baa4fc7
sub dword [ebx + 0x330], 0x3dad3c3a
xor dword [ebx + 0xc8], 0x3d13443
invalid
inc ebx
Function at 0x10059a8d
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 1
mov eax, str.SeDebugPrivilege
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push 1
push dword [ebp + 8]
call fcn.10059acf
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10059ac1
push ebx
call fcn.100a4fb9
add esp, 4
mov eax, dword [ebp - 8]
jmp 0x10059ac9
mov esp, ebp
pop ebp
ret 8
Function at 0x1009a2c0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp eax, 0x8000
jg 0x1009a3da
je 0x1009a3d1
cmp eax, 0x80
jg 0x1009a357
je 0x1009a34e
cmp eax, 8
jg 0x1009a320
je 0x1009a317
cmp eax, 0x80000000
je 0x1009a30e
cmp eax, 2
je 0x1009a305
cmp eax, 4
jne 0x1009a4bd
mov eax, 2
pop ebp
ret 4
mov eax, 1
pop ebp
ret 4
mov eax, 0x1f
pop ebp
ret 4
mov eax, 3
pop ebp
ret 4
cmp eax, 0x10
je 0x1009a345
cmp eax, 0x20
je 0x1009a33c
cmp eax, 0x40
jne 0x1009a4bd
mov eax, 6
pop ebp
ret 4
mov eax, 5
pop ebp
ret 4
mov eax, 4
pop ebp
ret 4
mov eax, 7
pop ebp
ret 4
cmp eax, 0x800
jg 0x1009a39d
je 0x1009a394
cmp eax, 0x100
je 0x1009a38b
cmp eax, 0x200
je 0x1009a382
cmp eax, 0x400
jne 0x1009a4bd
mov eax, 0xa
pop ebp
ret 4
mov eax, 9
pop ebp
ret 4
mov eax, 8
pop ebp
ret 4
mov eax, 0xb
pop ebp
ret 4
cmp eax, 0x1000
je 0x1009a3c8
cmp eax, 0x2000
je 0x1009a3bf
cmp eax, 0x4000
jne 0x1009a4bd
mov eax, 0xe
pop ebp
ret 4
mov eax, 0xd
pop ebp
ret 4
mov eax, 0xc
pop ebp
ret 4
mov eax, 0xf
pop ebp
ret 4
cmp eax, 0x800000
jg 0x1009a466
je 0x1009a45d
cmp eax, 0x80000
jg 0x1009a42d
je 0x1009a424
cmp eax, 0x10000
je 0x1009a41b
cmp eax, 0x20000
je 0x1009a412
cmp eax, 0x40000
jne 0x1009a4bd
mov eax, 0x12
pop ebp
ret 4
mov eax, 0x11
pop ebp
ret 4
mov eax, 0x10
pop ebp
ret 4
mov eax, 0x13
pop ebp
ret 4
cmp eax, 0x100000
je 0x1009a454
cmp eax, 0x200000
je 0x1009a44b
cmp eax, 0x400000
jne 0x1009a4bd
mov eax, 0x16
pop ebp
ret 4
mov eax, 0x15
pop ebp
ret 4
mov eax, 0x14
pop ebp
ret 4
mov eax, 0x17
pop ebp
ret 4
cmp eax, 0x8000000
jg 0x1009a4a8
je 0x1009a49f
cmp eax, 0x1000000
je 0x1009a496
cmp eax, 0x2000000
je 0x1009a48d
cmp eax, 0x4000000
jne 0x1009a4bd
mov eax, 0x1a
pop ebp
ret 4
mov eax, 0x19
pop ebp
ret 4
mov eax, 0x18
pop ebp
ret 4
mov eax, 0x1b
pop ebp
ret 4
cmp eax, 0x10000000
je 0x1009a4d5
cmp eax, 0x20000000
je 0x1009a4cc
cmp eax, 0x40000000
je 0x1009a4c3
xor eax, eax
pop ebp
ret 4
mov eax, 0x1e
pop ebp
ret 4
mov eax, 0x1d
pop ebp
ret 4
mov eax, 0x1c
pop ebp
ret 4
Function at 0x100a62e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1017f530
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.101741c6
mov esi, dword [esp + 0xc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0
xor ebp, ebp
call fcn.100ab890
mov ecx, dword [esp + 0x40]
mov byte [esp + 0x2c], 1
cmp ecx, 3
ja case.default.0x100a6334
jmp dword [ecx*4 + 0x100a649c]
mov al, byte [esi]
test al, al
je 0x100a6362
cmp al, 0x20
je 0x100a634e
cmp al, 0xa1
jne 0x100a6362
cmp byte [esi + 1], al
jne 0x100a6362
test al, 0x80
je 0x100a635a
mov al, byte [esi + 1]
inc esi
test al, al
je 0x100a6362
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x100a6341
test ecx, ecx
je case.default.0x100a6334
mov dl, byte [esi]
xor ecx, ecx
test dl, dl
mov eax, esi
je case.default.0x100a6334
mov edi, dword [esp + 0x3c]
mov dl, byte [eax]
test dl, 0x80
je 0x100a63a8
cmp dl, 0xa1
jne 0x100a639c
cmp byte [eax + 1], 0xa1
jne 0x100a639c
test ecx, ecx
jne 0x100a6394
mov edi, eax
mov ecx, 1
inc eax
jmp 0x100a63bc
mov dl, byte [eax + 1]
inc eax
xor ecx, ecx
test dl, dl
je 0x100a63d6
jmp 0x100a63bc
cmp dl, 0x20
jne 0x100a63ba
test ecx, ecx
jne 0x100a63b3
mov edi, eax
mov ecx, 1
jmp 0x100a63bc
xor ecx, ecx
mov dl, byte [eax + 1]
inc eax
test dl, dl
jne 0x100a637c
cmp ecx, 1
jne case.default.0x100a6334
mov dl, byte [edi]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x100a6334
mov dl, byte [eax - 1]
lea edi, [eax - 1]
mov ebp, edi
mov byte [esp + 0x3c], dl
mov byte [edi], 0
jmp case.default.0x100a6334
mov al, byte [esi]
test al, al
je 0x100a642e
test al, 0x80
mov byte [esp + 0x3c], al
je 0x100a6414
mov cl, byte [esi + 1]
test cl, cl
je 0x100a642e
cmp al, 0xa1
jne 0x100a6404
cmp cl, al
je 0x100a6411
mov ax, word [esi]
lea ecx, [esp + 0x10]
push eax
call fcn.100abb20
inc esi
jmp 0x100a6426
cmp al, 0x20
je 0x100a6426
mov ecx, dword [esp + 0x3c]
push ecx
lea ecx, [esp + 0x14]
call fcn.100abb60
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x100a63ed
push 0
lea ecx, [esp + 0x14]
call fcn.100abb60
mov esi, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.100bbff0
mov edx, dword [esp + 0x38]
add esp, 4
test ebp, ebp
mov dword [edx], eax
je 0x100a6461
mov al, byte [esp + 0x3c]
mov byte [ebp], al
lea ecx, [esp + 0x10]
mov byte [esp + 0x2c], 0
mov dword [esp + 0x10], 0x102a3cf0
call fcn.100aba90
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.10174158
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x100b2f90
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x1017fefb
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.10173ecd
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x100b3012
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.101715f5
mov eax, dword [eax]
push 0x10388e60
push eax
call fcn.1013c324
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.10174158
test bl, bl
je 0x100b3012
push 0x10388e60
lea ecx, [esp + 0xc]
call fcn.101744e8
push 0x10388e6c
lea ecx, [esp + 0xc]
call fcn.101744e8
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 0x100b304e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.10174158
jmp 0x100b3119
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 0x100b30d2
lea edx, [esp + 0x7c]
push 0x10388e68
push edx
call fcn.1013c324
add esp, 8
test eax, eax
je 0x100b30d2
lea eax, [esp + 0x7c]
push 0x10388e64
push eax
call fcn.1013c324
add esp, 8
test eax, eax
je 0x100b30d2
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 0x100b3062
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.10174158
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 0x100b3940
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 0x100b39a2
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