joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4088c0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0x40
mov eax, dword [ebp + 0xc]
push eax
push 0x663560
call fcn.00408b60
add esp, 0xc
push 0x38
push str.91__
push 0x663560
push 0x663560
call fcn.00408a70
add esp, 0x10
mov dword [ebp - 4], 0
jmp 0x408902
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x10
jge 0x408960
mov edx, dword [ebp - 4]
movsx eax, byte [edx + 0x574be8]
push eax
push 0x1c
mov ecx, dword [0x5ad098]
push ecx
call fcn.00408b10
add esp, 0xc
mov edx, dword [ebp - 4]
movsx eax, byte [edx + 0x574be8]
push eax
push 0x1c
mov ecx, dword [0x5ad094]
push ecx
call fcn.00408b10
add esp, 0xc
push 0x30
push 0x574bb8
push 0x663560
mov edx, dword [ebp - 4]
imul edx, edx, 0x30
add edx, dword [ebp + 8]
push edx
call fcn.00408a70
add esp, 0x10
jmp 0x4088f9
mov esp, ebp
pop ebp
ret

Function at 0x408970
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
push 0x30
push 0x574b30
mov eax, dword [ebp + 8]
push eax
push 0x6635a0
call fcn.00408a70
add esp, 0x10
push 0x30
mov ecx, dword [ebp + 0xc]
push ecx
push 0x6635a0
call fcn.00408ad0
add esp, 0xc
push 0x6635a0
mov edx, dword [ebp + 8]
push edx
call fcn.004089d0
add esp, 8
push 0x20
push 0x574b60
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00408a70
add esp, 0x10
pop ebp
ret
Function at 0x40dc10
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5628cb
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x661850]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
push str.Sat_Sep_20_14:12:11_2014
push 0x190
push str.File::getSize
push str.CommonerrordumpwinFileio.cpp
lea ecx, [ebp - 0xd]
call fcn.004024e0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x20]
cmp dword [eax + 4], 0
je 0x40dc6d
mov ecx, dword [ebp - 0x20]
cmp dword [ecx + 4], 2
jne 0x40dc96
lea edx, [ebp - 0x14]
push edx
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call fcn.00402620
mov eax, dword [ebp - 0x18]
jmp 0x40dcc0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call fcn.00402620
mov eax, dword [ebp - 0x1c]
jmp 0x40dcc0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x411160
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push 0
call fcn.004111f0
cmp dword [0x6698fc], 0
je 0x4111a8
call fcn.0040ada0
sub eax, dword [0x669900]
cmp eax, 0x3e8
jbe 0x41119c
call fcn.0040ada0
mov dword [0x669900], eax
mov eax, dword [0x6698fc]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
call fcn.0040ada0
mov dword [0x669900], eax
jmp 0x4111d7
mov dword [ebp - 4], 0
lea ecx, [ebp - 4]
push ecx
push 0
push 0
push 0x411060
push 0
push 0
call fcn.00547f84
add esp, 0x18
mov dword [0x6698fc], eax
call fcn.0040ada0
mov dword [0x669900], eax
mov eax, 1
mov esp, ebp
pop ebp
ret 4
Function at 0x41ba80
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56333c
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x661850]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
push str.Wed_Sep_30_22:04:02_2015
push 0xe9d
push str.CGameProcess::ProcessRealTimeMsg
push str.GameProcessGameProc.cpp
lea ecx, [ebp - 0xd]
call fcn.004024e0
mov dword [ebp - 4], 0
mov ecx, 0x69d040
call fcn.00437d30
movzx eax, al
test eax, eax
jne 0x41bc16
mov ecx, 0x69d040
call fcn.00437d70
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
mov ecx, 0x69d040
call fcn.00437d90
mov ecx, 0x69d040
call fcn.00437d50
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x14], 0
je 0x41bc16
mov edx, dword [ebp - 0x14]
movsx eax, byte [edx]
cmp eax, 0x2a
jne 0x41bb65
push 0
push 1
push 0x5771c0
mov ecx, dword [0x7d27cc]
push ecx
call dword [sym.imp.WS2_32.dll_send]
mov dword [0x7d27dc], 0
mov edx, dword [ebp - 0x14]
add edx, 1
push edx
mov eax, 0x4000
sub eax, dword [0x6698f8]
push eax
mov ecx, dword [0x6698f8]
add ecx, 0x6658f8
push ecx
call fcn.005477d6
add esp, 0xc
jmp 0x41bb8a
mov edx, dword [ebp - 0x14]
push edx
mov eax, 0x4000
sub eax, dword [0x6698f8]
push eax
mov ecx, dword [0x6698f8]
add ecx, 0x6658f8
push ecx
call fcn.005477d6
add esp, 0xc
push 0x6658f8
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x24]
mov edx, dword [eax + 4]
call edx
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x41bbdc
mov eax, dword [ebp - 0x1c]
push eax
call fcn.00545a90
add esp, 4
mov dword [0x6698f8], eax
mov ecx, dword [0x6698f8]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
push 0x6658f8
call fcn.00545160
add esp, 0xc
mov eax, dword [0x6698f8]
mov byte [eax + 0x6658f8], 0
jmp 0x41bbf7
mov dword [0x6698f8], 0
push 4
push 0
push 0x6658f8
call fcn.005454d0
add esp, 0xc
cmp dword [ebp - 0x14], 0
je 0x41bc16
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x20]
push edx
call fcn.00544d5d
add esp, 4
mov dword [ebp - 0x14], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call fcn.00402620
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x41fff0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x563614
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x661850]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
push str.Wed_Sep_30_22:04:02_2015
push 0x14fa
push str.CGameProcess::OnMessageReceive
push str.GameProcessGameProc.cpp
lea ecx, [ebp - 0x15]
call fcn.004024e0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 8]
movsx edx, byte [ecx]
cmp edx, 0x2a
je 0x42005f
cmp dword [0x7d27dc], 0x5dc
jle 0x420092
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
cmp ecx, 0x2a
jne 0x420073
mov edx, dword [ebp + 8]
add edx, 1
mov dword [ebp - 0x1c], edx
push 0
push 1
push 0x5771c0
mov eax, dword [0x7d27cc]
push eax
call dword [sym.imp.WS2_32.dll_send]
mov dword [0x7d27dc], 0
push 0x21
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.004372e0
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x420185
mov edx, dword [ebp - 0x14]
mov byte [edx], 0
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [0x664d84], 1
jne 0x4200f8
mov ecx, dword [0x5ad490]
imul ecx, ecx, 0x343fd
add ecx, 0x269ec3
mov dword [0x5ad490], ecx
mov eax, dword [0x5ad490]
shr eax, 0x10
and eax, 0x7fff
xor edx, edx
mov ecx, 2
div ecx
cmp edx, 1
jne 0x420107
mov edx, dword [ebp - 0x1c]
add edx, 1
push edx
mov ecx, dword [ebp - 0x28]
call fcn.004209a0
mov eax, dword [ebp - 0x14]
movsx ecx, byte [eax]
cmp ecx, 0x2a
je 0x42011e
cmp dword [0x7d27dc], 0x5dc
jle 0x420152
mov edx, dword [ebp - 0x14]
movsx eax, byte [edx]
cmp eax, 0x2a
jne 0x420132
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
push 0
push 1
push 0x5771c0
mov edx, dword [0x7d27cc]
push edx
call dword [sym.imp.WS2_32.dll_send]
mov dword [0x7d27dc], 0
mov eax, dword [ebp - 0x14]
movsx ecx, byte [eax]
cmp ecx, 0x23
jne 0x420165
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x1c], edx
jmp 0x420180
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x15]
call fcn.00402620
mov eax, dword [ebp - 0x20]
jmp 0x42019d
jmp 0x420092
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x15]
call fcn.00402620
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x42f5f0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x661850]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x120], ecx
push str.Wed_Sep_30_22:04:02_2015
push 0x2955
push str.CGameProcess::OpenOptionFile
push str.GameProcessGameProc.cpp
lea ecx, [ebp - 1]
call fcn.004024e0
push 0x104
push 0
lea eax, [ebp - 0x110]
push eax
call fcn.005454d0
add esp, 0xc
push 0x69df00
push 0x69dcf0
push str..king_saved_s__s.opt
lea ecx, [ebp - 0x110]
push ecx
call fcn.005456a9
add esp, 0x10
push 0
push 0x80
push 3
push 0
push 1
push closesocket
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0xffffffff
je 0x42f72d
push 0
lea eax, [ebp - 0x118]
push eax
push 0x2b
push 0x663c08
mov ecx, dword [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x11c], eax
push 0xa
push 0x663c08
mov edx, dword [ebp - 0x120]
add edx, 0xe518c
push edx
call fcn.00545160
add esp, 0xc
mov eax, dword [ebp - 0x120]
mov cl, byte [0x663c1f]
mov byte [eax + 0xe51a2], cl
push 0xa
push 0x663c27
mov edx, dword [ebp - 0x120]
add edx, 0xe51aa
push edx
call fcn.00545160
add esp, 0xc
mov byte [0x663c32], 0
mov byte [0x663c30], 1
mov byte [0x663c31], 1
mov byte [0x663c2f], 1
mov byte [0x663c2e], 0
mov eax, dword [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x42f846
mov ecx, dword [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x2b
push 0
push 0x663c08
call fcn.005454d0
add esp, 0xc
mov byte [0x663c09], 0
mov byte [0x663c0a], 1
mov byte [0x663c0b], 0x64
mov byte [0x663c0c], 1
mov byte [0x663c0d], 0x64
mov byte [0x663c10], 1
mov byte [0x663c11], 1
mov byte [0x663c28], 1
mov byte [0x663c1f], 1
mov byte [0x663c27], 0
mov byte [0x663c31], 1
mov byte [0x663c29], 1
mov byte [0x663c2a], 1
mov byte [0x663c2b], 1
mov byte [0x663c30], 1
mov byte [0x663c2c], 1
mov byte [0x663c2f], 1
mov byte [0x663c2d], 0
mov byte [0x663c2e], 0
mov byte [0x663c32], 0
push 0xa
push 0x663c08
mov edx, dword [ebp - 0x120]
add edx, 0xe518c
push edx
call fcn.00545160
add esp, 0xc
push 0xa
push 0x663c13
mov eax, dword [ebp - 0x120]
add eax, 0xe5196
push eax
call fcn.00545160
add esp, 0xc
push 0xa
push 0x663c1d
mov ecx, dword [ebp - 0x120]
add ecx, 0xe51a0
push ecx
call fcn.00545160
add esp, 0xc
push 0xa
push 0x663c27
mov edx, dword [ebp - 0x120]
add edx, 0xe51aa
push edx
call fcn.00545160
add esp, 0xc
lea ecx, [ebp - 1]
call fcn.00402620
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0054514c
mov esp, ebp
pop ebp
ret
Function at 0x42f860
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x563ae3
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x661850]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
push str.Wed_Sep_30_22:04:02_2015
push 0x299a
push str.CGameProcess::LoadSTDItem
push str.GameProcessGameProc.cpp
lea ecx, [ebp - 0xd]
call fcn.004024e0
mov dword [ebp - 4], 0
push 0
push 0x80
push 3
push 0
push 1
push closesocket
push str..king_stditem.dat
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x42f956
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jbe 0x42f956
mov ecx, dword [ebp - 0x18]
add ecx, 2
push ecx
call fcn.00542ae0
add esp, 4
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x18]
add eax, 2
push eax
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.005454d0
add esp, 0xc
cmp dword [ebp - 0x1c], 0
je 0x42f956
push 0
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x30]
call fcn.0042f980
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], ecx
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00544d5d
add esp, 4
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call fcn.00402620
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x42fe30
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x563b36
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x661850]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
push str.Wed_Sep_30_22:04:02_2015
push 0x29f3
push str.CGameProcess::LoadMagicExplainFile
push str.GameProcessGameProc.cpp
lea ecx, [ebp - 0xd]
call fcn.004024e0
mov dword [ebp - 4], 0
movzx eax, byte [0x66adac]
test eax, eax
je 0x42fe9a
push 0xb10a4
push 0
push 0x5ae238
call fcn.005454d0
add esp, 0xc
push 0
push 0x80
push 3
push 0
push 1
push closesocket
push str..kingmagicexplain.dat
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x42ff45
push 0
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jbe 0x42ff45
mov edx, dword [ebp - 0x18]
add edx, 2
push edx
call fcn.00542ae0
add esp, 4
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x18]
add ecx, 2
push ecx
push 0
mov edx, dword [ebp - 0x1c]
push edx
call fcn.005454d0
add esp, 0xc
cmp dword [ebp - 0x1c], 0
je 0x42ff45
push 0
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x30]
call fcn.0042ff70
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
push eax
call fcn.00544d5d
add esp, 4
mov ecx, dword [ebp - 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call fcn.00402620
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x430420
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x563b89
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x661850]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
push str.Wed_Sep_30_22:04:02_2015
push 0x2a64
push str.CGameProcess::OpenItemIntroduceFile
push str.GameProcessGameProc.cpp
lea ecx, [ebp - 0xd]
call fcn.004024e0
mov dword [ebp - 4], 0
push 0
push 0x80
push 3
push 0
push 1
push closesocket
push str..kingitemintroduce.dat
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x430529
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jbe 0x430529
mov ecx, dword [ebp - 0x18]
add ecx, 2
push ecx
call fcn.00542ae0
add esp, 4
mov dword [ebp - 0x28], eax
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x18]
add eax, 2
push eax
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.005454d0
add esp, 0xc
cmp dword [ebp - 0x1c], 0
je 0x430529
push 0
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x18]
mov byte [eax], 0
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 0x18]
mov byte [ecx + 1], 0
mov edx, dword [ebp - 0x1c]
push edx
mov ecx, dword [ebp - 0x30]
call fcn.00430560
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
push ecx
call fcn.00544d5d
add esp, 4
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call fcn.00402620
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x431310
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x563c69
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
mov eax, dword [0x661850]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
push str.Wed_Sep_30_22:04:02_2015
push 0x2c8f
push str.CGameProcess::OpenMonsterSpeekFile
push str.GameProcessGameProc.cpp
lea ecx, [ebp - 0xd]
call fcn.004024e0
mov dword [ebp - 4], 0
push 0
push 0x80
push 3
push 0
push 1
push closesocket
push str..king_setting_
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x43144d
push 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0
cmp dword [ebp - 0x18], 0
jle 0x431406
mov ecx, dword [ebp - 0x18]
add ecx, 3
push ecx
call fcn.00542ae0
add esp, 4
mov dword [ebp - 0x2c], eax
mov edx, dword [ebp - 0x2c]
mov dword [ebp - 0x1c], edx
mov eax, dword [ebp - 0x18]
add eax, 3
push eax
push 0
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.005454d0
add esp, 0xc
push 0
lea edx, [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x18]
mov byte [eax], 0
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 0x18]
mov byte [ecx + 1], 0
mov edx, dword [ebp - 0x1c]
add edx, dword [ebp - 0x18]
mov byte [edx + 2], 0
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x1c]
push ecx
mov ecx, dword [ebp - 0x38]
call fcn.004307b0
mov byte [ebp - 0x1d], al
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x30]
push eax
call fcn.00544d5d
add esp, 4
mov cl, byte [ebp - 0x1d]
mov byte [ebp - 0x31], cl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call fcn.00402620
mov al, byte [ebp - 0x31]
jmp 0x43147e
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x32], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call fcn.00402620
mov al, byte [ebp - 0x32]
jmp 0x43147e
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x431490
Capabilities:
Create directory
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x563c8c
mov eax, dword fs:[0]
push eax
sub esp, 0x124
mov eax, dword [0x661850]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x130], ecx
push str.Wed_Sep_30_22:04:02_2015
push 0x2cbb
push str.CGameProcess::SaveOptionFile
push str.GameProcessGameProc.cpp
lea ecx, [ebp - 0xd]
call fcn.004024e0
mov dword [ebp - 4], 0
push 0x104
push 0
lea eax, [ebp - 0x11c]
push eax
call fcn.005454d0
add esp, 0xc
movsx ecx, byte [0x69dcf0]
test ecx, ecx
je 0x431516
mov edx, dword [ebp - 0x130]
movsx eax, byte [edx + 0xfb110]
test eax, eax
jne 0x431537
mov byte [ebp - 0x129], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call fcn.00402620
mov al, byte [ebp - 0x129]
jmp 0x43163b
push 0x69df00
push 0x69dcf0
push str..king_saved_s__s.opt
lea ecx, [ebp - 0x11c]
push ecx
call fcn.005456a9
add esp, 0x10
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
lea edx, [ebp - 0x11c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0xffffffff
jne 0x4315ce
push 0
push str..king
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [ebp - 0x124], eax
push 0
push 0x5783fc
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov dword [ebp - 0x124], eax
push 0
push 0x80
push 2
push 0
push 2
push 0x40000000
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x120], eax
cmp dword [ebp - 0x120], 0xffffffff
je 0x43161f
push 0
lea ecx, [ebp - 0x128]
push ecx
push 0x2b
push 0x663c08
mov edx, dword [ebp - 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 0x12a], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call fcn.00402620
mov al, byte [ebp - 0x12a]
jmp 0x43163b
mov byte [ebp - 0x12b], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call fcn.00402620
mov al, byte [ebp - 0x12b]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0054514c
mov esp, ebp
pop ebp
ret
Function at 0x43c800
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0x811c9dc5
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
je 0x43c832
mov ecx, dword [ebp - 4]
imul ecx, ecx, 0x1000193
mov edx, dword [ebp + 8]
movsx eax, byte [edx]
xor ecx, eax
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 8]
add ecx, 1
mov dword [ebp + 8], ecx
jmp 0x43c80b
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret

Function at 0x4412d0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5646ab
mov eax, dword fs:[0]
push eax
sub esp, 8
mov eax, dword [0x661850]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
push str.Wed_Aug__5_17:27:10_2015
push 0xb6
push str.CWaiGua::CheckPKModel
push str.GameProcessWaiGua.cpp
lea ecx, [ebp - 0xd]
call fcn.004024e0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x14]
movzx ecx, byte [eax + 0x29b0]
test ecx, ecx
jne 0x4413e6
cmp dword [0x7bc21c], 0
je 0x4413e6
push str.CHero
mov edx, dword [0x7bc21c]
mov eax, dword [edx]
mov ecx, dword [0x7bc21c]
mov edx, dword [eax + 0xc]
call edx
movzx eax, al
test eax, eax
je 0x4413e6
mov ecx, dword [0x7bc21c]
movzx edx, byte [ecx + 0x29c]
test edx, edx
jne 0x4413e6
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 8
and eax, 0xff
movzx ecx, al
test ecx, ecx
je 0x4413e6
mov edx, dword [0x7bc21c]
mov eax, dword [edx + 4]
push eax
mov ecx, 0x6acf18
call fcn.004310b0
test eax, eax
jne 0x4413e6
mov ecx, dword [0x7bc21c]
mov edx, dword [ecx + 4]
push edx
mov ecx, 0x6acf18
call fcn.00437320
test eax, eax
jne 0x4413e6
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
cwde
shr eax, 8
and eax, 0xff
movzx ecx, al
test ecx, ecx
je 0x4413e6
mov edx, dword [0x7bc21c]
mov eax, dword [edx + 4]
mov dword [0x7ac638], eax
mov ecx, dword [ebp - 0x14]
mov byte [ecx + 0x29b0], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd]
call fcn.00402620
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret