joyce8/EMBER2024-capa huggingface dataset:
Function at 0x405ee0
Capabilities:
Parse credit card information

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push ecx
push edx
push esi

Function at 0x4073c8
Capabilities:
Packed with generic packer

Disassembly:
push esi
push edi
push ebx
push ecx
push edx
xor ecx, ecx
mov eax, dword [ecx*4 + 0x43b09d]
or eax, eax
je 0x4074f9
cmp word [eax + 0x14], 0
je 0x4073f3
inc ecx
cmp ecx, 0x96
jb 0x4073cf
jmp 0x4074f9
mov edi, eax
call fcn.00402804
or eax, eax
je 0x4074f9
add dword [edi + 0x10], 0xa
mov eax, dword [edi + 0xc]
cmp dword [edi + 0x10], eax
jb 0x4073e5
mov dword [edi + 0x10], 0
cmp dword [edi + 0x1c], 0x655f6661
je 0x40743c
cmp dword [edi + 0x1c], 0x68705f6d
jne 0x407453
push 0
push edi
call fcn.00408532
or eax, eax
je 0x4073e5
movzx eax, word [eax + 0x32]
mov dword [edi + 0x14], eax
jmp 0x4073e5
push edi
call fcn.00407501
or eax, eax
je 0x4074f9
movzx edx, word [eax + 0x32]
mov dword [edi + 0x14], edx
jmp 0x4073e5
push edi
call fcn.00407501
or eax, eax
je 0x4074f9
movzx edx, word [eax + 0x32]
mov dword [edi + 0x14], edx
mov eax, dword [eax + 0x3c]
lea eax, [eax + 0x10]
pushal
movss xmm0, dword [edi]
cvtss2sd xmm0, xmm0
movsd qword [0x42cf4f], xmm0
movss xmm0, dword [edi + 4]
cvtss2sd xmm0, xmm0
movsd qword [0x42cf57], xmm0
movss xmm0, dword [edi + 8]
cvtss2sd xmm0, xmm0
movsd qword [0x42cf5f], xmm0
push dword [edi + 0xc]
push dword [0x42cf63]
push dword [0x42cf5f]
push dword [0x42cf5b]
push dword [0x42cf57]
push dword [0x42cf53]
push dword [0x42cf4f]
push edx
push eax
push str.___XRAY__Object_spawned:___s___id:___d___X:___3.2f___Y:___3.2f___Z:___3.2f___Time_respawn:___d_
call dword [0x450e53]
add esp, 0x28
lea eax, [edi + 0x6c]
or eax, eax
je 0x4074f3
cmp dword [eax], 0x4c4c554e
je 0x4074f3
push 0xf
push 0
push 0
push eax
call fcn.00406482
popal
jmp 0x4073e5
xor eax, eax
pop edx
pop ecx
pop ebx
pop edi
pop esi
ret

