joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401cd0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x738
mov eax, dword [0x4748f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x72c], ecx
cmp dword [ebp + 8], 0
jne 0x401cf6
xor eax, eax
jmp 0x401f41
cmp dword [ebp + 0xc], 0
jne 0x401d03
xor eax, eax
jmp 0x401f41
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x730], eax
mov ecx, dword [ebp + 8]
push ecx
push 1
push 1
lea edx, [ebp - 0x71e]
push edx
call fcn.0042b820
add esp, 0x10
mov eax, dword [ebp - 0x72c]
add eax, 0x10
mov dword [ebp - 0x734], eax
mov dword [ebp - 0x738], 0
push 0x200
push 0
lea ecx, [ebp - 0x204]
push ecx
call fcn.0042a500
add esp, 0xc
mov edx, dword [ebp - 0x72c]
add edx, 0x10
push edx
call fcn.0042a590
add esp, 4
push eax
mov eax, dword [ebp - 0x72c]
add eax, 0x10
push eax
lea ecx, [ebp - 0x204]
push ecx
call fcn.00429eb0
add esp, 0xc
push pe_nt_image_headers32
lea edx, [ebp - 0x204]
push edx
lea eax, [ebp - 0x71c]
push eax
call fcn.004042d0
add esp, 0xc
mov cl, byte [ebp + 0x14]
mov byte [ebp - 0x71d], cl
mov dword [ebp - 0x728], 0
jmp 0x401dbd
mov edx, dword [ebp - 0x728]
add edx, 0x10
mov dword [ebp - 0x728], edx
mov eax, dword [ebp - 0x728]
cmp eax, dword [ebp - 0x730]
jge 0x401ebd
mov ecx, dword [ebp + 8]
push ecx
push 0x10
push 1
lea edx, [ebp - 0x604]
push edx
call fcn.0042b820
add esp, 0x10
cmp eax, 0x10
je 0x401e32
push 0
push str.Error__
push str.fread_Error__
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x400
push 0
lea eax, [ebp - 0x604]
push eax
call fcn.0042a500
add esp, 0xc
push 0x118
push 0
lea ecx, [ebp - 0x71c]
push ecx
call fcn.0042a500
add esp, 0xc
xor eax, eax
jmp 0x401f41
lea edx, [ebp - 0x604]
push edx
lea eax, [ebp - 0x604]
push eax
push 0
lea ecx, [ebp - 0x71c]
push ecx
call fcn.00402de0
add esp, 0x10
mov dword [ebp - 0x724], 0
jmp 0x401e6c
mov edx, dword [ebp - 0x724]
add edx, 1
mov dword [ebp - 0x724], edx
cmp dword [ebp - 0x724], 0x10
jge 0x401eb8
mov eax, dword [ebp - 0x728]
add eax, dword [ebp - 0x724]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x724]
mov dl, byte [ebp + edx - 0x604]
mov byte [ecx + eax], dl
movsx eax, byte [ebp - 0x71d]
mov ecx, dword [ebp - 0x728]
add ecx, dword [ebp - 0x724]
mov edx, dword [ebp + 0xc]
movsx ecx, byte [edx + ecx]
add eax, ecx
mov byte [ebp - 0x71d], al
jmp 0x401e5d
jmp 0x401dae
mov edx, dword [ebp + 8]
push edx
push 1
push 1
lea eax, [ebp - 0x71f]
push eax
call fcn.0042b820
add esp, 0x10
movsx ecx, byte [ebp - 0x71e]
movsx edx, byte [ebp - 0x71f]
cmp ecx, edx
jne 0x401ef8
movsx eax, byte [ebp - 0x71e]
movsx ecx, byte [ebp - 0x71d]
cmp eax, ecx
je 0x401f3c
push 0
push str.Error__
push str.CheckCrc_Error__
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x400
push 0
lea edx, [ebp - 0x604]
push edx
call fcn.0042a500
add esp, 0xc
push 0x118
push 0
lea eax, [ebp - 0x71c]
push eax
call fcn.0042a500
add esp, 0xc
xor eax, eax
jmp 0x401f41
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042bc10
mov esp, ebp
pop ebp
ret 0x10
Function at 0x401fc0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x100c
call fcn.0042c160
mov eax, dword [0x4748f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x100c], ecx
mov byte [ebp - 0x1004], 0x5e
mov byte [ebp - 0x1003], 0x21
mov byte [ebp - 0x1002], 0x5e
mov byte [ebp - 0x1001], 0x61
mov byte [ebp - 0x1000], 0x73
mov byte [ebp - 0xfff], 0x69
mov byte [ebp - 0xffe], 0x72
mov byte [ebp - 0xffd], 0x66
mov byte [ebp - 0xffc], 0x31
mov byte [ebp - 0xffb], 0x5e
mov byte [ebp - 0xffa], 0x23
mov byte [ebp - 0xff9], 0x36
mov byte [ebp - 0xff8], 0x38
mov byte [ebp - 0xff7], 0x30
mov byte [ebp - 0xff6], 0x6f
mov byte [ebp - 0xff5], 0x69
mov byte [ebp - 0xff4], 0x5b
mov byte [ebp - 0xff3], 0x73
mov byte [ebp - 0xff2], 0x64
mov byte [ebp - 0xff1], 0x66
mov byte [ebp - 0xff0], 0x67
mov byte [ebp - 0xfef], 0x38
mov byte [ebp - 0xfee], 0x39
mov byte [ebp - 0xfed], 0x70
mov byte [ebp - 0xfec], 0x6f
mov byte [ebp - 0xfeb], 0x61
mov byte [ebp - 0xfea], 0x38
mov byte [ebp - 0xfe9], 0x61
mov byte [ebp - 0xfe8], 0x62
mov byte [ebp - 0xfe7], 0x21
mov byte [ebp - 0xfe6], 0x40
mov byte [ebp - 0xfe5], 0x25
mov byte [ebp - 0xfe4], 0x51
mov byte [ebp - 0xfe3], 0x54
mov byte [ebp - 0xfe2], 0x51
mov byte [ebp - 0xfe1], 0x67
mov byte [ebp - 0xfe0], 0x73
mov byte [ebp - 0xfdf], 0x64
mov byte [ebp - 0xfde], 0x67
mov byte [ebp - 0xfdd], 0x51
mov byte [ebp - 0xfdc], 0x45
mov byte [ebp - 0xfdb], 0x54
mov byte [ebp - 0xfda], 0x59
mov byte [ebp - 0xfd9], 0x51
mov byte [ebp - 0xfd8], 0x66
mov byte [ebp - 0xfd7], 0x61
mov byte [ebp - 0xfd6], 0x31
mov byte [ebp - 0xfd5], 0x32
mov byte [ebp - 0xfd4], 0x34
mov byte [ebp - 0xfd3], 0x30
mov byte [ebp - 0xfd2], 0x2a
mov byte [ebp - 0xfd1], 0x2f
mov byte [ebp - 0xfd0], 0
push 0xfcb
push 0
lea eax, [ebp - 0xfcf]
push eax
call fcn.0042a500
add esp, 0xc
mov dword [ebp - 0x1008], 0
jmp 0x402181
mov ecx, dword [ebp - 0x1008]
add ecx, 1
mov dword [ebp - 0x1008], ecx
mov edx, dword [ebp - 0x100c]
mov eax, dword [ebp - 0x1008]
cmp eax, dword [edx + 4]
jge 0x4021e1
mov ecx, dword [ebp - 0x1008]
mov edx, dword [ecx*4 + 0x45e2c0]
cmp edx, dword [ebp + 8]
jne 0x4021df
mov eax, dword [ebp - 0x100c]
mov ecx, dword [ebp - 0x1008]
mov edx, dword [ecx*4 + 0x45e2c0]
mov dword [eax + 8], edx
push 0x1000
lea eax, [ebp - 0x1004]
push eax
mov ecx, dword [ebp - 0x100c]
add ecx, 0x10
push ecx
call fcn.00429eb0
add esp, 0xc
mov eax, 1
jmp 0x4021e3
jmp 0x402172
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042bc10
mov esp, ebp
pop ebp
ret 4
Function at 0x4053f0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a0
mov eax, dword [0x4748f0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x4783b8], 0
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
je 0x405456
push eax
push dword [ebp + 0xc]
push ecx
push str.ASSERT___file:_s_line:_d___s__do_you_debug_
push 0x4783c0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
push 0x40004
push 0
push 0x4783c0
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x40555b
int3
test eax, eax
je 0x405475
push eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x204]
push ecx
push str._s_line:_d__msg:_s_
push eax
call fcn.0042d170
add esp, 0x14
jmp 0x40548d
push dword [ebp + 0xc]
lea eax, [ebp - 0x204]
push ecx
push str._s_line:_d_
push eax
call fcn.0042d170
add esp, 0x10
push 0xff
lea eax, [ebp - 0x103]
mov byte [ebp - 0x104], 0
push 0
push eax
call fcn.0042a500
add esp, 0xc
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x20e]
push eax
movzx eax, word [ebp - 0x212]
push eax
movzx eax, word [ebp - 0x214]
push eax
lea eax, [ebp - 0x104]
push str.._Log_Assert__4d_02d_02d.txt
push eax
call fcn.0042d170
add esp, 0x14
cmp dword [0x4784d0], 0
jne 0x40555b
push edi
push 0
lea eax, [ebp - 0x29c]
push eax
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_OpenFile]
mov edi, eax
cmp edi, 0xffffffff
jne 0x405520
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042bc10
mov esp, ebp
pop ebp
ret
push esi
lea eax, [ebp - 0x2a0]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, dword [ebp - 0x2a0]
shl esi, 0x10
push edi
or esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x4784d0]
cmp esi, 0xf4240
mov ecx, 1
cmova eax, ecx
pop esi
mov dword [0x4784d0], eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042bc10
mov esp, ebp
pop ebp
ret
Function at 0x406320
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x4748f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
movzx ebx, ax
mov eax, dword [ebp + 0xc]
push esi
push edi
movzx eax, ax
mov edi, ecx
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp + 0x10]
push 0x45ec5c
push 0x45ec60
mov dword [ebp - 0x110], eax
call fcn.0042d120
mov esi, eax
add esp, 8
test esi, esi
je 0x40642d
lea eax, [ebp - 0x108]
push eax
push 0x45ec50
push esi
call fcn.0042e7b0
push esi
call fcn.0042cdb0
push dword [ebp - 0x108]
lea eax, [ebp - 0x104]
push str.serverset__d_serverlist.msl
push eax
call fcn.0042d170
add esp, 0x1c
lea eax, [ebp - 0x104]
mov ecx, 0x474348
push eax
call fcn.00408c60
push dword [ebp - 0x108]
lea eax, [ebp - 0x104]
push str.serverset__d_serverlist_Public.msl
push eax
call fcn.0042d170
add esp, 0xc
lea eax, [ebp - 0x104]
mov ecx, 0x474348
push eax
call fcn.00408e50
mov eax, dword [0x47434c]
mov dword [0x48b65c], eax
cmp eax, dword [ebp - 0x108]
je 0x406400
push 0
push 0x4c
push str..._CC_ServerModuleBootManager.cpp
call fcn.004053f0
add esp, 0xc
push dword [ebp - 0x10c]
mov ecx, edi
push ebx
call fcn.004065f0
mov ecx, dword [ebp - 0x110]
push eax
call fcn.004246c0
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042bc10
mov esp, ebp
pop ebp
ret 0xc
push 0
push 0
push str.serverset.txt
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.0042e790
int3

