joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4016c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
mov ecx, 0x6a4240
call fcn.0041a710
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 7
mov dword [0x6a1514], esi
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 [0x6dc81c]
xor edx, edx
mov eax, esi
div dword [0x6dbda8]
mov eax, dword [0x6dbdac]
mov edx, dword [eax + edx*4]
test edx, edx
je 0x40171e
cmp dword [edx], esi
je 0x401765
mov edx, dword [edx + 0xc]
test edx, edx
jne 0x401713
mov edx, dword [ebp + 8]
push 0
push edx
push 0
push 0
add ecx, 0x300
push ecx
add edi, 0x400
push edi
push 0
push 0x80000000
push 0x2ca0000
push 0x6a1518
push 0x6a1730
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, eax
mov dword [0x6a1500], esi
test esi, esi
jne 0x401784
pop edi
pop esi
pop ebx
pop ebp
ret
mov edx, dword [edx + 4]
test edx, edx
je 0x40171e
mov eax, dword [ebp + 8]
push 0
push eax
mov eax, dword [edx + 8]
push 0
add eax, ecx
mov ecx, dword [edx + 4]
push 0
push eax
add ecx, edi
push ecx
jmp 0x401736
mov eax, dword [ebp + 0xc]
push eax
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, 0x6a2368
call fcn.00402ec0
cmp dword [0x6b27f8], 0
push 0
mov ecx, 0x6a2368
push 0
jne 0x4017d4
push 1
call fcn.00402d20
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret
push 2
call fcn.00402d20
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret
Function at 0x401fc0
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov esi, dword [ebp + 8]
push esi
call fcn.00401080
mov eax, dword [ebp + 0x10]
mov dword [0x6a14f8], 0
mov ecx, str.gvkc9jw0ot0Ut
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x402002
test dl, dl
je 0x401ffe
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x402002
add eax, 2
add ecx, 2
test dl, dl
jne 0x401fe2
xor eax, eax
jmp 0x402007
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x402028
push 0
push str.Error__
push 0x582804
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10
call fcn.004012f0
test eax, eax
je 0x40201f
push esi
call fcn.00401080
push str.._Log_Debug.txt
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push 0x5827f0
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push str._______________________________________________________
push 0x6c1258
call fcn.00511670
push str._____________________Client_Start______________________
push 0x6c1258
call fcn.00511670
push str._______________________________________________________
push 0x6c1258
call fcn.00511670
add esp, 0x18
call fcn.00401260
mov ecx, 0x6c2830
call fcn.0051b880
push 0x6dbc7a
push 0x6a1518
call fcn.0056469f
push 0x6dbc7a
push 0x6a1730
call fcn.0056469f
push esi
call fcn.00401f60
add esp, 0x14
mov ecx, 0x6c2830
call fcn.0051e0a0
push str.._Resource_QuestScript_QuestString.bin
mov ecx, 0x6bc278
call fcn.004dbe10
push str.._Resource_QuestScript_QuestScript.bin
mov ecx, 0x6bc278
call fcn.004dc9d0
push str.._Resource_QuestScript_NewbieGuide.bin
mov ecx, 0x6bc278
call fcn.004dab10
push str.._Resource_QuestScript_QuestNpcList.bin
mov ecx, 0x6bc278
call fcn.004dbfe0
mov ecx, 0x6afea0
call fcn.00428920
mov eax, dword [ebp + 0x14]
push eax
push esi
call fcn.004016c0
add esp, 8
test eax, eax
jne 0x402124
call fcn.00401300
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
push edi
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push 1
push 0
push 0
push 0
lea ecx, [ebp - 0x1c]
push ecx
call esi
test eax, eax
je 0x402158
lea edx, [ebp - 0x1c]
push edx
call edi
lea eax, [ebp - 0x1c]
push eax
call ebx
jmp 0x402138
mov ecx, 0x6a2368
call fcn.004031c0
cmp eax, 0xffffffff
jne 0x402138
call fcn.00401300
mov eax, dword [ebp - 0x14]
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4152a0
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x69ff0c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
xor ebx, ebx
mov dword [ebp - 0x130], eax
cmp eax, ebx
je 0x4154aa
cmp byte [eax], bl
je 0x4154aa
lea eax, [ebp - 0x118]
push eax
push 0x20019
push ebx
push str.SYSTEMCurrentControlSetControlClass4D36E972_E325_11CE_BFC1_08002BE10318
push 0x80000002
mov dword [ebp - 0x118], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x4154aa
mov edx, dword [ebp - 0x118]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x11c]
push ecx
push ebx
push ebx
push ebx
push edx
mov dword [ebp - 0x11c], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
je 0x41532c
mov dword [ebp - 0x11c], 0x64
push edi
xor edi, edi
mov dword [ebp - 0x12c], ebx
cmp dword [ebp - 0x11c], ebx
jbe 0x415485
push esi
xor eax, eax
push edi
push str._04u
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], al
lea eax, [ebp - 0xc]
push 5
push eax
call fcn.00415750
mov eax, dword [ebp - 0x118]
add esp, 0x10
lea ecx, [ebp - 0x114]
push ecx
push 0x20019
push ebx
lea edx, [ebp - 0xc]
push edx
push eax
mov dword [ebp - 0x114], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x415445
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [ebp - 0x120]
push ecx
mov ecx, dword [ebp - 0x114]
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x124]
push eax
push ebx
push str.NetCfgInstanceId
push ecx
mov dword [ebp - 0x124], ebx
mov dword [ebp - 0x120], 0x104
call esi
test eax, eax
je 0x4153d7
mov edx, dword [ebp - 0x114]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x415445
mov eax, dword [ebp - 0x130]
push eax
lea ecx, [ebp - 0x110]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x4153fe
mov edx, dword [ebp - 0x114]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x415445
lea eax, [ebp - 0x120]
push eax
mov eax, dword [ebp - 0x114]
lea ecx, [ebp - 0x128]
push ecx
lea edx, [ebp - 0x124]
push edx
push ebx
push str.Characteristics
push eax
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x120], 4
call esi
mov ecx, dword [ebp - 0x114]
push ecx
mov esi, eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, ebx
je 0x415478
inc edi
cmp edi, dword [ebp - 0x11c]
jb 0x415342
mov eax, dword [ebp - 0x118]
pop esi
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x12c]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056411e
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 0x128]
mov dword [ebp - 0x12c], edx
pop esi
mov eax, dword [ebp - 0x118]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x12c]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056411e
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.0056411e
mov esp, ebp
pop ebp
ret 4
Function at 0x4154c0
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push edi
lea eax, [ebp - 4]
xor edi, edi
push eax
push edi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
je 0x415501
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp + 8]
push eax
push str.GetMAC_Failed__ErrorCode:__d
push 0x12
push ecx
call fcn.00415750
add esp, 0x10
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 4
mov edx, dword [ebp - 4]
push esi
push edx
call fcn.00565347
mov esi, eax
add esp, 4
mov dword [ebp - 0xc], esi
cmp esi, edi
jne 0x415530
mov eax, dword [ebp + 8]
push str.GetMAC_Failed__Because_malloc_failed_
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop esi
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 4]
push ecx
push esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x415568
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp + 8]
push eax
push str.GetMAC_Failed__ErrorCode:__d
push 0x12
push edx
call fcn.00415750
push esi
call fcn.0056530d
add esp, 0x14
pop esi
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 4
push ebx
mov ebx, dword [ebp + 8]
lea esp, [esp]
mov eax, dword [esi + 0x190]
cmp eax, 6
jb 0x4155a7
cmp eax, 8
ja 0x4155a7
push eax
lea eax, [esi + 0x194]
push eax
push ebx
call fcn.00564960
mov edi, dword [esi + 0x190]
add esp, 0xc
lea ecx, [esi + 8]
push ecx
mov ecx, dword [ebp - 8]
call fcn.004152a0
test al, 4
jne 0x4155ad
mov esi, dword [esi]
test esi, esi
jne 0x415570
mov edx, dword [ebp - 0xc]
push edx
call fcn.0056530d
add esp, 4
pop ebx
pop esi
mov eax, edi
pop edi
mov esp, ebp
pop ebp
ret 4