Function at 0x408136
Capabilities:
Packed with generic packer

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pushal
cmp dword [0x411dc7], 0
je 0x408227
cmp dword [0x43afe2], 0
je 0x408227
call fcn.004080b9
or eax, eax
je 0x408227
mov eax, dword [0x450e27]
add eax, 0x4dac68
mov eax, dword [eax]
mov eax, dword [eax]
mov eax, dword [eax + 0x49708]
or eax, eax
je 0x408227
mov eax, dword [eax + 0x109b4]
or eax, eax
je 0x408227
mov eax, dword [eax + 0x10]
mov dword [0x40802c], eax
mov dword [0x408028], 1
mov dword [0x407f78], 0
mov dword [0x407f80], 0
xor esi, esi
push esi
call fcn.0040808e
or eax, eax
je 0x408227
mov edi, eax
lea eax, [edi]
cmp dword [eax], 0x59415258
je 0x408200
push eax
push 0x407f84
call dword [sym.imp.user32.dll_wsprintfA]
add esp, 8
lea eax, [edi + 0x50]
push eax
push 0x407fd4
call dword [sym.imp.user32.dll_wsprintfA]
add esp, 8
mov dword [0x407f78], 0x407f84
mov dword [0x407f80], 0x407fd4
push dword [ebp + 8]
push 0x40822c
push 0x408024
push dword [0x43affe]
call dword [0x43aff2]
push 5
call dword [sym.imp.kernel32.dll_Sleep]
inc esi
cmp esi, 0x64
jbe 0x4081b5
popal
leave
ret 4
Function at 0x408b8e
Capabilities:
Allocate or change rwx memory
Create http request
Execute shellcode via indirect call
Read data from internet
Receive data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push ecx
push edx
push esi
push edi
cmp byte [0x43682e], 0
je 0x408dcd
push dword [ebp + 8]
call fcn.00402901
or eax, eax
jne 0x408dcd
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.WININET.dll_InternetOpenA]
test eax, eax
je 0x408dd1
mov dword [0x450869], eax
mov edi, dword [ebp + 8]
push 0x43682e
push dword [edi + 0x40]
push str.https:__vpnapi.io_api__s_key_s
push 0x451c4d
call dword [sym.imp.user32.dll_wsprintfA]
add esp, 0x10
push 4
push 0x4471c0
push 2
push dword [0x450869]
call dword [sym.imp.WININET.dll_InternetSetOptionA]
push 0
push 0x84000000
push 0
push 0
push 0x451c4d
push dword [0x450869]
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
test eax, eax
je 0x408dd1
mov dword [0x45086d], eax
push 0x40
push 0x3000
push 0x100000
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
or eax, eax
je 0x408dd1
mov dword [0x41122c], eax
mov esi, eax
push 0x451c4d
push 0x1024
push esi
push dword [0x45086d]
call dword [sym.imp.WININET.dll_InternetReadFile]
or eax, eax
je 0x408d92
or esi, esi
je 0x408d92
mov edi, dword [ebp + 8]
mov ebx, str._vpn_:_true
push str._vpn_:_true
push esi
call dword [sym.imp.shell32.dll_StrStrA]
or eax, eax
jne 0x408ccf
mov ebx, str._proxy_:_true
push str._proxy_:_true
push esi
call dword [sym.imp.shell32.dll_StrStrA]
or eax, eax
jne 0x408ccf
mov ebx, str._tor_:_true
push str._tor_:_true
push esi
call dword [sym.imp.shell32.dll_StrStrA]
or eax, eax
jne 0x408ccf
mov ebx, str._relay_:_true
push str._relay_:_true
push esi
call dword [sym.imp.shell32.dll_StrStrA]
or eax, eax
je 0x408cf3
mov dword [edi + 0x1ed], 0xffff
push dword [edi + 0x40]
push dword [edi + 0x3c]
push ebx
push str.___XRAY__Using_Proxy_Type:__s__Player:__s__IP:__s
call dword [0x450e53]
add esp, 0x10
jmp 0x408d92
xor ecx, ecx
inc ecx
cmp ecx, 0x400
ja 0x408d92
inc esi
cmp dword [esi], 0x22797274
jne 0x408cf5
add esi, 7
push 0x2000
push 0x451c4d
call dword [sym.imp.kernel32.dll_RtlZeroMemory]
mov dword [0x451c4d], 0x6b636f4c
mov ecx, 4
movzx eax, byte [esi]
cmp al, 0
je 0x408d42
cmp al, 0x22
je 0x408d42
mov byte [ecx + 0x451c4d], al
inc esi
inc ecx
jmp 0x408d2d
push 0x451c51
push dword [edi + 0x40]
push dword [edi + 0x3c]
push str.___XRAY__Player:__s__IP:__s__Country:__s
call dword [0x450e53]
add esp, 0x10
lea eax, [edi + 0x1cd]
push 0x20
push 0x451c4d
push eax
call dword [sym.imp.kernel32.dll_RtlMoveMemory]
cmp dword [0x4369f2], 0
je 0x408d92
push 0x451c4d
call fcn.0040967e
or eax, eax
je 0x408d92
cmp dword [eax], 0x6b636f6c
je 0x408ccf
push 0x8000
push 0
push dword [0x41122c]
call dword [sym.imp.kernel32.dll_VirtualFree]
push dword [0x45086d]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [0x450869]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0x2000
push 0x451c4d
call dword [sym.imp.kernel32.dll_RtlZeroMemory]
xor eax, eax
jmp 0x408dd6
mov eax, 1
pop edi
pop esi
pop edx
pop ecx
pop ebx
leave
ret 4
Function at 0x40967e
Capabilities:
Packed with generic packer

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
push ebx
push ecx
push edx
mov esi, dword [ebp + 8]
dec esi
xor ebx, ebx
xor ecx, ecx
dec ecx
inc esi
movzx eax, byte [esi]
cmp al, 0
je 0x4096cd
cmp al, 0x61
jae 0x4096b1
cmp al, 0x5b
jae 0x409691
cmp al, 0x41
jae 0x4096b1
cmp al, 0x2a
jae 0x409691
cmp al, 0x20
jae 0x409691
cmp al, 0x5f
je 0x409691
inc ecx
cmp al, 0x41
jb 0x4096c5
cmp al, 0x5a
jbe 0x4096c2
cmp al, 0xc0
jb 0x4096c5
cmp al, 0xdf
ja 0x4096c5
add eax, 0x20
mov byte [ecx + 0x42d7cf], al
jmp 0x409691
xor edi, edi
dec edi
inc edi
cmp edi, 0x3e8
jae 0x40971d
mov eax, dword [edi*4 + 0x42d904]
or eax, eax
je 0x40971d
lea eax, [eax]
push eax
push 0x42d7cf
call dword [sym.imp.shell32.dll_StrStrA]
or eax, eax
je 0x4096d0
mov eax, dword [edi*4 + 0x42d904]
or eax, eax
je 0x40971d
lea eax, [eax]
inc edi
pushal
push dword [ebp + 8]
push eax
push edi
push str.___XRAY__Found:_cencor__d_s._Found_in:__s
call dword [0x450e53]
add esp, 0x10
popal
mov ebx, eax
jmp 0x40971f
xor ebx, ebx
cmp byte [0x42d7cf], 0
je 0x409738
push 0x100
push 0x42d7cf
call dword [sym.imp.kernel32.dll_RtlZeroMemory]
mov eax, ebx
pop edx
pop ecx
pop ebx
pop edi
pop esi
leave
ret 4

Function at 0x40b79f
Capabilities:
Packed with generic packer
Read .ini file

Disassembly:
pushal
push 0x100
push 0x407e78
call dword [sym.imp.kernel32.dll_RtlZeroMemory]
call fcn.0040bcb2
push 0
push 0x423f7f
push 0x104
push str.xray_mods.ini
call dword [sym.imp.kernel32.dll_GetFullPathNameA]
push 0x423f7f
push 0x400
push 0x424083
call dword [sym.imp.kernel32.dll_GetPrivateProfileSectionNamesA]
or eax, eax
je 0x40b86e
mov esi, 0x424083
cmp byte [esi], 0
je 0x40b85b
mov edi, 0x42c483
lodsb al, byte [esi]
stosb byte es:[edi], al
or al, al
jne 0x40b7f8
push esi
push 0x423f7f
push 0x8000
push 0x424483
push 0x42c483
call dword [sym.imp.kernel32.dll_GetPrivateProfileSectionA]
or eax, eax
je 0x40b858
mov esi, 0x424483
cmp byte [esi], 0
je 0x40b858
mov edi, 0x42c583
lodsb al, byte [esi]
cmp al, 0x3d
je 0x40b834
stosb byte es:[edi], al
jmp 0x40b82c
xor eax, eax
stosb byte es:[edi], al
mov edi, 0x42c683
lodsb al, byte [esi]
stosb byte es:[edi], al
or al, al
jne 0x40b83c
push 0x42c683
push 0x42c583
push 0x42c483
call fcn.0040b870
jmp 0x40b822
pop esi
jmp 0x40b7ee
push 0x407db2
push str.__XRAY__xray_mods.ini_success_loaded___s_.
call dword [0x450e53]
add esp, 8
popal
ret
Function at 0x1000120d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebp + 0xc], 0
xorps xmm0, xmm0
push ebx
mov ebx, ecx
movlpd qword [ebp - 8], xmm0
jb 0x10001242
ja 0x10001210
cmp dword [ebp + 8], 0
jbe 0x10001242
push esi
mov esi, dword [ebp - 8]
push edi
mov edi, dword [ebp - 4]
mov eax, dword [ebp + 0x10]
mov ecx, esi
mov edx, dword [ebp + 0x14]
and ecx, 7
shl ecx, 3
call fcn.10022950
xor byte [esi + ebx], al
add esi, 1
adc edi, 0
cmp edi, dword [ebp + 0xc]
jb 0x10001218
ja 0x10001240
cmp esi, dword [ebp + 8]
jb 0x10001218
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10006d47
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x10]
push ebx
mov ebx, ecx
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jg 0x10006d68
jl 0x10006d5f
test edi, edi
jne 0x10006d68
xor eax, eax
xor edx, edx
jmp 0x10006e29
cmp dword [ebx + 0x38], 0
je 0x10006d7d
push eax
push edi
push dword [ebp + 8]
call fcn.10006e2f
jmp 0x10006e29
mov eax, dword [ebx + 0x1c]
push esi
mov esi, edi
mov ecx, dword [eax]
test ecx, ecx
je 0x10006dc4
mov eax, dword [ebx + 0x2c]
mov eax, dword [eax]
mov dword [ebp - 4], eax
test eax, eax
je 0x10006dc4
cmp eax, edi
jb 0x10006d9e
mov eax, edi
mov dword [ebp - 4], edi
push eax
push ecx
push dword [ebp + 8]
call fcn.100096b0
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, dword [ebp + 8]
sub esi, ecx
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x2c]
sub dword [eax], ecx
mov eax, dword [ebx + 0x1c]
add dword [eax], ecx
jmp 0x10006dca
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
cmp dword [ebx + 0x4c], 0
je 0x10006e1e
mov ecx, ebx
call fcn.100065de
mov ecx, dword [ebp - 4]
mov edx, esi
mov eax, 0xfff
cmp esi, eax
jbe 0x10006e09
push dword [ebx + 0x4c]
push eax
push 1
push ecx
call fcn.1000fd21
mov ecx, dword [ebp - 4]
sub esi, eax
add ecx, eax
add esp, 0x10
mov dword [ebp - 4], ecx
mov edx, esi
cmp eax, 0xfff
jne 0x10006e1e
jmp 0x10006ddc
test edx, edx
je 0x10006e1e
push dword [ebx + 0x4c]
push esi
push 1
push ecx
call fcn.1000fd21
add esp, 0x10
sub esi, eax
mov edx, dword [ebp + 0x10]
sub edi, esi
mov eax, edi
sbb edx, 0
pop esi
pop edi
pop ebx
leave
ret 0xc

