joyce8/EMBER2024-capa huggingface dataset:
Function at 0x408f99
Capabilities:
Log keystrokes via application hook

Disassembly:
jmp 0x434ca0
mov eax, dword [esp + 4]
push 0
push eax
push 0x40392c
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
mov dword [0x7d09dc], eax
ret 4

Function at 0x409890
Capabilities:
Write file on windows

Disassembly:
jmp 0x535250
mov eax, dword [esp + 4]
push esi
push edi
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x53527f
pop edi
xor eax, eax
pop esi
ret 4
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea ecx, [esp + 0x14]
push ecx
push 0x520
lea edx, [edi + 0x524]
push edx
push esi
call ebx
test eax, eax
jne 0x5352af
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
xor eax, eax
pop esi
ret 4
push 0
lea eax, [esp + 0x14]
push eax
push 0xc0
add edi, 0xb04
push edi
push esi
call ebx
push esi
test eax, eax
je 0x5352a1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
mov eax, 1
pop esi
ret 4
Function at 0x409da4
Capabilities:
Write file on windows

Disassembly:
jmp 0x53a5e0
sub esp, 8
push ebx
push esi
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push str.._ini_GameOption.opt
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x53a646
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [esp + 0x14]
push eax
push 4
lea ecx, [esp + 0x18]
push ecx
push esi
mov dword [esp + 0x20], 0x61208
call edi
push 0
lea edx, [esp + 0x14]
push edx
push 0xac
add ebx, 4
push ebx
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
add esp, 8
ret
Function at 0x40a105
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
jmp 0x435090
sub esp, 0x35c
mov eax, dword [0x7ce4f0]
xor eax, esp
mov dword [esp + 0x358], eax
push ebx
push ebp
push 0x104
lea eax, [esp + 0x260]
push eax
mov ebp, 1
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esp + 0x25c]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4350c6
mov ecx, dword [str.mfl.dat]
mov edx, dword [0x671e80]
mov dword [eax], ecx
mov cl, byte [0x671e84]
mov dword [eax + 4], edx
lea edx, [esp + 0x25c]
push 0x671e18
push edx
mov byte [eax + 8], cl
call fcn.00637bab
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x435125
push eax
call fcn.006378aa
add esp, 4
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x358]
xor ecx, esp
call fcn.006376f4
add esp, 0x35c
ret
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [esp + 0x160]
push eax
push 0x104
call edi
lea eax, [esp + 0x160]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x435144
mov ecx, dword [str.Resource.bin]
mov edx, dword [0x671e6c]
mov dword [eax], ecx
mov ecx, dword [0x671e70]
mov dword [eax + 4], edx
mov edx, dword [0x671e74]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x164]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea ecx, [esp + 0x4c]
push ecx
push ebp
push str._d__s_t
push ebx
call fcn.00639201
movzx edx, word [esp + 0x2a]
movzx eax, word [esp + 0x28]
movzx ecx, word [esp + 0x26]
push edx
movzx edx, word [esp + 0x26]
push eax
movzx eax, word [esp + 0x28]
push ecx
push edx
push eax
push str._4d__02d__02d__02d__02d_n
push ebx
call fcn.00639201
add esp, 0x2c
lea ecx, [esp + 0x20]
push ecx
push esi
inc ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x435184
lea edx, [esp + 0x160]
push edx
push 0x104
call edi
lea edi, [esp + 0x160]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x435200
mov ecx, 6
mov esi, str.ResourceSkillArea.bsad
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x164]
push ecx
movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
lea esp, [esp]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea ecx, [esp + 0x4c]
push ecx
push ebp
push str._d__s_t
push ebx
call fcn.00639201
movzx edx, word [esp + 0x2a]
movzx eax, word [esp + 0x28]
movzx ecx, word [esp + 0x26]
push edx
movzx edx, word [esp + 0x26]
push eax
movzx eax, word [esp + 0x28]
push ecx
push edx
push eax
push str._4d__02d__02d__02d__02d_n
push ebx
call fcn.00639201
add esp, 0x2c
lea ecx, [esp + 0x20]
push ecx
push esi
inc ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x435230
push ebx
call fcn.006378aa
mov ecx, dword [esp + 0x36c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.006376f4
add esp, 0x35c
ret
Function at 0x40a8fd
Capabilities:
Create directory

Disassembly:
jmp 0x570fd0
sub esp, 0x108
mov eax, dword [0x7ce4f0]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
mov ebx, dword [esp + 0x110]
push esi
mov esi, ecx
test ebx, ebx
je 0x5710b9
push ebp
push edi
push 0
mov ecx, 0x818c58
call fcn.00404778
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push eax
lea eax, [esp + 0x14]
push str._sData
push eax
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
add esp, 0xc
push 0
lea ecx, [esp + 0x14]
push ecx
call ebp
mov edx, dword [esi + 0x18]
push edx
push 0
mov ecx, 0x818c58
call fcn.00404778
push eax
lea eax, [esp + 0x18]
push str._sData_d
push eax
call edi
add esp, 0x10
push 0
lea ecx, [esp + 0x14]
push ecx
call ebp
test bl, 1
je 0x571085
mov eax, dword [esi + 0x18]
push eax
push eax
push 0
mov ecx, 0x818c58
call fcn.00404778
push eax
lea edx, [esp + 0x1c]
push str._sData_d_d.UII
push edx
call edi
add esp, 0x14
lea eax, [esp + 0x10]
push eax
mov ecx, esi
call fcn.0040cf2c
test bl, 2
je 0x5710b7
mov eax, dword [esi + 0x18]
push eax
push eax
push 0
mov ecx, 0x818c58
call fcn.00404778
push eax
lea ecx, [esp + 0x1c]
push str._sData_d_d.UIS
push ecx
call edi
add esp, 0x14
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.0040745f
pop edi
pop ebp
mov ecx, dword [esp + 0x10c]
pop esi
pop ebx
xor ecx, esp
call fcn.006376f4
add esp, 0x108
ret 4
Function at 0x40b1cc
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
jmp 0x44f160
sub esp, 0x130
mov eax, dword [0x7ce4f0]
xor eax, esp
mov dword [esp + 0x12c], eax
push ebx
push esi
mov esi, dword [esp + 0x13c]
xor ebx, ebx
mov dword [esp + 0x24], esi
cmp esi, ebx
je 0x44f312
cmp byte [esi], bl
je 0x44f312
lea eax, [esp + 0x10]
push eax
push 0x20019
push ebx
push str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002BE10318
push 0x80000002
mov dword [esp + 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44f312
mov edx, dword [esp + 0x10]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [esp + 0x28]
push ecx
push ebx
push ebx
push ebx
push edx
mov dword [esp + 0x3c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x44f1e4
mov dword [esp + 0xc], 0x64
push edi
xor edi, edi
mov dword [esp + 0x24], ebx
cmp dword [esp + 0x10], ebx
jbe 0x44f300
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea esp, [esp]
xor eax, eax
push edi
push str._04u
mov dword [esp + 0x38], eax
mov byte [esp + 0x3c], al
lea eax, [esp + 0x38]
push 5
push eax
call fcn.00401faa
mov eax, dword [esp + 0x28]
add esp, 0x10
lea ecx, [esp + 0x10]
push ecx
push 0x20019
push ebx
lea edx, [esp + 0x3c]
push edx
push eax
mov dword [esp + 0x24], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44f2d9
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x28]
push eax
push ebx
push str.NetCfgInstanceId
push ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], 0x104
call ebp
test eax, eax
je 0x44f27f
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x44f2d9
push esi
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x44f29c
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x44f2d9
lea edx, [esp + 0x1c]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x28]
push ecx
push ebx
push str.Characteristics
push edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x34], 4
call ebp
mov esi, eax
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x44f2f7
mov esi, dword [esp + 0x2c]
inc edi
cmp edi, dword [esp + 0x14]
jb 0x44f200
mov edx, dword [esp + 0x18]
pop ebp
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x24]
pop edi
jmp 0x44f314
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x28], ecx
pop ebp
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [esp + 0x24]
pop edi
jmp 0x44f314
xor eax, eax
mov ecx, dword [esp + 0x134]
pop esi
pop ebx
xor ecx, esp
call fcn.006376f4
add esp, 0x130
ret 4
Function at 0x40ba14
Capabilities:
Print debug messages