Function at 0x419015
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [0x6a2370]
push esi
mov esi, ecx
mov ecx, dword [eax + 8]
mov dword [ecx + 0xc], 1
cmp dword [esi + 0x10], 0
push 0
mov ecx, 0x6a2368
push 0
je 0x41904b
push 3
mov dword [0x6a2598], 1
call fcn.00402d20
mov dword [esi + 0x10], 0
jmp 0x419052
push 2
call fcn.00402d20
cmp dword [0x6b27f8], 0
pop esi
jne 0x419070
mov dword [0x6b27f8], 1
mov ecx, 0x6b2760
jmp fcn.004bcd00
ret
Function at 0x436e20
Capabilities:
Delete file

Disassembly:
push esi
push edi
push 0x582d48
push str.._image_InterfaceScript_AdvancedSetDlg.bin
mov edi, ecx
call fcn.004368d0
mov ecx, dword [edi + 0x18]
mov esi, eax
push esi
call fcn.0055eff0
mov ecx, esi
call fcn.004f8ad0
pop edi
mov dword [0x6a2d3c], esi
mov ecx, esi
pop esi
jmp fcn.004f92b0

Function at 0x464e30
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
push edi
mov edi, ecx
test eax, eax
jne 0x464e53
push str.Item_DB_idx__0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
xor eax, eax
pop ebx
pop ebp
ret 4
push esi
push eax
mov ecx, 0x6b1518
call fcn.00495ae0
mov esi, eax
test esi, esi
je 0x464e72
mov ax, word [ebx + 6]
mov word [esi + 0x28e], ax
jmp 0x464ea1
push str.CItemShopGridDialog::AddItem
push ebx
mov ecx, 0x6b1518
call fcn.00498d00
mov esi, eax
test esi, esi
jne 0x464e8f
pop esi
pop edi
pop ebx
pop ebp
ret 4
push esi
mov ecx, 0x6b1518
mov dword [esi + 0x24], 1
call fcn.004a21e0
mov edx, dword [esi]
mov eax, dword [edx + 0x7c]
mov ecx, esi
call eax
movzx ecx, ax
push ecx
mov ecx, edi
call fcn.00464d50
movzx eax, ax
push esi
push eax
mov ecx, edi
call fcn.00423250
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x47b350
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
lea ecx, [esi + 0x284]
cmp ebx, 1
jne 0x47b39a
mov eax, dword [0x6b1834]
add eax, 0x1d4c0
push edi
mov dword [esi + 0x238], eax
call fcn.0043d550
push str.ANRaster.tga
lea ecx, [esi + 0x284]
call fcn.0043d580
pop edi
push ebx
mov ecx, esi
call fcn.0041e890
pop esi
pop ebx
pop ebp
ret 4
call fcn.0043d550
push str.ANRaster.tga
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
mov ecx, esi
call fcn.0041e890
pop esi
pop ebx
pop ebp
ret 4

Function at 0x47b3c0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
lea ecx, [esi + 0x284]
cmp ebx, 1
jne 0x47b40f
mov eax, dword [ebp + 0xc]
imul eax, eax, 0x3e8
add eax, dword [0x6b1834]
push edi
mov dword [esi + 0x238], eax
call fcn.0043d550
push str.ANRaster.tga
lea ecx, [esi + 0x284]
call fcn.0043d580
pop edi
push ebx
mov ecx, esi
call fcn.0041e890
pop esi
pop ebx
pop ebp
ret 8
call fcn.0043d550
push str.ANRaster.tga
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ebx
mov ecx, esi
call fcn.0041e890
pop esi
pop ebx
pop ebp
ret 8
Function at 0x49d750
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ac
mov eax, dword [0x69ff0c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [sym.imp.WINMM.dll_timeGetTime]
push esi
mov esi, ecx
call ebx
cmp dword [esi + 0xf4], 0
jne 0x49d77e
mov dword [esi + 0xf4], eax
sub eax, dword [esi + 0xf4]
cmp eax, 0x1388
jbe 0x49d86c
mov ecx, dword [esi + 0xd0]
mov eax, dword [esi + 0xdc]
mov dword [esi + 0xe4], eax
test ecx, ecx
jle 0x49d7b4
test eax, eax
je 0x49d7b1
mov eax, dword [eax]
mov dword [esi + 0xe4], eax
dec ecx
jne 0x49d7a5
push edi
push 0
push 2
mov dword [ebp - 0x1ac], 0x128
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
je 0x49d86b
lea ecx, [ebp - 0x1ac]
push ecx
push edi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x49d85c
jmp 0x49d7f0
lea edx, [ebp - 0x188]
push edx
lea eax, [ebp - 0x84]
push 0x58267c
push eax
call fcn.0056469f
add esp, 0xc
lea ecx, [ebp - 0x84]
push ecx
mov ecx, esi
call fcn.00498b00
test eax, eax
je 0x49d84b
mov ecx, 0x6c2050
call fcn.005169f0
push 0x230
mov ecx, 0x6b28c8
call fcn.004be880
push eax
push 1
push 0x179e
push 0x6b0010
call fcn.00439e30
add esp, 0x10
lea edx, [ebp - 0x1ac]
push edx
push edi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x49d7f0
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
mov dword [esi + 0xf4], eax
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0056411e
mov esp, ebp
pop ebp
ret
Function at 0x4b09e0
Capabilities:
Check for time delay via gettickcount

Disassembly:
cmp byte [0x69ba7d], 0
push esi
mov esi, ecx
je 0x4b0a03
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xc], eax
mov dword [0x6b1848], eax
mov byte [0x69ba7d], 0
pop esi
ret
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [esi + 0xc]
mov edx, eax
sub edx, ecx
mov dword [0x6b1848], eax
cmp eax, ecx
jae 0x4b0a1a
dec edx
mov dword [0x6b1830], edx
mov dword [esi + 0xc], eax
mov eax, dword [0x6b1830]
add dword [0x6b1834], eax
add dword [esi + 8], eax
cmp dword [esi + 8], 0x5265c00
jb 0x4b0a44
inc dword [esi + 4]
add dword [esi + 8], 0xfad9a400
pop esi
ret
Function at 0x4b8ea0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
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 0x4b8ed2
pop edi
xor eax, eax
pop esi
pop ebp
ret 4
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea ecx, [ebp + 8]
push ecx
push 0x500
lea edx, [edi + 0x504]
push edx
push esi
call ebx
test eax, eax
jne 0x4b8f02
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
xor eax, eax
pop esi
pop ebp
ret 4
push 0
lea eax, [ebp + 8]
push eax
push 0xc0
add edi, 0xac4
push edi
push esi
call ebx
push esi
test eax, eax
je 0x4b8ef3
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
pop edi
mov eax, 1
pop esi
pop ebp
ret 4
Function at 0x4bcc50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push str.._ini_GameOption.opt
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4bcc86
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [ebp - 4]
push eax
push 4
lea ecx, [ebp - 8]
push ecx
push esi
mov dword [ebp - 4], 0
call edi
test eax, eax
je 0x4bccc6
cmp dword [ebp - 8], 0x61208
jne 0x4bccc6
push 0
lea edx, [ebp - 4]
push edx
push 0xa8
add ebx, 4
push ebx
push esi
call edi
test eax, eax
jne 0x4bccd6
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 4], 0xa8
push esi
ja 0x4bccc7
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4bcd00
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
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 0x4bcd65
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea eax, [ebp - 8]
push eax
push 4
lea ecx, [ebp - 4]
push ecx
push esi
mov dword [ebp - 4], 0x61208
call edi
push 0
lea edx, [ebp - 8]
push edx
push 0xa8
add ebx, 4
push ebx
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4bd7b0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x69ff0c]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
xor eax, eax
mov dword [ecx + 0x9720], eax
push edi
lea edi, [ecx + 0x9720]
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov dword [edi + 0xc], eax
mov byte [edi + 0x10], al
mov eax, dword [ecx + 0x9708]
mov ecx, dword [ecx + eax*4 + 0x96e0]
push edx
mov dword [ebp - 0x20], edi
call fcn.00425bd0
test eax, eax
je 0x4bd996
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x4bd82f
cmp ecx, 0xffb9f145
je 0x4bd82f
cmp ecx, 0xff01d1f7
je 0x4bd82f
cmp ecx, 0xfff0ff00
je 0x4bd82f
cmp ecx, 0xfff7b618
je 0x4bd82f
cmp ecx, 0xffebc3ce
jne 0x4bd996
push ebx
lea ebx, [eax + 4]
mov eax, ebx
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4bd838
sub eax, edx
push esi
mov dword [ebp - 0x2c], eax
mov esi, 0
je 0x4bd84e
mov esi, ebx
xor ebx, ebx
cmp byte [esi], 0x5b
jne 0x4bd994
xor ecx, ecx
inc esi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x24], ecx
cmp eax, ecx
jle 0x4bd994
lea ecx, [ecx]
cmp byte [ecx + esi], 0x5d
jne 0x4bd8df
lea edi, [ebx + 1]
xor eax, eax
push edi
lea ecx, [ebp - 0x18]
push esi
push ecx
mov dword [ebp - 0x28], 1
mov byte [ebp - 0x18], 0
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
call fcn.00517890
push 5
push 0x58e9a0
push esi
call fcn.0056620a
add esp, 0x18
test eax, eax
je 0x4bd8c5
push 5
push 0x58e998
push esi
call fcn.0056620a
add esp, 0xc
test eax, eax
jne 0x4bd8ea
cmp dword [ebp - 0x1c], 0
jne 0x4bd8ea
mov ecx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x2c]
mov ebx, edi
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x1c], 1
jmp 0x4bd8e0
inc ebx
inc ecx
mov dword [ebp - 0x24], ecx
cmp ecx, eax
jl 0x4bd870
jmp 0x4bd8ed
mov edi, dword [ebp - 0x20]
cmp ebx, 0x10
jg 0x4bd994
cmp dword [ebp - 0x28], 0
je 0x4bd994
cmp dword [ebp - 0x1c], 0
je 0x4bd90b
add ebx, 2
jmp 0x4bd90c
inc ebx
push ebx
push esi
push edi
call fcn.00517890
mov edx, dword [0x6a1500]
add esp, 0xc
push edx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4bd994
call dword [sym.imp.USER32.dll_EmptyClipboard]
push 0x12
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x4bd967
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push 0x12
push edi
push eax
mov byte [eax], 0
call fcn.00517890
add esp, 0xc
push esi
push 7
call dword [sym.imp.USER32.dll_SetClipboardData]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
push edi
push 0x65e
mov ecx, 0x6b28c8
call fcn.004be880
push eax
push 0x1d
push 0x6b28c8
call fcn.004bfb10
add esp, 0x10
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0056411e
mov esp, ebp
pop ebp
ret 4
Function at 0x4e4c90
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x69ff0c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
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 0x4e4d60
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
push 0
lea eax, [ebp - 0x14]
push eax
push 4
lea ecx, [ebp - 0x18]
push ecx
push esi
call edi
test eax, eax
je 0x4e4cee
cmp dword [ebp - 0x18], 0x6060801
je 0x4e4d08
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056411e
mov esp, ebp
pop ebp
ret 4
push 0
lea edx, [ebp - 0x14]
push edx
push 0xc
lea eax, [ebp - 0x10]
push eax
push esi
call edi
push esi
test eax, eax
je 0x4e4cef
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebx + 0x1c], 0
je 0x4e4d5f
mov ecx, dword [0x6b0914]
test ecx, ecx
je 0x4e4d5f
mov edx, dword [ebp - 0xc]
push edx
call fcn.00486560
mov eax, dword [ebp - 0x10]
mov ecx, dword [0x6b0914]
push eax
call fcn.004858e0
fld dword [ebp - 8]
push 0
push ecx
fstp dword [esp]
push 0
mov ecx, 0x6deeb8
call fcn.0053de90
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0056411e
mov esp, ebp
pop ebp
ret 4