Function at 0x407ca0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
movzx eax, byte [edi + 0xc]
sub eax, 0x65
je 0x407ce3
sub eax, 3
je 0x407cd8
dec eax
je 0x407cd8
pop edi
pop esi
pop ebx
mov dword [ebp + 0x10], 0
mov dword [ebp + 0xc], 0x211
mov dword [ebp + 8], str..._CC_ServerModuleDataBase.cpp
pop ebp
jmp fcn.004053f0
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x407cfe
mov eax, dword [edi]
jmp 0x407cf3
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x407cfe
mov eax, dword [edi]
mov eax, dword [eax*4 + 0x474398]
test eax, eax
je 0x407cfe
push edi
push ebx
call eax
add esp, 8
mov eax, dword [ebp + 8]
push ebx
lea ecx, [eax + eax*2]
mov eax, dword [0x474338]
lea esi, [eax + ecx*4]
movzx eax, byte [edi + 0xc]
mov ecx, dword [esi]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x3c]
mov eax, dword [esi]
push dword [edi + 8]
push edi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x48]
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x408c60
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c3a8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x4748f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x48], esi
mov edi, dword [ebp + 8]
lea ecx, [esi + 8]
call fcn.004268b0
mov dword [ebp - 0x44], eax
test eax, eax
je 0x408cbe
lea eax, [ebp - 0x44]
push eax
lea ecx, [esi + 8]
call fcn.004268d0
push dword [eax]
call fcn.00429b70
add esp, 4
cmp dword [ebp - 0x44], 0
jne 0x408ca2
lea ecx, [esi + 8]
call fcn.00426ac0
push 0x45f314
push edi
call fcn.0042d120
push 0xe
mov dword [ebp - 0x58], eax
xor edi, edi
mov dword [ebp - 0x4c], 0xd
call fcn.00429a70
mov ebx, eax
mov edx, str.yunhozzang_
add esp, 0xc
mov dword [ebp - 0x50], ebx
sub eax, edx
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax + edx - 1], cl
test cl, cl
jne 0x408cf3
push dword [ebp - 0x58]
add esi, 4
mov dword [ebp - 4], 0
push 1
push 4
push esi
call fcn.0042b820
add esp, 0x10
cmp eax, 1
jne 0x408d3e
movzx eax, byte [ebx]
mov edi, 4
sub byte [esi], al
movzx eax, byte [ebx + 1]
sub byte [esi + 1], al
movzx eax, byte [ebx + 2]
sub byte [esi + 2], al
movzx eax, byte [ebx + 3]
sub byte [esi + 3], al
push 0x2e
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.0042a500
add esp, 0xc
mov edi, edi
mov esi, dword [ebp - 0x58]
lea eax, [ebp - 0x40]
push esi
push 1
push 0x2e
push eax
call fcn.0042b820
add esp, 0x10
cmp eax, 1
jne 0x408e12
xor ecx, ecx
nop
xor eax, eax
cmp edi, 0xd
cmove edi, eax
movzx eax, byte [ebx + edi]
inc edi
sub byte [ebp + ecx - 0x40], al
xor eax, eax
cmp edi, 0xd
cmove edi, eax
movzx eax, byte [ebx + edi]
inc edi
sub byte [ebp + ecx - 0x3f], al
add ecx, 2
cmp ecx, 0x2e
jl 0x408d70
cmp word [ebp - 0x40], 9
mov dword [ebp - 0x54], edi
jb 0x408db5
push 0
push 0
push 0x45f30a
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0x2e
call fcn.00429b20
mov esi, eax
add esp, 4
test esi, esi
je 0x408dd4
push 0x2e
push 0
push esi
call fcn.0042a500
add esp, 0xc
jmp 0x408dd6
xor esi, esi
movdqu xmm0, xmmword [ebp - 0x40]
mov ecx, dword [ebp - 0x48]
push esi
movdqu xmmword [esi], xmm0
movdqu xmm0, xmmword [ebp - 0x30]
lea ecx, [ecx + 8]
movdqu xmmword [esi + 0x10], xmm0
movq xmm0, qword [ebp - 0x20]
movq qword [esi + 0x20], xmm0
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x28], eax
mov ax, word [ebp - 0x14]
mov word [esi + 0x2c], ax
call fcn.00426700
jmp 0x408d50
push esi
call fcn.0042cdb0
push ebx
call fcn.0042ed00
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042bc10
mov esp, ebp
pop ebp
ret 4
Function at 0x408e50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c3d8
mov eax, dword fs:[0]
push eax
sub esp, 0x48
mov eax, dword [0x4748f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x44], esi
mov eax, dword [ebp + 8]
push 0x45f314
push eax
call fcn.0042d120
push 0xe
mov dword [ebp - 0x54], eax
xor edi, edi
mov dword [ebp - 0x48], 0xd
call fcn.00429a70
mov ebx, eax
mov edx, str.yunhozzang_
add esp, 0xc
mov dword [ebp - 0x4c], ebx
sub eax, edx
mov cl, byte [edx]
lea edx, [edx + 1]
mov byte [eax + edx - 1], cl
test cl, cl
jne 0x408eb0
push dword [ebp - 0x54]
add esi, 4
mov dword [ebp - 4], 0
push 1
push 4
push esi
call fcn.0042b820
add esp, 0x10
cmp eax, 1
jne 0x408efb
movzx eax, byte [ebx]
mov edi, 4
sub byte [esi], al
movzx eax, byte [ebx + 1]
sub byte [esi + 1], al
movzx eax, byte [ebx + 2]
sub byte [esi + 2], al
movzx eax, byte [ebx + 3]
sub byte [esi + 3], al
push 0x2e
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.0042a500
add esp, 0xc
mov esi, dword [ebp - 0x54]
mov edi, edi
push esi
push 1
lea eax, [ebp - 0x40]
push 0x2e
push eax
call fcn.0042b820
add esp, 0x10
cmp eax, 1
jne 0x408fc6
xor ecx, ecx
lea esp, [esp]
xor eax, eax
cmp edi, 0xd
cmove edi, eax
movzx eax, byte [ebx + edi]
inc edi
sub byte [ebp + ecx - 0x40], al
xor eax, eax
cmp edi, 0xd
cmove edi, eax
movzx eax, byte [ebx + edi]
inc edi
sub byte [ebp + ecx - 0x3f], al
add ecx, 2
cmp ecx, 0x2e
jl 0x408f30
cmp word [ebp - 0x40], 2
mov dword [ebp - 0x50], edi
jne 0x408f10
push 0x2e
call fcn.00429b20
mov esi, eax
add esp, 4
test esi, esi
je 0x408f83
push 0x2e
push 0
push esi
call fcn.0042a500
add esp, 0xc
jmp 0x408f85
xor esi, esi
movdqu xmm0, xmmword [ebp - 0x40]
mov ecx, dword [ebp - 0x44]
movdqu xmmword [esi], xmm0
movdqu xmm0, xmmword [ebp - 0x30]
lea ecx, [ecx + 0x28]
movdqu xmmword [esi + 0x10], xmm0
movq xmm0, qword [ebp - 0x20]
movq qword [esi + 0x20], xmm0
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x28], eax
mov ax, word [ebp - 0x14]
mov word [esi + 0x2c], ax
movzx eax, word [esi + 0x26]
push eax
push esi
call fcn.00418690
jmp 0x408f0b
push esi
call fcn.0042cdb0
push ebx
call fcn.0042ed00
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042bc10
mov esp, ebp
pop ebp
ret 4
Function at 0x417a70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x4748f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
test ebx, ebx
jne 0x417aa2
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042bc10
mov esp, ebp
pop ebp
ret 4
push 0x45f314
push ebx
call fcn.0042d120
add esp, 8
mov dword [edi + 4], eax
test eax, eax
je 0x417a8e
push 2
push 0
push eax
call fcn.0042ba80
push dword [edi + 4]
call fcn.0042ff20
push 0
push 0
push dword [edi + 4]
mov dword [ebp - 0x208], eax
call fcn.0042ba80
mov ecx, dword [edi + 0x1e]
add esp, 0x1c
test ecx, ecx
je 0x417af5
push ecx
call fcn.0042ed00
add esp, 4
mov dword [edi + 0x1e], 0
push esi
push dword [edi + 4]
lea esi, [edi + 0x10]
mov dword [edi + 0xc], 0
push 1
push 0xc
push esi
mov dword [edi + 0x22], 0
call fcn.0042b820
mov eax, dword [esi]
lea ecx, [edi + 0x26]
sub eax, dword [edi + 0x18]
add esp, 0x10
sub eax, dword [edi + 0x14]
push eax
call fcn.00401fc0
test eax, eax
jne 0x417b65
push eax
push 0x15e
push str.MHFile.cpp
call fcn.004053f0
add esp, 0xc
push 0
push 0
push str.Bin_File_Version_Error_
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
pop esi
pop edi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042bc10
mov esp, ebp
pop ebp
ret 4
lea ecx, [edi + 0x26]
call fcn.00401f60
test eax, eax
je 0x417c33
mov esi, dword [ebp - 0x208]
add esi, 0xfffffff2
push esi
call fcn.00429a70
add esp, 4
mov dword [edi + 0x1e], eax
test eax, eax
jne 0x417ba3
push eax
push 0x168
push str.MHFile.cpp
call fcn.004053f0
add esp, 0xc
jmp 0x417b50
push esi
push 0
push eax
call fcn.0042a500
add esp, 0xc
lea ecx, [edi + 0x26]
push dword [edi + 0x14]
push esi
push dword [edi + 0x1e]
push dword [edi + 4]
call fcn.00401cd0
test eax, eax
jne 0x417c02
mov ecx, edi
call fcn.00417600
push 0
push 0x16f
push str.MHFile.cpp
call fcn.004053f0
push ebx
lea eax, [ebp - 0x204]
push str.File_Open_Error_:__s
push eax
call fcn.0042d170
add esp, 0x18
lea eax, [ebp - 0x204]
push 0
push 0
push eax
jmp 0x417b48
push dword [edi + 4]
call fcn.0042cdb0
add esp, 4
mov dword [edi + 4], 0
mov dword [edi + 0x22], 1
mov eax, 1
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042bc10
mov esp, ebp
pop ebp
ret 4
push dword [edi + 4]
lea eax, [edi + 0x1c]
push 1
push 1
push eax
call fcn.0042b820
mov eax, dword [edi + 0x18]
add esp, 0x10
test eax, eax
je 0x417c67
push eax
call fcn.00429a70
push dword [edi + 4]
mov dword [edi + 0x1e], eax
push dword [edi + 0x18]
push 1
push eax
call fcn.0042b820
add esp, 0x14
push dword [edi + 4]
lea eax, [edi + 0x1d]
push 1
push 1
push eax
call fcn.0042b820
push dword [edi + 4]
call fcn.0042cdb0
add esp, 0x14
mov dword [edi + 4], 0
mov ecx, edi
call fcn.00417560
test eax, eax
je 0x417b50
mov ecx, edi
call fcn.004174b0
test eax, eax
je 0x417b50
mov ecx, dword [ebp - 4]
mov eax, 1
pop esi
mov dword [edi + 0x22], 1
xor ecx, ebp
pop edi
pop ebx
call fcn.0042bc10
mov esp, ebp
pop ebp
ret 4
Function at 0x418370
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c8f6
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4748f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], vtable.CPlustimeMgr.0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
push 0x190
mov byte [ebp - 4], 1
call fcn.00429b20
mov esi, eax
add esp, 4
test esi, esi
je 0x41842d
mov dword [esi], vtable.CMemoryPoolTempl_struct_stPlusTime_.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [esi + 0x10], 0
jmp 0x41842f
xor esi, esi
push 0x80
lea eax, [esi + 0x10]
mov dword [edi + 4], esi
push str.stPlusTimePool
push eax
call fcn.0042cb30
lea eax, [esi + 4]
mov dword [esi + 0xc], 0xa
add esp, 0xc
cmp dword [eax], 0
jne 0x418468
push 0x32
push eax
call fcn.00418790
mov eax, dword [esi + 4]
add esp, 8
mov dword [esi + 8], eax
push 0x32
lea ecx, [edi + 8]
call fcn.00408be0
push 0x32
lea ecx, [edi + 0x2c]
call fcn.00408be0
mov dword [edi + 0x54], 1
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x422870
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push esi
push str.User32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x42289e
push str.SetProcessDPIAware
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x422897
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0
push str.._Log
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push dword [ebp + 0x10]
call fcn.0042cc60
movzx esi, ax
push esi
push str.AgentServer__d
push 0x48b5a0
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0x48b5a0
push 0x400
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [0x48b588], eax
test eax, eax
je 0x422900
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x422900
push dword [0x48b588]
jmp 0x422961
call fcn.00422760
test eax, eax
je 0x422971
push 0x4e4e
call fcn.00429b20
add esp, 4
test eax, eax
je 0x422923
mov ecx, eax
call fcn.00422980
jmp 0x422925
xor eax, eax
push esi
mov ecx, eax
mov dword [0x48b5e4], eax
call fcn.00423d50
mov ecx, dword [0x48b5e4]
call fcn.00422e20
mov ecx, dword [0x48b5e4]
test ecx, ecx
je 0x42294d
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, dword [0x48b588]
mov dword [0x48b5e4], 0
test eax, eax
je 0x422971
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x48b588], 0
xor eax, eax
pop esi
pop ebp
ret 0x10
Function at 0x4251a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45c8f6
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4748f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea ecx, [edi + 8]
mov dword [edi], vtable.CSkillDelayManager.0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
mov dword [edi + 0x40], 0
push 0x1f4
mov byte [ebp - 4], 1
call fcn.00408be0
push 0x190
call fcn.00429b20
mov esi, eax
add esp, 4
test esi, esi
je 0x425269
mov dword [esi], vtable.CMemoryPoolTempl_struct_SKILLUSE_.0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov byte [esi + 0x10], 0
jmp 0x42526b
xor esi, esi
push 0x80
lea eax, [esi + 0x10]
mov dword [edi + 4], esi
push str.SKILLUSE
push eax
call fcn.0042cb30
lea eax, [esi + 4]
mov dword [esi + 0xc], 0xa
add esp, 0xc
cmp dword [eax], 0
jne 0x4252a7
push 0x1f4
push eax
call fcn.004256d0
mov eax, dword [esi + 4]
add esp, 8
mov dword [esi + 8], eax
push 0xa
lea ecx, [edi + 0x2c]
call fcn.00408be0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret