joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4396b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5e4310
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x64c874]
xor eax, esp
mov dword [esp + 0x74], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x8c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x9c]
xor esi, esi
push 0xffffffffffffffff
mov edi, 7
push esi
mov eax, ebp
lea ecx, [esp + 0x74]
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], esi
mov word [esp + 0x78], si
call fcn.00402580
lea eax, [esp + 0x50]
push eax
mov ecx, ebp
mov dword [esp + 0x98], esi
call fcn.0042adc0
add esp, 4
mov ebx, 1
mov byte [esp + 0x94], bl
mov ecx, dword [esp + 0x64]
cmp ecx, esi
je 0x439780
mov eax, dword [esp + 0x80]
sub eax, ecx
lea ecx, [esp + 0x6c]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0042b7f0
add esp, 4
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x74]
mov byte [esp + 0x9c], 2
call fcn.00402580
cmp dword [esp + 0x30], 8
jb 0x439780
mov edx, dword [esp + 0x1c]
push edx
call fcn.0059b877
add esp, 4
mov dword [esp + 0x4c], edi
mov dword [esp + 0x48], esi
mov word [esp + 0x38], si
push ebx
mov dword [esp + 0x18], ebx
lea ecx, [esp + 0x38]
lea ebx, [esp + 0x54]
lea edi, [esp + 0x70]
mov byte [esp + 0x98], 3
call fcn.004398e0
add esp, 4
test al, al
je 0x4397e1
mov eax, dword [esp + 0x14]
add eax, 1
cmp eax, 0x100000
mov dword [esp + 0x14], eax
jg 0x439876
push eax
lea ecx, [esp + 0x38]
lea ebx, [esp + 0x54]
lea edi, [esp + 0x70]
call fcn.004398e0
add esp, 4
test al, al
jne 0x4397b2
push 0xffffffffffffffff
push esi
lea eax, [esp + 0x3c]
mov ecx, ebp
call fcn.00402580
mov edi, 8
cmp dword [esp + 0x4c], edi
jb 0x439807
mov eax, dword [esp + 0x38]
push eax
call fcn.0059b877
add esp, 4
cmp dword [esp + 0x68], edi
mov ebx, 7
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], esi
mov word [esp + 0x38], si
jb 0x43982c
mov ecx, dword [esp + 0x54]
push ecx
call fcn.0059b877
add esp, 4
cmp dword [esp + 0x84], edi
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], esi
mov word [esp + 0x54], si
jb 0x43984f
mov edx, dword [esp + 0x70]
push edx
call fcn.0059b877
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x8c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.005b88a9
add esp, 0x84
ret
mov edi, 8
cmp dword [esp + 0x4c], edi
jb 0x43988e
mov eax, dword [esp + 0x38]
push eax
call fcn.0059b877
add esp, 4
cmp dword [esp + 0x68], edi
mov ebx, 7
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x48], esi
mov word [esp + 0x38], si
jb 0x4398b3
mov ecx, dword [esp + 0x54]
push ecx
call fcn.0059b877
add esp, 4
cmp dword [esp + 0x84], edi
mov dword [esp + 0x68], ebx
mov dword [esp + 0x64], esi
mov word [esp + 0x54], si
jb 0x4398d6
mov edx, dword [esp + 0x70]
push edx
call fcn.0059b877
add esp, 4
xor al, al
jmp 0x439851
Function at 0x4398e0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub esp, 0x4c
mov eax, dword [0x64c874]
xor eax, esp
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x50]
cdq
push esi
push edx
mov esi, ecx
push eax
lea ecx, [esp + 0x10]
call fcn.0042b030
add esp, 8
push 0xffffffffffffffff
push 0
mov eax, edi
mov ecx, esi
call fcn.00402580
push 1
push 0x6117c4
mov ecx, esi
call fcn.00402670
lea eax, [esp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x439926
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00402670
push 1
push 0x6106b4
mov ecx, esi
call fcn.00402670
push 0
push ebx
or eax, 0xffffffff
call fcn.00402990
cmp dword [esi + 0x18], 8
jb 0x439966
mov esi, dword [esi + 4]
jmp 0x439969
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov al, cl
mov ecx, dword [esp + 0x4c]
pop esi
xor ecx, esp
call fcn.005b88a9
add esp, 0x4c
ret

Function at 0x439b20
Capabilities:
Get file size

Disassembly:
sub esp, 0x44
lea eax, [esp]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x439b38
xor al, al
add esp, 0x44
ret
lea ecx, [esp + 0xc]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
mov eax, dword [esp + 0xc]
shr eax, 9
and al, 1
add esp, 0x44
ret

Function at 0x439b60
Capabilities:
Get file size

Disassembly:
sub esp, 0x44
lea eax, [esp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
jne 0x439b79
mov al, 1
add esp, 0x44
ret
mov ecx, dword [esp + 8]
mov edx, dword [esp + 0xc]
xor eax, eax
push eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
push 0x20
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x10
mov dword [esp + 0x30], edx
lea edx, [esp + 0x24]
push edx
push 0x940cf
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x439b73
xor eax, eax
cmp dword [esp + 4], 0x10
setne al
add esp, 0x44
ret

Function at 0x439bd0
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x64
mov eax, dword [0x64c874]
xor eax, esp
mov dword [esp + 0x5c], eax
push esi
push edi
mov esi, ecx
test esi, esi
mov edi, edx
mov dword [edi], 0
je 0x439c5c
cmp ebx, 1
jl 0x439c5c
push 0x58
lea eax, [esp + 0xc]
push 0
push eax
call fcn.005be600
add esp, 0xc
test ebx, ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 0x10], 0x67452301
mov dword [esp + 0x14], 0xefcdab89
mov dword [esp + 0x18], 0x98badcfe
mov dword [esp + 0x1c], 0x10325476
jle 0x439c53
push 0
lea ecx, [esp + 0xc]
push ebx
push ecx
lea eax, [ebx*8]
mov ecx, ebx
mov edx, esi
call fcn.0046dd90
add esp, 0xc
lea esi, [esp + 8]
call fcn.0046de40
mov ecx, dword [esp + 0x64]
pop edi
pop esi
xor ecx, esp
call fcn.005b88a9
add esp, 0x64
ret
Function at 0x439c90
Capabilities:
Hash data with md5
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x5dde00
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push ebp
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov ebx, ecx
push 0x68
call fcn.0059b847
mov esi, eax
mov dword [esp + 0x20], esi
xor eax, eax
lea ebp, [esi + 0x58]
xor edi, edi
mov dword [esp + 0x38], edi
mov dword [ebp], eax
push 0x58
mov dword [ebp + 4], eax
push edi
mov dword [ebp + 8], eax
push esi
mov dword [ebp + 0xc], eax
call fcn.005be600
add esp, 0x10
mov dword [esi + 4], edi
mov dword [esi], edi
mov dword [esi + 8], 0x67452301
mov dword [esi + 0xc], 0xefcdab89
mov dword [esi + 0x10], 0x98badcfe
mov dword [esi + 0x14], 0x10325476
mov byte [esp + 0x34], 1
cmp dword [ebx + 0x18], 8
jb 0x439d1a
mov ebx, dword [ebx + 4]
jmp 0x439d1d
add ebx, 4
push edi
push 0x80
push 3
push edi
push 1
push SysReAllocStringLen
push ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
cmp ebx, 0xffffffff
mov dword [esp + 0x18], ebx
je 0x439d65
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
lea edi, [esp + 0x20]
lea eax, [esp + 0x18]
call fcn.00431680
mov eax, dword [esp + 0x20]
or eax, dword [esp + 0x24]
jne 0x439d84
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.0059b877
add esp, 4
xor al, al
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
push 0x10000
mov dword [esp + 0x18], 0
call fcn.0059b872
mov edi, eax
add esp, 4
test edi, edi
je 0x439d5e
push 0
lea ecx, [esp + 0x18]
push ecx
push 0x10000
push edi
push ebx
mov dword [esp + 0x28], 0
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x439df0
mov ecx, dword [esp + 0x14]
test ecx, ecx
seta al
test al, al
je 0x439df0
test ecx, ecx
je 0x439df0
jle 0x439d9f
mov edx, dword [esi]
shr edx, 3
and edx, 0x3f
push edx
push ecx
lea eax, [ecx*8]
push esi
mov edx, edi
call fcn.0046dd90
add esp, 0xc
jmp 0x439d9f
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x439dfe
or ebx, 0xffffffff
push edi
call fcn.0059b877
add esp, 4
mov edi, ebp
call fcn.0046de40
cmp ebx, 0xffffffff
mov ecx, dword [ebp]
mov eax, dword [esp + 0x3c]
mov dword [eax], ecx
mov edx, dword [ebp + 4]
mov dword [eax + 4], edx
mov ecx, dword [ebp + 8]
mov dword [eax + 8], ecx
mov edx, dword [ebp + 0xc]
mov dword [eax + 0xc], edx
je 0x439e35
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call fcn.0059b877
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x24
ret
Function at 0x439f50
Capabilities:
Check os version
Get system information on windows

Disassembly:
sub esp, 0x144
mov eax, dword [0x64c874]
xor eax, esp
mov dword [esp + 0x140], eax
push ebp
mov ebp, dword [esp + 0x14c]
push 0x11c
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.005be600
add esp, 0xc
lea ecx, [esp + 4]
push ecx
mov dword [esp + 0x2c], 0x11c
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
lea edx, [esp + 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x439fba
xor al, al
pop ebp
mov ecx, dword [esp + 0x140]
xor ecx, esp
call fcn.005b88a9
add esp, 0x144
ret
mov eax, dword [esp + 0x2c]
sub eax, 4
push edi
je 0x43a088
sub eax, 1
je 0x43a026
sub eax, 1
jne 0x43a0c8
mov eax, dword [esp + 0x34]
sub eax, 0
je 0x43a007
sub eax, 1
jne 0x43a0c8
cmp byte [esp + 0x146], 1
push esi
jne 0x439ffd
mov edx, str.Microsoft_Windows_7
jmp 0x43a0c3
mov edx, str.Microsoft_Windows_Server_2008_R2
jmp 0x43a0c3
cmp byte [esp + 0x146], 1
push esi
jne 0x43a01c
mov edx, str.Microsoft_Windows_Vista
jmp 0x43a0c3
mov edx, str.Microsoft_Windows_Server_2008
jmp 0x43a0c3
mov eax, dword [esp + 0x34]
sub eax, 0
je 0x43a081
sub eax, 1
je 0x43a07a
sub eax, 1
jne 0x43a0c8
cmp byte [esp + 0x146], 1
jne 0x43a056
cmp word [esp + 8], 9
jne 0x43a056
mov edx, str.Microsoft_Windows_XP_Professional_x64_Edition
jmp 0x43a0c2
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x59
call edi
test eax, eax
jne 0x43a06b
mov edx, str.Microsoft_Windows_Server_2003
jmp 0x43a0c2
push 0x59
call edi
test eax, eax
je 0x43a0c8
mov edx, str.Microsoft_Windows_Server_2003_R2
jmp 0x43a0c2
mov edx, str.Microsoft_Windows_XP
jmp 0x43a0c2
mov edx, str.Microsoft_Windows_2000
jmp 0x43a0c2
mov eax, dword [esp + 0x34]
test eax, eax
je 0x43a0a8
cmp eax, 0xa
je 0x43a0a1
cmp eax, 0x5a
jne 0x43a0c8
mov edx, str.Microsoft_Windows_Me
jmp 0x43a0c2
mov edx, str.Microsoft_Windows_98
jmp 0x43a0c2
mov eax, dword [esp + 0x3c]
cmp eax, 2
jne 0x43a0b8
mov edx, 0x6112f0
jmp 0x43a0c2
cmp eax, 1
jne 0x43a0c8
mov edx, str.Microsoft_Windows_95
push esi
call fcn.00403990
cmp dword [esi + 0x14], 0
pop edi
je 0x439fa2
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x144]
mov dword [ebp], eax
pop ebp
xor ecx, esp
mov al, 1
call fcn.005b88a9
add esp, 0x144
ret
Function at 0x43a470
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5dca28
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [eax]
xor esi, esi
mov dword [esp + 0xc], vtable.GameMgr::GMBuffer_unsigned_char_.0
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], esi
lea ecx, [esp + 0xc]
push ecx
mov dword [esp + 0x2c], esi
call fcn.0046ba40
test al, al
jne 0x43a4d3
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x43a527
push eax
jmp 0x43a51f
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov eax, dword [ebp + 8]
mov ecx, dword [ebx]
push edx
push esi
push edi
push 0
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
neg eax
sbb eax, eax
inc eax
je 0x43a51a
test esi, esi
mov dword [ebx + 4], eax
je 0x43a504
push esi
call fcn.0059b877
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8
test esi, esi
je 0x43a527
push esi
call fcn.0059b877
add esp, 4
xor al, al
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 8