Disassembly:
jmp 0x5e7870
push esi
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
mov eax, dword [esi + 0x4c]
add eax, 0x493e0
cmp edi, eax
jbe 0x5e789d
mov ecx, esi
call fcn.004088d7
push str._n____Cache_delete_one_item.__n_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [esi + 0x4c], edi
pop edi
pop esi
ret
Function at 0x40d18e
Capabilities:
Hide graphical window

Disassembly:
jmp 0x4352c0
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
push ebp
mov ecx, 0x7d2e88
call fcn.00402fcc
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 7
mov dword [0x7d04bc], ebp
call ebx
mov edi, eax
push 7
add edi, edi
call ebx
mov esi, eax
push 4
add esi, esi
call ebx
lea ecx, [esi + eax]
mov esi, dword [0x80ff64]
xor edx, edx
mov eax, esi
div dword [0x80f4f0]
mov eax, dword [0x80f4f4]
mov edx, dword [eax + edx*4]
test edx, edx
je 0x43531d
cmp dword [edx], esi
je 0x435361
mov edx, dword [edx + 0xc]
test edx, edx
jne 0x435312
push 0
push ebp
push 0
push 0
add ecx, 0x300
push ecx
add edi, 0x400
push edi
push 0
push 0x80000000
push 0x2ca0000
push 0x7d04c0
push 0x7d06d8
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
mov dword [0x7d04a8], esi
test esi, esi
jne 0x43537d
pop edi
pop esi
pop ebp
pop ebx
ret
mov edx, dword [edx + 4]
test edx, edx
je 0x43531d
mov eax, dword [edx + 8]
push 0
push ebp
push 0
add eax, ecx
mov ecx, dword [edx + 4]
push 0
push eax
add ecx, edi
push ecx
jmp 0x435332
mov edx, dword [esp + 0x18]
push edx
push esi
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call dword [sym.imp.USER32.dll_UpdateWindow]
push 1
call dword [sym.imp.USER32.dll_ShowCursor]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push esi
mov ecx, 0x7d0b24
call fcn.0040e827
cmp dword [0x7e4268], 0
push 0
mov ecx, 0x7d0b24
push 0
jne 0x4353ce
push 1
call fcn.0040aa1a
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
push 2
call fcn.0040aa1a
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x40db39
Capabilities:
Write file on windows

