joyce8/EMBER2024-capa huggingface dataset:
Function at 0x435296
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0042d88f
xor ebx, ebx
cmp dword [0x45f1a0], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x43536c
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x43544c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4427c8
push edi
call esi
cmp eax, ebx
je 0x43544c
push eax
call fcn.0042d821
mov dword [esp], 0x4427b8
push edi
mov dword [0x45f1a0], eax
call esi
push eax
call fcn.0042d821
mov dword [esp], 0x4427a4
push edi
mov dword [0x45f1a4], eax
call esi
push eax
call fcn.0042d821
mov dword [0x45f1a8], eax
lea eax, [ebp - 0xc]
push eax
call fcn.00426aed
test eax, eax
pop ecx
pop ecx
je 0x43533a
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042c406
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x43536c
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.0042d821
cmp eax, ebx
pop ecx
mov dword [0x45f1b0], eax
je 0x43536c
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042d821
pop ecx
mov dword [0x45f1ac], eax
mov eax, dword [0x45f1ac]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x4353f1
cmp dword [0x45f1b0], ecx
je 0x4353f1
push eax
call fcn.0042d898
push dword [0x45f1b0]
mov esi, eax
call fcn.0042d898
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x4353f1
cmp edi, ebx
je 0x4353f1
call esi
cmp eax, ebx
je 0x4353be
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4353be
test byte [ebp - 0x18], 1
jne 0x4353f1
lea eax, [ebp - 0x10]
push eax
call fcn.00426b24
test eax, eax
pop ecx
je 0x4353d9
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.0042c406
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x4353e8
or dword [ebp + 0x10], 0x200000
jmp 0x43542c
or dword [ebp + 0x10], 0x40000
jmp 0x43542c
mov eax, dword [0x45f1a4]
cmp eax, dword [ebp - 8]
je 0x43542c
push eax
call fcn.0042d898
cmp eax, ebx
pop ecx
je 0x43542c
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x43542c
mov eax, dword [0x45f1a8]
cmp eax, dword [ebp - 8]
je 0x43542c
push eax
call fcn.0042d898
cmp eax, ebx
pop ecx
je 0x43542c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x45f1a0]
call fcn.0042d898
cmp eax, ebx
pop ecx
je 0x43544c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43544e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x439fdc
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x98
mov eax, dword [0x45b2ec]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
mov esi, ecx
call fcn.00439f71
mov eax, 0x400000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x20]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call fcn.004259a0
add esp, 0xc
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x10], 2
jne 0x43a02b
cmp dword [ebp - 0x1c], 5
jb 0x43a043
jmp 0x43a03f
cmp dword [ebp - 0x10], 1
jne 0x43a043
cmp dword [ebp - 0x1c], 4
ja 0x43a03f
jne 0x43a043
cmp dword [ebp - 0x18], 0
jbe 0x43a043
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x4439a0
call fcn.00439e62
test eax, eax
jge 0x43a064
mov byte [0x45c700], 1
mov ecx, dword [ebp + 0x74]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00424ba6
add ebp, 0x78
leave
ret
Function at 0x402e18
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x409008], 0x8088405
inc edx
mov dword [ebx + 0x409008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x4036a8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x409018]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403740
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403720
xor eax, eax
push ebp
push 0x403719
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x40375c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403720
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x409018]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x409018], ax
mov esp, ebp
pop ebp
ret

Function at 0x40400c
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x40a044], 0
je 0x40406d
cmp word [0x40a218], 0xd7b2
jne 0x404035
cmp dword [0x40a220], 0
jbe 0x404035
mov eax, 0x40a214
call dword [0x40a230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x409064
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404094
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x409024], 0
jne 0x404089
push 0
push 0x40905c
push 0x409064
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x404e28
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x404e8e
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.004043e4
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00403064
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x404e78
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x404e95
lea eax, [ebp - 0x10]
call fcn.00404190
ret