Function at 0x43a540
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [esp + 0x10]
push esi
push edi
push 0x400
mov esi, eax
mov dword [esp + 0x14], 1
xor bl, bl
call fcn.005bb3f9
push 0x400
mov edi, eax
push 0
push edi
call fcn.005be600
mov edx, dword [esp + 0x2c]
add esp, 0x10
lea eax, [esp + 0x18]
push eax
mov eax, dword [ebp]
push edi
lea ecx, [esp + 0x18]
push ecx
push 0
push edx
push eax
mov dword [esp + 0x30], 0x400
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x43a5b6
mov dword [ebp + 4], eax
mov eax, esi
call fcn.0042a090
push edi
call fcn.005b9797
add esp, 4
mov al, bl
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 8
mov eax, edi
mov bl, 1
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43a5c0
sub eax, edx
sar eax, 1
push eax
push edi
call fcn.00402770
push edi
call fcn.005b9797
add esp, 4
pop edi
pop esi
pop ebp
mov al, bl
pop ebx
pop ecx
ret 8

Function at 0x43a5f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push ebx
mov ecx, 4
mov dword [esp + 8], ecx
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
push ecx
push eax
lea edx, [esp + 0x10]
push edx
mov dword [eax], 0
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi]
push 0
push eax
push ecx
xor bl, bl
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x43a634
mov dword [esi + 4], eax
mov al, bl
pop ebx
add esp, 8
ret 4
mov al, 1
pop ebx
add esp, 8
ret 4
Function at 0x43a640
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5ee718
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov edx, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
xor ebx, ebx
lea eax, [esp + 0x14]
push eax
mov eax, dword [esi]
push ebx
lea ecx, [esp + 0x20]
push ecx
push ebx
push edx
push eax
mov dword [esp + 0x30], ebx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
je 0x43a69b
mov dword [esi + 4], eax
jmp 0x43a700
mov edi, dword [esp + 0x14]
lea esi, [esp + 0x1c]
mov dword [esp + 0x1c], vtable.GameMgr::GMBuffer_unsigned_char_.0
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
call fcn.0042dd60
mov edi, dword [ebp + 0x10]
mov dword [esp + 0x38], ebx
mov esi, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
mov edx, dword [ebp + 8]
push esi
lea eax, [esp + 0x20]
push eax
mov dword [edi], ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [edx]
push ebx
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
je 0x43a717
mov ecx, dword [ebp + 8]
mov dword [ecx + 4], eax
cmp esi, ebx
je 0x43a700
push esi
call fcn.0059b877
add esp, 4
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [esp + 0x14]
push esi
mov edx, edi
call fcn.0046a8c0
test al, al
je 0x43a6f3
cmp esi, ebx
je 0x43a734
push esi
call fcn.0059b877
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x43bda0
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
mov ebx, eax
test ebx, ebx
push esi
push edi
jne 0x43bdf7
cmp byte [ebp + 0x2c], al
jne 0x43bdee
mov byte [ebp + 0x2c], 1
mov dword [ebp + 0x30], 2
mov ebx, dword [str.Failed_to_open_file]
mov eax, ebx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x43bdd0
sub eax, edx
lea edi, [ebp + 0x34]
mov esi, eax
call fcn.0043d680
or eax, 0xffffffff
mov dword [ebp + 0x40], eax
mov dword [ebp + 0x3c], eax
pop edi
pop esi
pop ebp
xor al, al
pop ebx
ret 4
mov edi, ebp
call fcn.0043b370
push 2
or eax, 0xffffffff
push 0
push ebx
mov dword [ebp + 8], eax
mov dword [ebp + 4], eax
call fcn.005b9a8d
push ebx
call fcn.005ba31e
push 0
push 0
push ebx
mov edi, eax
call fcn.005b9a8d
add esp, 0x1c
test edi, edi
jg 0x43be51
cmp byte [ebp + 0x2c], 0
jne 0x43bdee
mov byte [ebp + 0x2c], 1
mov dword [ebp + 0x30], 0xc
mov ebx, dword [str.Error_document_empty.]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x43be46
jmp 0x43bdd9
lea eax, [edi + 1]
push eax
call fcn.0059b847
push ebx
push 1
mov esi, eax
push edi
push esi
mov byte [esi], 0
call fcn.005ba628
add esp, 0x14
cmp eax, 1
je 0x43beae
push esi
call fcn.0059b877
add esp, 4
cmp byte [ebp + 0x2c], 0
jne 0x43bdee
mov byte [ebp + 0x2c], 1
mov dword [ebp + 0x30], 2
mov ebx, dword [str.Failed_to_open_file]
mov eax, ebx
lea edx, [eax + 1]
lea ebx, [ebx]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x43bea0
jmp 0x43bdd9
mov byte [esi + edi], 0
cmp byte [esi], 0
mov eax, esi
mov ecx, esi
je 0x43bee4
jmp 0x43bec0
mov dl, byte [eax]
cmp dl, 0xd
jne 0x43bed7
mov byte [ecx], 0xa
add eax, 1
add ecx, 1
cmp byte [eax], 0xa
jne 0x43bedf
jmp 0x43bedc
mov byte [ecx], dl
add ecx, 1
add eax, 1
cmp byte [eax], 0
jne 0x43bec0
push 0
mov byte [ecx], 0
mov edx, dword [ebp]
mov eax, dword [edx + 8]
push 0
push esi
mov ecx, ebp
call eax
push esi
call fcn.0059b877
add esp, 4
pop edi
xor eax, eax
cmp byte [ebp + 0x2c], al
pop esi
pop ebp
sete al
pop ebx
ret 4
Function at 0x441070
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5e4158
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edi, ecx
mov ebp, dword [esp + 0x8c]
mov eax, dword [ebp + 8]
sub eax, dword [ebp + 4]
mov esi, dword [edi + 0x14]
sub eax, 2
cmp esi, eax
mov ebx, 1
ja 0x4410da
cmp dword [edi + 0x18], eax
je 0x4410da
push ebx
push eax
call fcn.0040b9c0
test al, al
je 0x4410da
cmp dword [edi + 0x18], 0x10
mov dword [edi + 0x14], esi
jb 0x4410d3
mov eax, dword [edi + 4]
jmp 0x4410d6
lea eax, [edi + 4]
mov byte [eax + esi], 0
mov esi, dword [ebp + 4]
mov ecx, dword [ebp + 8]
sub ecx, ebx
add esi, ebx
cmp esi, ecx
mov dword [esp + 0x18], ecx
je 0x4412aa
jmp 0x4410f6
mov ecx, dword [esp + 0x18]
mov al, byte [esi]
add esi, ebx
cmp al, 0x22
mov byte [esp + 0x20], al
je 0x4412aa
cmp al, 0x5c
jne 0x4411f6
cmp esi, ecx
je 0x441211
mov al, byte [esi]
movsx eax, al
add esi, ebx
add eax, 0xffffffde
cmp eax, 0x53
mov dword [esp + 0x8c], esi
ja case.0x441137.35
movzx eax, byte [eax + 0x4412ec]
jmp dword [eax*4 + 0x4412c4]
push 0x22
jmp 0x4411fb
push 0x2f
jmp 0x4411fb
push 0x5c
jmp 0x4411fb
push 8
jmp 0x4411fb
push 0xc
jmp 0x4411fb
push 0xa
jmp 0x4411fb
push 0xd
jmp 0x4411fb
push 9
jmp 0x4411fb
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x8c]
push ecx
push ebp
lea ecx, [esp + 0x98]
call fcn.00441340
test al, al
je 0x44124d
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x40]
call fcn.0043f810
push 0
push eax
or eax, 0xffffffff
mov esi, edi
mov dword [esp + 0x88], ebx
call fcn.00432230
mov dword [esp + 0x80], 0xffffffff
cmp dword [esp + 0x58], 0x10
jb 0x4411d8
mov eax, dword [esp + 0x44]
push eax
call fcn.0059b877
add esp, 4
mov esi, dword [esp + 0x8c]
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], 0
mov byte [esp + 0x44], 0
jmp 0x441202
mov ecx, dword [esp + 0x20]
push ecx
mov eax, ebx
call fcn.004192a0
cmp esi, dword [esp + 0x18]
jne 0x4410f2
jmp 0x4412aa
push str.Empty_escape_sequence_in_string
lea ecx, [esp + 0x60]
call fcn.0040b0c0
mov edx, esi
mov esi, dword [esp + 0x88]
push ebp
lea ecx, [esp + 0x60]
mov dword [esp + 0x84], 0
call fcn.00441600
cmp dword [esp + 0x74], 0x10
mov bl, al
jb 0x4412aa
mov edx, dword [esp + 0x60]
push edx
jmp 0x4412a2
xor al, al
jmp 0x4412ac
push 0x1d
push str.Bad_escape_sequence_in_string
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], 0xf
mov dword [esp + 0x40], 0
mov byte [esp + 0x30], 0
call fcn.0040b860
mov edx, esi
mov esi, dword [esp + 0x88]
push ebp
lea ecx, [esp + 0x28]
mov dword [esp + 0x84], 2
call fcn.00441600
cmp dword [esp + 0x3c], 0x10
mov bl, al
jb 0x4412aa
mov eax, dword [esp + 0x28]
push eax
call fcn.0059b877
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x70
ret 8
Function at 0x441600
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5e0908
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x64c874]
xor eax, esp
mov dword [esp + 0x2c], eax
push ebx
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x4c]
mov edi, edx
xor edx, edx
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], edx
mov byte [esp + 0x1c], dl
mov dword [esp + 0x44], edx
mov ebx, dword [eax]
push 0xffffffffffffffff
mov dword [esp + 0x10], ebx
mov ebx, dword [eax + 4]
mov eax, dword [eax + 8]
push edx
push ecx
lea ecx, [esp + 0x24]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], eax
call fcn.0040b390
mov dword [esp + 0x34], edi
lea eax, [esi + 0x14]
lea edi, [esp + 0xc]
call fcn.00441920
cmp dword [esp + 0x30], 0x10
jb 0x441691
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.0059b877
add esp, 4
xor al, al
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.005b88a9
add esp, 0x3c
ret 4
Function at 0x44d360
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x5ddc88
mov eax, dword fs:[0]
push eax
push edi
mov eax, dword [0x64c874]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
xor edi, edi
mov dword [esp + 0x10], edi
mov dword [esi + 0xc], ecx
mov dword [esi + 8], eax
lea ecx, [esi + 0x10]
mov dword [esi], vtable.GameMgr::GMBTManager::GMSeedTask.0
mov dword [esi + 4], 1
push 0xffffffffffffffff
mov dword [ecx + 0x18], 7
mov dword [ecx + 0x14], edi
push edi
lea eax, [esp + 0x24]
mov word [ecx + 4], di
call fcn.00402580
cmp dword [esp + 0x34], 8
mov edx, dword [esp + 0x18]
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edx
jb 0x44d3dd
mov eax, dword [esp + 0x20]
push eax
call fcn.0059b877
add esp, 4
mov eax, esi
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0xc
ret 0x28