Function at 0x10017f3a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10017dab

Function at 0x10022850
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1002287d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1002287d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x406300
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f41e8
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
mov eax, dword [0x545628]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0xc], vtable.t_env.0
mov dword [esp + 0x14], fcn.004d1df2
mov dword [esp + 0x18], fcn.004d2a0a
mov dword [esp + 0x1c], fcn.004d1d15
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], 0x4000
mov dword [esp + 0x10], vtable.t_heap.0
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov byte [esp + 0x30], bl
mov eax, dword [ebp + 8]
push eax
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x48], ebx
call fcn.00406100
add esp, 8
cmp eax, ebx
je 0x4063c9
lea ebx, [esp + 0xc]
call fcn.0040cd60
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x40], 0xffffffff
lea ecx, [esp + 0x10]
mov dword [edx], eax
mov dword [esp + 0xc], vtable.t_env.0
mov dword [esp + 0x10], vtable.allocator_unsigned_char__class_TAllocDefault_.0
call fcn.00404c20
mov al, 1
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [esp + 0x40], 0xffffffff
lea ecx, [esp + 0x10]
mov dword [esp + 0xc], vtable.t_env.0
mov dword [esp + 0x10], vtable.allocator_unsigned_char__class_TAllocDefault_.0
call fcn.00404c20
xor al, al
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x406ae0
Capabilities:
Get keyboard layout
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4f2276
mov eax, dword fs:[0]
push eax
sub esp, 0x718
mov eax, dword [0x545628]
xor eax, esp
mov dword [esp + 0x710], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x545628]
xor eax, esp
push eax
lea eax, [esp + 0x72c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x73c]
xor ebx, ebx
push 0x18c
lea ecx, [esp + 0x34]
push ebx
push ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], ebx
call fcn.004d6770
add esp, 0xc
lea edx, [esp + 0x2c]
push edx
push 0x64
call dword [sym.imp.USER32.dll_GetKeyboardLayoutList]
mov dword [esp + 0x20], eax
cmp eax, ebx
je 0x406d06
mov byte [esp + 0x1c], bl
mov dword [esp + 0x18], ebx
xor ebp, ebp
cmp eax, ebx
mov dword [esp + 0x734], ebx
jle 0x406cfd
mov eax, dword [esp + ebp*4 + 0x2c]
push 0x10
push 0x11
lea ecx, [esp + 0x2f8]
push ecx
push eax
call fcn.004d324f
add esp, 0x10
test eax, eax
jne 0x406cf2
mov ecx, 0x19
mov esi, 0x527130
lea edi, [esp + 0x314]
rep movsd dword es:[edi], dword [esi]
push 0x1a2
lea edx, [esp + 0x37e]
push ebx
push edx
movsw word es:[edi], word [esi]
call fcn.004d6770
lea eax, [esp + 0x2fc]
push eax
lea ecx, [esp + 0x324]
push 0x104
push ecx
call fcn.004d3269
mov esi, vtable.t_reg.0
add esp, 0x18
lea ecx, [esp + 0x1c8]
mov dword [esp + 0x1bc], esi
call fcn.00410c10
mov eax, str.HKEY_LOCAL_MACHINE
lea edx, [esp + 0x1c8]
mov dword [esp + 0x1c0], ebx
mov dword [esp + 0x1c4], reloc.OLEAUT32.dll_SysReAllocString
call fcn.00410e40
push 1
push ebx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x320]
lea ecx, [esp + 0x1c8]
mov byte [esp + 0x740], 1
call fcn.00411e70
test al, al
jne 0x406c95
mov byte [esp + 0x734], bl
mov eax, dword [esp + 0x1c0]
mov dword [esp + 0x1bc], esi
cmp eax, ebx
je 0x406c59
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0x1c0], ebx
mov dword [esp + method.t_str.virtual_0], vtable.t_str.0
cmp byte [esp + 0x2e4], bl
jne 0x406cf2
mov eax, dword [esp + 0x1d0]
lea ecx, [esp + 0x1d4]
cmp eax, ecx
je 0x406cf2
push eax
call fcn.004d1d15
add esp, 4
jmp 0x406cf2
push 1
lea edx, [esp + 0x2c]
push edx
lea eax, [esp + 0x524]
push eax
lea ecx, [esp + 0x24]
push ecx
mov eax, str.Ime_File
lea ecx, [esp + 0x1cc]
mov dword [esp + 0x38], 0x208
call fcn.00412020
test al, al
je 0x406cdf
mov edx, dword [esp + 0x24]
push edx
lea eax, [esp + 0x520]
push eax
call fcn.004d1734
add esp, 8
test eax, eax
je 0x406d30
lea ecx, [esp + 0x1bc]
mov byte [esp + 0x734], bl
call fcn.00411e20
inc ebp
cmp ebp, dword [esp + 0x20]
jl 0x406b71
lea ecx, [esp + 0x18]
call fcn.0040f9f0
xor eax, eax
mov ecx, dword [esp + 0x72c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x710]
xor ecx, esp
call fcn.004d158d
add esp, 0x724
ret
mov esi, dword [esp + ebp*4 + 0x2c]
lea ecx, [esp + 0x1bc]
call fcn.00411e20
lea ecx, [esp + 0x18]
call fcn.0040f9f0
mov eax, esi
jmp 0x406d08
Function at 0x407580
Capabilities:
Get system information on windows

Disassembly:
sub esp, 0x30
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x1c]
xor ebx, ebx
push eax
mov byte [esp + 0x17], 1
mov dword [esp + 0x1c], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov al, byte [esp + 0x30]
test al, al
jne 0x4075af
mov al, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
movzx ebp, al
lea edi, [ebp*8]
push edi
call fcn.004d1df2
mov esi, eax
push esi
mov eax, ebp
mov dword [esp + 0x1c], esi
call fcn.00405010
add esp, 8
test al, al
je 0x40764a
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
push edi
call fcn.004d1df2
mov dword [esp + 0x1c], eax
push eax
mov eax, ebp
call fcn.00405010
add esp, 8
test al, al
je 0x40764a
cmp ebp, ebx
mov byte [esp + 0x13], bl
jle 0x40764a
mov edi, dword [esp + 0x18]
sub edi, esi
mov ecx, dword [edi + esi]
sub ecx, dword [esi]
mov edx, dword [edi + esi + 4]
sbb edx, dword [esi + 4]
push 0
push 0x64
push edx
push ecx
call fcn.004e0590
push 0
push 0x989680
push edx
push eax
call fcn.004de2c0
mov ecx, 0x64
sub ecx, eax
cmp ecx, 0x3c
jb 0x407641
inc ebx
add esi, 8
cmp ebx, ebp
jl 0x407606
jmp 0x407646
mov byte [esp + 0x13], 1
mov esi, dword [esp + 0x14]
test esi, esi
je 0x407657
push esi
call fcn.004d1d15
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x407668
push eax
call fcn.004d1d15
add esp, 4
mov al, byte [esp + 0x13]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret
Function at 0x408430
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f40a8
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebp
mov eax, dword [0x545628]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x44]
xor ecx, ecx
mov ebp, vtable.t_env.0
mov dword [esp + 8], ebp
mov dword [esp + 0x10], fcn.004d1df2
mov dword [esp + 0x14], fcn.004d2a0a
mov dword [esp + 0x18], fcn.004d1d15
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], 0x4000
mov dword [esp + 0xc], vtable.t_heap.0
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], ecx
mov byte [esp + 0x2c], cl
mov dword [esp + 0x38], ecx
cmp eax, ecx
jne 0x408510
push esi
lea eax, [esp + 0xc]
push eax
push edi
mov byte [ebx], cl
call fcn.00486d60
mov ecx, eax
call fcn.004865b0
test al, al
jne 0x4084ec
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0xc]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], vtable.allocator_unsigned_char__class_TAllocDefault_.0
call fcn.00404c20
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebp
add esp, 0x34
ret
mov ecx, dword [0x5484fc]
push ecx
lea ecx, [esp + 0xc]
call fcn.0040cd90
test al, al
je 0x408527
mov edx, dword [0x548500]
push edx
lea ecx, [esp + 0xc]
call fcn.0040cde0
push esi
push eax
mov eax, dword [esp + 0x48]
push eax
push edi
call fcn.0048c0a0
add esp, 0x10
test al, al
je 0x4084bc
mov byte [ebx], 1
mov dword [esp + 0x38], 0xffffffff
lea ecx, [esp + 0xc]
mov dword [esp + 8], ebp
mov dword [esp + 0xc], vtable.allocator_unsigned_char__class_TAllocDefault_.0
call fcn.00404c20
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop ebp
add esp, 0x34
ret
Function at 0x408980
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f1840
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
mov eax, dword [0x545628]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
xor ebx, ebx
mov byte [esp + 0x14], bl
mov dword [esp + 0x10], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x1c], fcn.004d1df2
mov dword [esp + 0x20], fcn.004d2a0a
mov dword [esp + 0x24], fcn.004d1d15
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 0x1fff8
mov dword [esp + 0x18], vtable.t_heap.0
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x48], 1
push str.UserManager
mov dword [esp + 0x20], ebx
mov esi, 0x51a6a0
call fcn.004049b0
add esp, 4
mov ecx, eax
call fcn.0048bde0
test al, al
je 0x408a26
mov eax, dword [esp + 0xc]
cmp eax, ebx
je 0x408a26
mov esi, dword [eax + 4]
jmp 0x408a2f
lea ecx, [esp + 0x10]
call fcn.0040faa0
mov edx, dword [esp + 0x40]
mov eax, esi
call fcn.00410e40
mov byte [esp + 0x38], bl
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], vtable.allocator_unsigned_char__class_TAllocDefault_.0
cmp eax, ebx
je 0x408a67
mov edi, edi
mov ecx, dword [eax + 4]
push eax
mov dword [esp + 0x2c], ecx
call dword [esp + 0x28]
mov eax, dword [esp + 0x2c]
add esp, 4
cmp eax, ebx
jne 0x408a50
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], ebx
call fcn.0040f9f0
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x30
ret
Function at 0x40d670
Capabilities:
Create directory

Disassembly:
sub esp, 0x248
mov eax, dword [0x545628]
xor eax, esp
mov dword [esp + 0x240], eax
push esi
xor eax, eax
push 0x206
mov esi, ecx
push eax
lea ecx, [esp + 0x42]
push ecx
mov word [esp + 0x44], ax
call fcn.004d6770
add esp, 0xc
cmp byte [esi + 0x11c], 0
lea eax, [esi + 0xc]
jne 0x40d6b0
mov eax, dword [esi + 8]
add eax, 4
push eax
lea edx, [esp + 0x3c]
push 0x104
push edx
call fcn.004d2c76
add esp, 0xc
lea eax, [esp + 0x38]
push 0x5c
push eax
call fcn.004d3998
add esp, 8
test eax, eax
jne 0x40d711
cmp byte [esi + 0x11c], al
je 0x40d6e6
add esi, 0xc
jmp 0x40d6e9
mov esi, dword [esi + 8]
add esi, 4
push esi
push 0x52a0fc
push edi
call fcn.0040fb00
add esp, 0xc
pop esi
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.004d158d
add esp, 0x248
ret
xor ecx, ecx
lea edx, [esp + 8]
mov word [eax], cx
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.004d35bd
add esp, 8
test eax, eax
je 0x40d789
push 0
lea ecx, [esp + 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x40d766
lea edx, [esp + 0x38]
push edx
push 0x52a110
push edi
call fcn.0040fb00
add esp, 0xc
pop esi
mov ecx, dword [esp + 0x240]
xor ecx, esp
call fcn.004d158d
add esp, 0x248
ret
push 0x10000000
lea eax, [esp + 0x3c]
push 1
push eax
call fcn.00418ce0
add esp, 0xc
lea ecx, [esp + 0x38]
push 1
push ecx
call fcn.00418f70
add esp, 8
mov ecx, dword [esp + 0x244]
pop esi
xor ecx, esp
mov al, 1
call fcn.004d158d
add esp, 0x248
ret