Disassembly:
jmp 0x5ad7c0
mov eax, dword [esp + 0xc]
push esi
test eax, eax
jne 0x5ad813
mov eax, dword [esp + 8]
push 0x686858
push eax
call fcn.00637bab
mov esi, eax
add esp, 8
test esi, esi
je 0x5ad849
mov edx, dword [esp + 0xc]
mov eax, edx
push edi
lea edi, [eax + 1]
jmp 0x5ad7f0
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x5ad7f0
push esi
sub eax, edi
push 1
push eax
push edx
call fcn.00637a75
push esi
call fcn.006378aa
add esp, 0x14
pop edi
xor eax, eax
pop esi
ret 0xc
cmp eax, 1
jne 0x5ad849
mov ecx, dword [esp + 8]
push 0x686854
push ecx
call fcn.00637bab
mov esi, eax
add esp, 8
test esi, esi
je 0x5ad849
mov edx, dword [esp + 0xc]
push edx
push 0x686850
push esi
call fcn.00639201
push esi
call fcn.006378aa
add esp, 0x10
xor eax, eax
pop esi
ret 0xc
Function at 0x40f0a6
Capabilities:
Read file on windows

Disassembly:
jmp 0x56ff70
sub esp, 0x18
mov eax, dword [0x7ce4f0]
xor eax, esp
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x1c]
push ebx
push esi
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push eax
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x570048
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [esp + 0x10]
push eax
push 4
lea ecx, [esp + 0x1c]
push ecx
push esi
call edi
test eax, eax
je 0x56ffd0
cmp dword [esp + 0x10], 0x6060801
je 0x56ffeb
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.006376f4
add esp, 0x18
ret 4
push 0
lea edx, [esp + 0x10]
push edx
push 0xc
lea eax, [esp + 0x20]
push eax
push esi
call edi
push esi
test eax, eax
je 0x56ffd1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebx + 0x1c], 0
je 0x570047
mov ecx, dword [0x7e1d24]
test ecx, ecx
je 0x570047
mov edx, dword [esp + 0x18]
push edx
call fcn.00407f81
mov eax, dword [esp + 0x14]
mov ecx, dword [0x7e1d24]
push eax
call fcn.00406ba9
fld dword [esp + 0x1c]
push 0
push ecx
fstp dword [esp]
push 0
mov ecx, 0x818158
call fcn.00408d00
pop edi
mov ecx, dword [esp + 0x1c]
pop esi
pop ebx
xor ecx, esp
call fcn.006376f4
add esp, 0x18
ret 4