Function at 0x4e4d80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x69ff0c]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x6b0914]
push esi
mov esi, dword [ebp + 8]
test ecx, ecx
je 0x4e4e13
call fcn.00486550
fld dword [0x6deef8]
push 0
push 0x80
push 2
push 0
mov dword [ebp - 0xc], eax
mov eax, dword [0x6b0914]
mov cx, word [eax + 0x688]
fstp dword [ebp - 8]
push 0
push 0x40000000
push esi
mov word [ebp - 0x10], cx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4e4e13
push edi
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
lea edx, [ebp - 0x14]
push edx
push 4
lea eax, [ebp - 0x18]
push eax
push esi
mov dword [ebp - 0x18], 0x6060801
call edi
push 0
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea edx, [ebp - 0x10]
push edx
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0056411e
mov esp, ebp
pop ebp
ret 4
Function at 0x4e5cd0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x69ff0c]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [ebp + 8], 0
push esi
mov esi, ecx
je 0x4e5dc5
push ebx
push edi
push 0
mov ecx, 0x6df7e0
call fcn.0054b290
mov edi, dword [sym.imp.USER32.dll_wsprintfA]
push eax
lea eax, [ebp - 0x108]
push str._sData
push eax
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
add esp, 0xc
push 0
lea ecx, [ebp - 0x108]
push ecx
call ebx
mov edx, dword [esi + 0x18]
push edx
push 0
mov ecx, 0x6df7e0
call fcn.0054b290
push eax
lea eax, [ebp - 0x108]
push str._sData_d
push eax
call edi
add esp, 0x10
push 0
lea ecx, [ebp - 0x108]
push ecx
call ebx
mov bl, byte [ebp + 8]
test bl, 1
je 0x4e5d8d
mov eax, dword [esi + 0x18]
push eax
push eax
push 0
mov ecx, 0x6df7e0
call fcn.0054b290
push eax
lea edx, [ebp - 0x108]
push str._sData_d_d.UII
push edx
call edi
add esp, 0x14
lea eax, [ebp - 0x108]
push eax
mov ecx, esi
call fcn.004e5680
test bl, 2
je 0x4e5dc3
mov eax, dword [esi + 0x18]
push eax
push eax
push 0
mov ecx, 0x6df7e0
call fcn.0054b290
push eax
lea ecx, [ebp - 0x108]
push str._sData_d_d.UIS
push ecx
call edi
add esp, 0x14
lea edx, [ebp - 0x108]
push edx
mov ecx, esi
call fcn.004e4d80
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0056411e
mov esp, ebp
pop ebp
ret 4