Function at 0x406c70
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x406ca9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404280
jmp 0x406cb2
mov eax, ebx
mov edx, esi
call fcn.004041e4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x406cbc
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x406cdd
mov al, byte [esp]
jmp 0x406cdf
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x407374
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x4071dc
mov eax, dword [0x4093b4]
cmp byte [eax], 0
je 0x4073f0
mov eax, dword [0x409308]
call fcn.00402d8c
call fcn.004029b8
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00406144
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x407438
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x407426
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4092e8]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x40a660]
call fcn.004047f8
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x407e14
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x407e78
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.004043e4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0040600c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x407e7f
lea eax, [ebp - 0xc]
call fcn.00404190
ret
Function at 0xe10d7d
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
push edi
lea eax, [ecx + eax + 0x18]
test esi, esi
jbe 0xe10dba
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0xe10db2
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0xe10dbc
inc edx
add eax, 0x28
cmp edx, esi
jb 0xe10da2
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x430003
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x408ed0
nop
mov ecx, 0x6c6c2635
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, 0x465f59e2
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219

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 0x1003a98
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x1003af0
call fcn.01003b0c
xor eax, eax
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x1003ae7
cmp ecx, 0xffffffff
je 0x1003ae7
and dword [ebp - 4], eax
mov edx, 0x5a4d
cmp word [ecx], dx
jne 0x1003ae0
mov edx, dword [ecx + 0x3c]
test edx, edx
jl 0x1003ae0
cmp edx, 0x10000000
jae 0x1003ae0
lea eax, [edx + ecx]
mov dword [ebp - 0x1c], eax
cmp dword [eax], 0x4550
jne 0x1006d0b
mov dword [ebp - 4], 0xfffffffe
call fcn.010023d0
ret 4
xor eax, 0x65363363

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 0x41bd00
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
dec eax
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
dec eax
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
dec ecx
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x424c80], ecx
inc edx
cmp edx, 0x100
jb 0x41bd02
cmp edx, 0x800
jae 0x41bdd9
lea esp, [esp]
mov eax, dword [edx*4 + 0x424880]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x424c80]
inc edx
mov dword [edx*4 + 0x424c7c], eax
cmp edx, 0x800
jb 0x41bdb0
mov eax, 0x41c5e0
mov dword [0x424c7c], eax
mov dword [0x426c80], eax
mov dword [0x424c78], 0x41c500
call fcn.0041c010
test eax, eax
jne 0x41be05
mov dword [0x426c80], 0x41c500
ret

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40c7d0
mov ecx, 0x40476a1e
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x432024
nop
nop
mov eax, section..text_1
nop
mov ebx, 0x42f314
nop
mov ecx, 0x43035a14
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x432084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43206c
nop
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x10003448
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x101f57c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
xor ebx, ebx
push esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], ecx
cmp edx, ebx
jne 0x10003495
push str.filename___NULL
push 0x38
push str...eglib_srcgfile_posix.c
push str._s:_d:_assertion__s_failed
push 8
push ebx
call fcn.100010d9
add esp, 0x18
xor eax, eax
jmp 0x10003590
cmp eax, ebx
jne 0x100034a2
push str.contents___NULL
push 0x39
jmp 0x10003479
cmp esi, ebx
je 0x100034b3
cmp dword [esi], ebx
je 0x100034b3
push str.error__NULL__error__NULL
push 0x3a
jmp 0x10003479
mov dword [eax], ebx
cmp ecx, ebx
je 0x100034bb
mov dword [ecx], ebx
push edi
push ebx
push edx
call fcn.10121c49
mov edi, eax
pop ecx
pop ecx
mov dword [ebp - 0x38], edi
cmp edi, 0xffffffff
jne 0x100034f2
cmp esi, ebx
je 0x1000352a
call fcn.10114f43
mov eax, dword [eax]
push str.Error_opening_file
call fcn.100057b3
push eax
push ebx
call fcn.10004cdc
add esp, 0xc
mov dword [esi], eax
jmp 0x1000352a
lea eax, [ebp - 0x34]
push eax
push edi
call fcn.10113966
pop ecx
pop ecx
test eax, eax
je 0x1000352e
cmp esi, ebx
je 0x10003523
call fcn.10114f43
mov eax, dword [eax]
push str.Error_in_fstat__
call fcn.100057b3
push eax
push ebx
call fcn.10004cdc
add esp, 0xc
mov dword [esi], eax
push edi
call fcn.1011e75a
pop ecx
xor eax, eax
jmp 0x1000358f
mov eax, dword [ebp - 0x20]
inc eax
push eax
call fcn.10001a5d
pop ecx
mov esi, eax
xor edi, edi
mov eax, dword [ebp - 0x20]
sub eax, edi
push eax
lea eax, [edi + esi]
push eax
push dword [ebp - 0x38]
call fcn.1011fd65
add esp, 0xc
cmp eax, ebx
jle 0x1000355d
add edi, eax
cmp edi, dword [ebp - 0x20]
jl 0x1000353d
cmp eax, 0xffffffff
jne 0x1000356c
call fcn.10114f43
cmp dword [eax], 4
je 0x1000353d
push dword [ebp - 0x38]
call fcn.1011e75a
mov eax, dword [ebp - 0x20]
mov byte [eax + esi], bl
mov eax, dword [ebp - 0x3c]
pop ecx
cmp eax, ebx
je 0x10003587
mov ecx, dword [ebp - 0x20]
mov dword [eax], ecx
mov eax, dword [ebp - 0x40]
mov dword [eax], esi
xor eax, eax
inc eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.1011389e
leave
ret
Function at 0x100036d6
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor eax, eax
push edi
push eax
push eax
push eax
push dword [ebp + 8]
mov dword [ebp - 8], eax
call fcn.10119dc0
pop ecx
push eax
push dword [ebp + 8]
call fcn.10001352
push 0x800
mov dword [ebp - 4], eax
call fcn.10001a5d
mov esi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
add esp, 0x18
mov edi, 0x400
push edi
mov ebx, eax
push ebx
push dword [ebp - 4]
call esi
mov dword [ebp - 0xc], eax
test eax, eax
je 0x1000375e
cmp eax, edi
jle 0x10003745
push ebx
call sym.mono.dll_g_free
mov edi, dword [ebp - 0xc]
lea eax, [edi + edi]
push eax
call fcn.10001a5d
pop ecx
pop ecx
push edi
mov ebx, eax
push ebx
push dword [ebp - 4]
call esi
xor eax, eax
push eax
push eax
push eax
push ebx
call fcn.1011a508
pop ecx
push eax
push ebx
call fcn.100014eb
add esp, 0x14
mov dword [ebp - 8], eax
push dword [ebp - 4]
call sym.mono.dll_g_free
push ebx
call sym.mono.dll_g_free
mov eax, dword [ebp - 8]
pop ecx
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x100038b3
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x264
mov eax, dword [0x101f57c0]
xor eax, esp
mov dword [esp + 0x260], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x10], eax
cmp edi, ebx
jne 0x10003901
push str.path___NULL
push 0x34
push str...eglib_srcgdir_win32.c
push str._s:_d:_assertion__s_failed
push 8
push ebx
call fcn.100010d9
add esp, 0x18
jmp 0x10003a19
cmp eax, ebx
je 0x10003912
cmp dword [eax], ebx
je 0x10003912
push str.error__NULL__error__NULL
push 0x35
jmp 0x100038e7
push 0xc
push 1
call dword [0x101f6db0]
pop ecx
pop ecx
push ebx
push ebx
push ebx
push edi
mov esi, eax
call fcn.10119dc0
pop ecx
push eax
push edi
call fcn.10001352
mov edi, dword [sym.imp.KERNEL32.dll_FindFirstFileW]
add esp, 0x14
lea ecx, [esp + 0x18]
push ecx
push eax
mov dword [esp + 0x14], eax
call edi
mov dword [esi], eax
cmp eax, 0xffffffff
je 0x100039dc
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
push dword [esp + 0xc]
call fcn.1011a508
lea eax, [eax + eax + 6]
push eax
call fcn.10001a5d
push dword [esp + 0x14]
mov dword [esp + 0x20], eax
push eax
call fcn.1011a554
push 0x101eb778
push dword [esp + 0x28]
call fcn.1011a523
add esp, 0x18
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x18]
call edi
push dword [esp + 0x14]
mov dword [esi], eax
call sym.mono.dll_g_free
pop ecx
lea eax, [esp + 0x44]
push 0x101eb780
push eax
call fcn.1011a575
pop ecx
pop ecx
test eax, eax
je 0x100039cb
lea eax, [esp + 0x44]
push 0x101eb784
push eax
call fcn.1011a575
pop ecx
pop ecx
test eax, eax
jne 0x10003a30
lea eax, [esp + 0x18]
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x100039a1
cmp dword [esp + 0x10], ebx
je 0x10003a08
call fcn.10114f43
mov edi, dword [eax]
push edi
call fcn.10115e1f
pop ecx
push eax
mov eax, edi
call fcn.100057b3
push eax
push ebx
call fcn.10004cdc
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov dword [ecx], eax
push esi
call sym.mono.dll_g_free
push dword [esp + 0x10]
call sym.mono.dll_g_free
pop ecx
pop ecx
xor eax, eax
mov ecx, dword [esp + 0x26c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1011389e
mov esp, ebp
pop ebp
ret
push ebx
push ebx
lea eax, [esp + 0x4c]
push ebx
push eax
mov dword [esi + 4], ebx
call fcn.1011a508
pop ecx
push eax
lea eax, [esp + 0x54]
push eax
call fcn.100014eb
push dword [esp + 0x20]
mov dword [esi + 8], eax
call sym.mono.dll_g_free
add esp, 0x18
mov eax, esi
jmp 0x10003a1b

Function at 0x10005889
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0x40
push 0x3000
push dword [ebp + 8]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x100058a5
or eax, 0xffffffff
pop ebp
ret

Function at 0x100058a7
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push 0x40
push 0x103000
push dword [ebp + 8]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x100058c3
or eax, 0xffffffff
pop ebp
ret
Function at 0x1000599c
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
cmp dword [0x101f6de4], 0
jne 0x10005a34
push esi
mov esi, 0x101f6fc4
push esi
mov dword [0x101f6dec], 0x40000
mov dword [0x101f6df0], 0x200000
mov dword [0x101f6df4], 7
call fcn.10005923
cmp dword [0x101f6de0], 0
pop ecx
jne 0x100059fe
mov eax, dword [0x101f6df4]
and dword [0x101f6fb0], 0
mov dword [0x101f6de0], 0x58585858
mov dword [0x101f6fac], eax
push esi
call fcn.10005947
pop ecx
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x20]
lea edx, [eax - 1]
mov dword [0x101f6de4], ecx
mov dword [0x101f6de8], eax
pop esi
test eax, edx
jne 0x10005a2f
lea eax, [ecx - 1]
test ecx, eax
je 0x10005a34
call fcn.10112ed8
xor eax, eax
leave
ret

Function at 0x10007bee
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [eax + 4], 0
jne 0x10007c05
push dword [ebp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
leave
ret
push ebx
push dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push dword [eax]
call ebx
test eax, eax
jne 0x10007c6a
push esi
push edi
mov edi, 0x1000
push edi
call fcn.10001a5d
mov esi, eax
pop ecx
test esi, esi
je 0x10007c66
lea eax, [ebp - 4]
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
jne 0x10007c4a
push esi
call sym.mono.dll_g_free
pop ecx
jmp 0x10007c66
cmp dword [ebp - 4], edi
jbe 0x10007c90
push esi
call sym.mono.dll_g_free
mov edi, dword [ebp - 4]
push edi
call fcn.10001a5d
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x10007c6d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
lea eax, [ebp - 4]
push eax
push edi
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
jne 0x10007c90
xor edi, edi
push esi
call sym.mono.dll_g_free
pop ecx
mov eax, edi
jmp 0x10007c68
xor edi, edi
test dword [ebp - 4], 0xfffffffc
jbe 0x10007c83
push dword [ebp + 8]
push dword [esi + edi*4]
call ebx
test eax, eax
jne 0x10007cb4
mov eax, dword [ebp - 4]
inc edi
shr eax, 2
cmp edi, eax
jb 0x10007c9b
jmp 0x10007c83
mov edi, eax
jmp 0x10007c85
Function at 0x1000a201
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x460
mov eax, dword [0x101f57c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x460]
push edi
push eax
call sym.mono.dll_mono_md5_init
mov dword [esp], 0x1013361c
push esi
call fcn.10109ee6
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x1000a2ac
push edi
mov esi, 0x400
push esi
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.10114603
add esp, 0x10
jmp 0x1000a27f
push eax
lea eax, [ebp - 0x404]
push eax
lea eax, [ebp - 0x460]
push eax
call sym.mono.dll_mono_md5_update
push edi
push esi
lea eax, [ebp - 0x404]
push 1
push eax
call fcn.10114603
add esp, 0x1c
test eax, eax
jg 0x1000a258
push edi
call fcn.10114391
pop ecx
push edi
test eax, eax
je 0x1000a297
call fcn.10113632
pop ecx
jmp 0x1000a2ac
call fcn.10113632
lea eax, [ebp - 0x460]
push ebx
push eax
call sym.mono.dll_mono_md5_final
add esp, 0xc
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1011389e
leave
ret
Function at 0x1000adf7
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x101f57c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
push eax
mov dword [ebp - 0x88], eax
lea eax, [ebp - 0x84]
push str._proc__d_cmdline
push eax
call fcn.10115364
lea eax, [ebp - 0x84]
push 0x1013361c
push eax
mov byte [esi], 0
call fcn.10109ee6
add esp, 0x14
mov dword [ebp - 0x8c], eax
test eax, eax
jne 0x1000ae52
mov eax, esi
jmp 0x1000aea3
push ebx
push eax
lea eax, [edi - 1]
push eax
push 1
push esi
call fcn.10114603
push dword [ebp - 0x8c]
mov ebx, eax
call fcn.10113632
push 0x2f
push esi
mov byte [esi + ebx], 0
call fcn.101138b0
add esp, 0x1c
test eax, eax
je 0x1000ae83
inc eax
jmp 0x1000aea2
test ebx, ebx
jne 0x1000aea0
push edi
push esi
push dword [ebp - 0x88]
xor edx, edx
mov ecx, str.Name
call fcn.1000ac6f
add esp, 0xc
jmp 0x1000aea2
mov eax, esi
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.1011389e
leave
ret