Function at 0x40f2a9
Capabilities:
Delete file

Disassembly:
jmp fcn.0058ee00
jmp 0x47ca70
push esi
push edi
push 0x6719d4
push str.._image_InterfaceScript_AdvancedSetDlg.bin
mov edi, ecx
call fcn.0040812f
mov ecx, dword [edi + 0x18]
mov esi, eax
push esi
call fcn.006311c0
mov ecx, esi
call fcn.004014c9
pop edi
mov dword [0x7d14ac], esi
mov ecx, esi
pop esi
jmp 0x406221
Function at 0x40ff1f
Capabilities:
Get mac address on windows

Disassembly:
jmp 0x44f330
sub esp, 8
push ebp
push edi
lea eax, [esp + 8]
xor edi, edi
push eax
push edi
mov ebp, ecx
mov dword [esp + 0x10], edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
je 0x44f372
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp + 0x14]
push eax
push str.GetMAC_Failed__ErrorCode:__d
push 0x12
push ecx
call fcn.00401faa
add esp, 0x10
pop edi
xor eax, eax
pop ebp
add esp, 8
ret 4
mov edx, dword [esp + 8]
push esi
push edx
call fcn.0063a2a6
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
cmp esi, edi
jne 0x44f3a5
mov eax, dword [esp + 0x18]
push str.GetMAC_Failed__Because_malloc_failed_
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop esi
pop edi
xor eax, eax
pop ebp
add esp, 8
ret 4
lea ecx, [esp + 0xc]
push ecx
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x44f3e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x18]
push eax
push str.GetMAC_Failed__ErrorCode:__d
push 0x12
push edx
call fcn.00401faa
push esi
call fcn.0063a22d
add esp, 0x14
pop esi
pop edi
xor eax, eax
pop ebp
add esp, 8
ret 4
push ebx
mov ebx, dword [esp + 0x1c]
mov eax, dword [esi + 0x190]
cmp eax, 6
jb 0x44f41b
cmp eax, 8
ja 0x44f41b
push eax
lea eax, [esi + 0x194]
push eax
push ebx
call fcn.00638430
mov edi, dword [esi + 0x190]
add esp, 0xc
lea ecx, [esi + 8]
push ecx
mov ecx, ebp
call fcn.0040b1cc
test al, 4
jne 0x44f421
mov esi, dword [esi]
test esi, esi
jne 0x44f3e5
mov edx, dword [esp + 0x14]
push edx
call fcn.0063a22d
add esp, 4
pop ebx
pop esi
mov eax, edi
pop edi
pop ebp
add esp, 8
ret 4

Function at 0x410014
Capabilities:
Set current directory

Disassembly:
jmp 0x60f500
push esi
mov esi, dword [esp + 8]
push edi
mov edi, ecx
cmp esi, 0x12
jb 0x60f51e
push 0
push 0x72
push str.DirectoryManager.cpp
call fcn.00409a0c
add esp, 0xc
cmp esi, dword [edi + 0x50]
je 0x60f536
cmp esi, 0x11
je 0x60f536
mov eax, dword [edi + esi*4 + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [edi + 0x50], esi
pop edi
pop esi
ret 4

Function at 0x410825
Capabilities:
Check for time delay via gettickcount

Disassembly:
jmp 0x52a210
cmp byte [0x7c93b6], 0
push esi
mov esi, ecx
je 0x52a233
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xc], eax
mov dword [0x7e2f68], eax
mov byte [0x7c93b6], 0
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xc]
mov edx, eax
sub edx, ecx
mov dword [0x7e2f68], eax
cmp eax, ecx
jae 0x52a24a
dec edx
mov dword [0x7e2f4c], edx
mov dword [esi + 0xc], eax
mov eax, dword [0x7e2f4c]
add dword [0x7e2f50], eax
add dword [esi + 8], eax
cmp dword [esi + 8], 0x5265c00
jb 0x52a274
inc dword [esi + 4]
add dword [esi + 8], 0xfad9a400
pop esi
ret
Function at 0x4231e0
Capabilities:
Create directory
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x7ce4f0]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x5c], ecx
push 0
push str.data
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
push str.data_aiconfig
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [0x7e1d24]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 0x129]
mov dword [ebp - 0x58], edx
mov ax, word [ebp - 0x58]
mov word [ebp - 8], ax
movzx ecx, word [ebp - 8]
push ecx
push str.._data_aiconfig__d.dat
lea edx, [ebp - 0x50]
push edx
call fcn.00637c09
add esp, 0xc
push 0x6719d8
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 4]
push ecx
call fcn.00637bc2
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x423282
mov edx, dword [ebp - 4]
push edx
push 1
push 0x1c64
mov eax, dword [ebp - 0x5c]
add eax, 0xec
push eax
call fcn.00637a75
add esp, 0x10
mov ecx, dword [ebp - 4]
push ecx
call fcn.006378aa
add esp, 4
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.006376f4
mov esp, ebp
pop ebp
ret

Function at 0x423290
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
mov eax, dword [0x7ce4f0]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x5c], ecx
mov eax, dword [0x7e1d24]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 0x129]
mov dword [ebp - 0x58], edx
mov ax, word [ebp - 0x58]
mov word [ebp - 8], ax
movzx ecx, word [ebp - 8]
push ecx
push str.._data_aiconfig__d.dat
lea edx, [ebp - 0x50]
push edx
call fcn.00637c09
add esp, 0xc
push 0x1c64
push 0
mov eax, dword [ebp - 0x5c]
add eax, 0xec
push eax
call fcn.00637530
add esp, 0xc
push 0x671a10
lea ecx, [ebp - 0x50]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.00637bc2
add esp, 0xc
cmp dword [ebp - 4], 0
je 0x42337b
mov eax, dword [ebp - 4]
push eax
push 1
push 0x1c64
mov ecx, dword [ebp - 0x5c]
add ecx, 0xec
push ecx
call fcn.00638029
add esp, 0x10
mov edx, dword [ebp - 4]
push edx
call fcn.006378aa
add esp, 4
call fcn.00402243
mov eax, dword [eax + 0x228]
imul eax, eax, 0x64
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], 0
fild qword [ebp - 0x64]
mov ecx, dword [ebp - 0x5c]
fstp dword [ecx + 0xe0]
call fcn.00402243
mov edx, dword [eax + 0x22c]
imul edx, edx, 0x64
mov dword [ebp - 0x6c], edx
mov dword [ebp - 0x68], 0
fild qword [ebp - 0x6c]
mov eax, dword [ebp - 0x5c]
fstp dword [eax + 0xe8]
jmp 0x423383
mov ecx, dword [ebp - 0x5c]
call fcn.0040289c
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.006376f4
mov esp, ebp
pop ebp
ret
Function at 0x434cd0
Capabilities:
Delete file
Enumerate files on windows

Disassembly:
jmp 0x434cd0
sub esp, 0x24c
mov eax, dword [0x7ce4f0]
xor eax, esp
mov dword [esp + 0x248], eax
push esi
mov esi, dword [esp + 0x254]
push edi
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push esi
lea eax, [esp + 0x150]
push str._s
push eax
call edi
add esp, 0xc
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x150]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esp + 8], eax
cmp eax, 0xffffffff
je 0x434e21
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_RemoveDirectoryA]
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
cmp dword [esp + 0x14], 0x10
jne 0x434dda
mov ecx, 0x671df0
lea eax, [esp + 0x40]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x434d68
test dl, dl
je 0x434d64
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x434d68
add eax, 2
add ecx, 2
test dl, dl
jne 0x434d48
xor eax, eax
jmp 0x434d6d
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x434dfc
mov ecx, 0x671dec
lea eax, [esp + 0x40]
mov edi, edi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x434da0
test dl, dl
je 0x434d9c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x434da0
add eax, 2
add ecx, 2
test dl, dl
jne 0x434d80
xor eax, eax
jmp 0x434da5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x434dfc
lea eax, [esp + 0x40]
push eax
push esi
lea ecx, [esp + 0x15c]
push 0x671de4
push ecx
call edi
lea edx, [esp + 0x164]
push edx
call fcn.0040d22e
add esp, 0x14
lea eax, [esp + 0x154]
push eax
call ebx
jmp 0x434dfc
lea ecx, [esp + 0x40]
push ecx
push esi
lea edx, [esp + 0x15c]
push 0x671de4
push edx
call edi
add esp, 0x10
lea eax, [esp + 0x154]
push eax
call ebp
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x434d34
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebp
pop ebx
mov ecx, dword [esp + 0x250]
pop edi
pop esi
xor ecx, esp
call fcn.006376f4
add esp, 0x24c
ret
Function at 0x435090
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
jmp 0x435090
sub esp, 0x35c
mov eax, dword [0x7ce4f0]
xor eax, esp
mov dword [esp + 0x358], eax
push ebx
push ebp
push 0x104
lea eax, [esp + 0x260]
push eax
mov ebp, 1
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea eax, [esp + 0x25c]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4350c6
mov ecx, dword [str.mfl.dat]
mov edx, dword [0x671e80]
mov dword [eax], ecx
mov cl, byte [0x671e84]
mov dword [eax + 4], edx
lea edx, [esp + 0x25c]
push 0x671e18
push edx
mov byte [eax + 8], cl
call fcn.00637bab
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x435125
push eax
call fcn.006378aa
add esp, 4
pop ebp
xor eax, eax
pop ebx
mov ecx, dword [esp + 0x358]
xor ecx, esp
call fcn.006376f4
add esp, 0x35c
ret
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea eax, [esp + 0x160]
push eax
push 0x104
call edi
lea eax, [esp + 0x160]
dec eax
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x435144
mov ecx, dword [str.Resource.bin]
mov edx, dword [0x671e6c]
mov dword [eax], ecx
mov ecx, dword [0x671e70]
mov dword [eax + 4], edx
mov edx, dword [0x671e74]
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x164]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea ecx, [esp + 0x4c]
push ecx
push ebp
push str._d__s_t
push ebx
call fcn.00639201
movzx edx, word [esp + 0x2a]
movzx eax, word [esp + 0x28]
movzx ecx, word [esp + 0x26]
push edx
movzx edx, word [esp + 0x26]
push eax
movzx eax, word [esp + 0x28]
push ecx
push edx
push eax
push str._4d__02d__02d__02d__02d_n
push ebx
call fcn.00639201
add esp, 0x2c
lea ecx, [esp + 0x20]
push ecx
push esi
inc ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x435184
lea edx, [esp + 0x160]
push edx
push 0x104
call edi
lea edi, [esp + 0x160]
dec edi
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x435200
mov ecx, 6
mov esi, str.ResourceSkillArea.bsad
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x164]
push ecx
movsb byte es:[edi], byte [esi]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
lea esp, [esp]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea ecx, [esp + 0x4c]
push ecx
push ebp
push str._d__s_t
push ebx
call fcn.00639201
movzx edx, word [esp + 0x2a]
movzx eax, word [esp + 0x28]
movzx ecx, word [esp + 0x26]
push edx
movzx edx, word [esp + 0x26]
push eax
movzx eax, word [esp + 0x28]
push ecx
push edx
push eax
push str._4d__02d__02d__02d__02d_n
push ebx
call fcn.00639201
add esp, 0x2c
lea ecx, [esp + 0x20]
push ecx
push esi
inc ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x435230
push ebx
call fcn.006378aa
mov ecx, dword [esp + 0x36c]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
mov eax, 1
call fcn.006376f4
add esp, 0x35c
ret