joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4184e4
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
lea eax, [ebp - 4]
mov dword [ebp - 8], ecx
xor esi, esi
push eax
push esi
mov dword [ebp - 4], esi
call sub.IPHLPAPI.DLL_GetAdaptersInfo
cmp eax, 0x6f
je 0x418522
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetMAC_Failed__ErrorCode:__d
push 0x12
push dword [ebp + 8]
call fcn.0041a451
add esp, 0x10
xor eax, eax
jmp 0x4185c5
push ebx
push dword [ebp - 4]
call fcn.00553d44
mov ebx, eax
mov dword [ebp - 0xc], ebx
pop ecx
test ebx, ebx
jne 0x418547
push str.GetMAC_Failed__Because_malloc_failed_
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
xor eax, eax
jmp 0x4185c4
push edi
lea eax, [ebp - 4]
mov edi, ebx
push eax
push ebx
call sub.IPHLPAPI.DLL_GetAdaptersInfo
test eax, eax
je 0x418573
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.GetMAC_Failed__ErrorCode:__d
push 0x12
push dword [ebp + 8]
call fcn.0041a451
add esp, 0x10
jmp 0x4185ba
mov ebx, dword [ebp - 8]
mov eax, dword [edi + 0x190]
cmp eax, 6
jb 0x4185b1
cmp eax, 8
ja 0x4185b1
push eax
lea eax, [edi + 0x194]
push eax
push dword [ebp + 8]
call fcn.0054eed0
mov esi, dword [edi + 0x190]
lea eax, [edi + 8]
add esp, 0xc
mov ecx, ebx
push eax
call fcn.0041813b
shr eax, 2
test al, 1
jne 0x4185b7
mov edi, dword [edi]
test edi, edi
jne 0x418576
mov ebx, dword [ebp - 0xc]
push ebx
call fcn.00550077
pop ecx
mov eax, esi
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x41e938
Capabilities:
Write file on windows

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov ebx, 0x6aedac
push edi
mov ecx, ebx
call fcn.004b2240
mov ecx, eax
call fcn.00409e95
cmp dword [esi + 0x10], edi
je 0x41e972
mov ecx, 0x6aeff0
call fcn.0041754b
push edi
push edi
push 3
mov ecx, ebx
call fcn.0040a1d8
mov dword [esi + 0x10], edi
jmp 0x41e97d
push edi
push edi
push 2
mov ecx, ebx
call fcn.0040a1d8
mov esi, 0x6c92d0
mov ecx, esi
call fcn.0046d429
cmp dword [eax + 0x98], edi
pop edi
jne 0x41e9a5
mov ecx, esi
mov dword [eax + 0x98], 1
pop esi
pop ebx
jmp fcn.004bca35
pop esi
pop ebx
ret

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

Disassembly:
cmp dword [ecx + 0x10], 0
jne fcn.00437cc4
ret
Function at 0x43771a
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [esi + 0x930], ebx
cmp dword [esi + 0x10], ebx
je 0x43788a
cmp dword [esi + 0x2c], ebx
jne 0x43788a
push edi
mov ecx, 0x6bee08
call fcn.00414bde
mov edi, dword [ebp + 8]
test eax, eax
jne 0x4377e2
mov ecx, edi
call fcn.00407369
push eax
mov ecx, edi
call fcn.004150e7
push eax
mov ecx, esi
call fcn.00437c4e
test eax, eax
je 0x4377e2
mov ecx, 0x6bee08
call fcn.00426612
test eax, eax
je 0x437788
mov ecx, 0x6bee08
call fcn.0042650d
cmp eax, esi
je 0x4377c1
mov dword [esi + 0x930], 0x100000
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x40], eax
sub eax, dword [esi + 0x44]
cmp eax, 0x78
jbe 0x4377c1
mov ecx, edi
mov dword [0x6bed70], 1
call fcn.004150e7
mov ecx, edi
mov dword [esi + 0x50], eax
call fcn.00407369
mov dword [esi + 0x54], eax
mov ecx, 0x6bee08
call fcn.00426612
test eax, eax
jne 0x437804
test byte [esi + 0xc], 0x80
je 0x437804
push ebx
mov ecx, 0x6b2548
call fcn.0041fd14
jmp 0x437804
mov dword [0x6bed70], ebx
cmp dword [0x6bed6c], ebx
je 0x4377f8
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
jmp 0x437804
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], eax
mov ecx, 0x6bee08
call fcn.00422be4
test eax, eax
jne 0x437881
mov ecx, edi
call fcn.0040d1e4
push eax
mov ecx, edi
call fcn.0040d1dd
push eax
mov ecx, esi
call fcn.00437c4e
test eax, eax
je 0x437881
mov ecx, edi
call fcn.00418335
test eax, eax
je 0x437842
or dword [esi + 0x930], 0x400
mov ecx, edi
call fcn.0044a3de
test eax, eax
je 0x437857
or dword [esi + 0x930], 0x200
mov ecx, edi
call fcn.0040d440
test eax, eax
je 0x43786c
or dword [esi + 0x930], 0x10000
mov ecx, edi
call fcn.0044a3cc
test eax, eax
je 0x437881
or dword [esi + 0x930], 0x20000
mov eax, dword [esi + 0x930]
pop edi
jmp 0x43788c
xor eax, eax
pop esi
pop ebx
pop ebp
ret 4

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

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x10], 0
je 0x437d2e
mov ecx, dword [esi + 0x888]
test ecx, ecx
je 0x437d19
mov eax, dword [esi + 0x894]
xor edx, edx
imul eax, dword [esi + 0x890]
push edi
push 0x64
pop edi
div edi
shl eax, 0x18
or eax, dword [esi + 0x88c]
push eax
lea eax, [esi + 0x898]
push eax
push ecx
and dword [esp], 0
lea eax, [esi + 0x900]
push 0
push eax
call fcn.00427c32
pop edi
mov ecx, esi
pop esi
jmp fcn.00437eee
mov eax, dword [0x6bed68]
xor ecx, ecx
cmp dword [0x6c744c], ecx
cmovne eax, ecx
mov dword [0x6bed68], eax
pop esi
ret
Function at 0x437eee
Capabilities:
Check for time delay via gettickcount

Disassembly:
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x58]
mov ecx, esi
call fcn.004b2240
test eax, eax
jne 0x437f2a
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x6bed78]
cmp eax, 0x78
jbe 0x438046
call esi
and dword [0x6bed6c], 0
mov dword [0x6bed78], eax
jmp 0x438046
mov ecx, esi
call fcn.004b2240
test eax, eax
je 0x438046
mov eax, dword [edi + 0x40]
sub eax, dword [edi + 0x44]
cmp eax, 0x78
jbe 0x438046
push ebx
push esi
mov ecx, 0x6bee08
mov dword [0x6bed6c], 1
call fcn.0054698f
mov eax, dword [edi + 0x54]
mov ecx, esi
add eax, 0x1c
push eax
mov eax, dword [edi + 0x50]
add eax, 0x22
push eax
call fcn.00421477
cmp dword [edi + 0x910], 0
mov ebx, 0x6d64b8
je 0x437fd9
push 0x1d
mov ecx, ebx
call fcn.00408313
mov ecx, eax
call fcn.004f67fa
test eax, eax
je 0x437fd9
mov esi, dword [edi + 0x910]
mov ecx, esi
call fcn.004b2240
test eax, eax
je 0x437fd9
push esi
mov ecx, 0x6bee08
call fcn.00440e4e
mov eax, dword [edi + 0x54]
mov ecx, dword [edi + 0x910]
add eax, 0x1c
push eax
mov eax, dword [edi + 0x50]
sub eax, 0x102
push eax
call fcn.00421477
mov ecx, dword [edi + 0x910]
push 1
call fcn.00437ea4
cmp dword [edi + 0x914], 0
je 0x438045
push 0x1d
mov ecx, ebx
call fcn.00408313
mov ecx, eax
call fcn.004f67fa
test eax, eax
je 0x438045
mov esi, dword [edi + 0x914]
mov ecx, esi
call fcn.004b2240
test eax, eax
je 0x438045
push esi
mov ecx, 0x6bee08
call fcn.00437e97
mov esi, dword [edi + 0x914]
mov ecx, esi
call fcn.00437974
mov edx, dword [edi + 0x54]
mov ecx, esi
movzx eax, ax
sub edx, eax
mov eax, dword [edi + 0x50]
push edx
sub eax, 0x102
push eax
call fcn.00421477
mov ecx, dword [edi + 0x914]
push 1
call fcn.00437ea4
pop ebx
pop edi
pop esi
ret

Function at 0x43f6db
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx + 0xc]
pop ebp
jmp fcn.0042d0d7
Function at 0x47bd4c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 1
push edi
mov edi, ecx
jne 0x47bd85
mov eax, dword [0x6c63c8]
push esi
add eax, 0x1d4c0
lea esi, [edi + 0x9c0]
mov ecx, esi
mov dword [edi + 0x974], eax
call fcn.00443217
push str.ANRaster.tga
mov ecx, esi
call fcn.00443170
pop esi
jmp 0x47bd9b
lea ecx, [edi + 0x9c0]
call fcn.00443217
push str.ANRaster.tga
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [ebp + 8]
mov ecx, edi
call fcn.00423bbd
pop edi
pop ebp
ret 4

Function at 0x47bdaa
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 1
push edi
mov edi, ecx
jne 0x47bde6
imul eax, dword [ebp + 0xc], 0x3e8
push esi
lea esi, [edi + 0x9c0]
mov ecx, esi
add eax, dword [0x6c63c8]
mov dword [edi + 0x974], eax
call fcn.00443217
push str.ANRaster.tga
mov ecx, esi
call fcn.00443170
pop esi
jmp 0x47bdfc
lea ecx, [edi + 0x9c0]
call fcn.00443217
push str.ANRaster.tga
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [ebp + 8]
mov ecx, edi
call fcn.00423bbd
pop edi
pop ebp
ret 8
Function at 0x4987f7
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x354
mov eax, dword [0x6a2c70]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
call dword [sym.imp.WINMM.dll_timeGetTime]
cmp dword [ebx + 0xc8], 0
jne 0x498822
mov dword [ebx + 0xc8], eax
sub eax, dword [ebx + 0xc8]
cmp eax, 0x1388
jbe 0x498919
push esi
push edi
lea edi, [ebx + 0xa4]
mov ecx, edi
call fcn.00498947
mov ecx, edi
mov esi, eax
call fcn.004ff444
test esi, esi
jle 0x498859
mov ecx, edi
call fcn.0049892f
dec esi
jne 0x49884f
lea eax, [ebp - 0x108]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea edi, [ebp - 0x108]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x498872
mov esi, str.Resource.bin
lea eax, [ebp - 0x34c]
push eax
lea eax, [ebp - 0x108]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x350], eax
lea eax, [ebp - 0x354]
mov ecx, ebx
push eax
lea eax, [ebp - 0x320]
push eax
call fcn.004987ac
test eax, eax
je 0x4988f4
mov esi, str.Resource_
lea edi, [ebp - 0x20c]
lea edx, [ebp - 0x320]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x4988ce
lea edi, [ebp - 0x20c]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4988de
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x34c]
push eax
push dword [ebp - 0x350]
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x49889d
call dword [sym.imp.WINMM.dll_timeGetTime]
pop edi
mov dword [ebx + 0xc8], eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.0054ee82
mov esp, ebp
pop ebp
ret
Function at 0x4baf3e
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
xor esi, esi
mov ebx, ecx
push esi
push 0x80
push 2
push esi
push esi
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4baf6b
xor eax, eax
jmp 0x4bafb8
push esi
lea eax, [ebp + 8]
push eax
push 0x6c0
lea eax, [ebx + 0x6c4]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4baf90
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4baf67
push esi
lea eax, [ebp + 8]
push eax
push 0x1c0
lea eax, [ebx + 0xf44]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4bafaf
xor esi, esi
inc esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x4bc922
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push edi
xor edi, edi
mov dword [ebp - 0xc], ecx
push edi
push 0x80
push 3
push edi
push edi
push 0x80000000
push str.._ini_GameOption.opt
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4bc954
xor eax, eax
jmp 0x4bc9b0
push edi
lea eax, [ebp - 4]
mov dword [ebp - 4], edi
push eax
push 4
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4bc976
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4bc950
cmp dword [ebp - 8], 0x71208
jne 0x4bc96d
push edi
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
push 0xb0
add eax, 4
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4bc96d
cmp dword [ebp - 4], 0xb0
ja 0x4bc9a7
xor edi, edi
inc edi
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4bca35
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor esi, esi
mov ebx, ecx
push esi
push 0x80
push 2
push esi
push esi
push 0x40000000
push str.._ini_GameOption.opt
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4bca96
push esi
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 8]
push eax
push 4
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x71208
push eax
push edi
call esi
push 0
lea eax, [ebp - 8]
push eax
push 0xb0
lea eax, [ebx + 4]
push eax
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4df0b4
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x6a2c70]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
mov ebx, ecx
push edi
push 0x80
push 3
push edi
push edi
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4df1b0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x128]
push eax
push 4
lea eax, [ebp - 0x12c]
push eax
push esi
call edi
test eax, eax
jne 0x4df11c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4df1b0
cmp dword [ebp - 0x12c], 0x6111101
jne 0x4df110
push 0
lea eax, [ebp - 0x128]
push eax
push 4
lea eax, [ebp - 0x130]
push eax
push esi
call edi
test eax, eax
je 0x4df110
mov ecx, 0x6d70e8
call fcn.004de943
movzx eax, al
cmp dword [ebp - 0x130], eax
jne 0x4df110
push 0
lea eax, [ebp - 0x128]
push eax
push 0x120
lea eax, [ebp - 0x124]
push eax
push esi
call edi
push esi
test eax, eax
je 0x4df111
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x829
mov ecx, 0x6bee08
call fcn.0043f7a8
push dword [ebp - 0x40]
mov esi, eax
push dword [ebp - 0x44]
mov ecx, esi
call fcn.00421a96
push eax
mov ecx, ebx
call fcn.004de951
test eax, eax
je 0x4df1b0
push dword [ebp - 0x40]
mov eax, dword [esi]
mov ecx, esi
push dword [ebp - 0x44]
call dword [eax + 0x24]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054ee82
mov esp, ebp
pop ebp
ret 4

Function at 0x4df29a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x6a2c70]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor edi, edi
mov ebx, ecx
push edi
push 0x80
push 3
push edi
push edi
push 0x80000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4df362
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x14]
push eax
push 4
lea eax, [ebp - 0x18]
push eax
push esi
call edi
test eax, eax
jne 0x4df2f6
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4df362
cmp dword [ebp - 0x18], 0x6060801
jne 0x4df2ed
push 0
lea eax, [ebp - 0x14]
push eax
push 0xc
lea eax, [ebp - 0x10]
push eax
push esi
call edi
push esi
test eax, eax
je 0x4df2ee
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
cmp dword [ebx + 0x1c], esi
je 0x4df362
mov edi, 0x6c5288
mov ecx, edi
call fcn.0046a8f0
test eax, eax
je 0x4df362
push dword [ebp - 0xc]
mov ecx, eax
call fcn.004889d7
push dword [ebp - 0x10]
mov ecx, edi
call fcn.0046a8f0
mov ecx, eax
call fcn.004889b4
movss xmm0, dword [ebp - 8]
push esi
push ecx
movss dword [esp], xmm0
mov ecx, 0x6f4798
push esi
call fcn.00519c03
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054ee82
mov esp, ebp
pop ebp
ret 4
Function at 0x4dfa6a
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x6a2c70]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, 0x6bee08
push 0x829
call fcn.0043f7a8
mov esi, eax
test esi, esi
je 0x4dfac8
mov ecx, esi
call fcn.00406e4e
fstp dword [ebp - 0x128]
cvttss2si eax, dword [ebp - 0x128]
mov ecx, esi
mov dword [ebp - 0x44], eax
call fcn.00406e55
fstp dword [ebp - 0x128]
cvttss2si eax, dword [ebp - 0x128]
mov dword [ebp - 0x40], eax
xor ebx, ebx
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4dfb50
mov ecx, 0x6d70e8
mov dword [ebp - 0x130], 0x6111101
call fcn.004de943
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
movzx ecx, al
lea eax, [ebp - 0x12c]
push ebx
push eax
push 4
lea eax, [ebp - 0x130]
mov dword [ebp - 0x134], ecx
push eax
push edi
call esi
push ebx
lea eax, [ebp - 0x12c]
push eax
push 4
lea eax, [ebp - 0x134]
push eax
push edi
call esi
push ebx
lea eax, [ebp - 0x12c]
push eax
push 0x120
lea eax, [ebp - 0x124]
push eax
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054ee82
mov esp, ebp
pop ebp
ret 4

Function at 0x4dfb63
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x6a2c70]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
test ebx, ebx
je 0x4dfc97
push esi
push 0
mov ecx, 0x6f4fe0
call fcn.00522fe2
push eax
lea eax, [ebp - 0x108]
push str._sData
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea eax, [ebp - 0x108]
add esp, 0xc
push 0
push eax
call esi
push dword [edi + 0x18]
mov ecx, 0x6f4fe0
push 0
call fcn.00522fe2
push eax
lea eax, [ebp - 0x108]
push str._sData_d
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea eax, [ebp - 0x108]
push 0
push eax
call esi
mov esi, 0x6f4fe0
test bl, 1
je 0x4dfc26
push dword [edi + 0x18]
mov ecx, esi
push dword [edi + 0x18]
push 0
call fcn.00522fe2
push eax
lea eax, [ebp - 0x108]
push str._sData_d_d.UII
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [ebp - 0x108]
mov ecx, edi
push eax
call fcn.004df375
test bl, 2
je 0x4dfc5e
push dword [edi + 0x18]
mov ecx, esi
push dword [edi + 0x18]
push 0
call fcn.00522fe2
push eax
lea eax, [ebp - 0x108]
push str._sData_d_d.UIS
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [ebp - 0x108]
mov ecx, edi
push eax
call fcn.004dfca9
test bl, 4
je 0x4dfc96
push dword [edi + 0x18]
mov ecx, esi
push dword [edi + 0x18]
push 0
call fcn.00522fe2
push eax
lea eax, [ebp - 0x108]
push str._sData_d_d.UIR
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x14
lea eax, [ebp - 0x108]
mov ecx, edi
push eax
call fcn.004dfa6a
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0054ee82
mov esp, ebp
pop ebp
ret 4
Function at 0x4dfca9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x6a2c70]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, 0x6c5288
mov ecx, edi
call fcn.0046a8f0
test eax, eax
je 0x4dfd49
push ebx
mov ecx, eax
call fcn.004c090c
mov ecx, edi
mov dword [ebp - 0xc], eax
call fcn.0046a8f0
mov ecx, eax
call fcn.00486e1f
xor ebx, ebx
mov word [ebp - 0x10], ax
push ebx
mov ecx, 0x6f4798
call fcn.004de92d
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push esi
fstp dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4dfd48
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 0x14]
push ebx
push eax
push 4
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x6060801
push eax
push edi
call esi
push ebx
lea eax, [ebp - 0x14]
push eax
push 0xc
lea eax, [ebp - 0x10]
push eax
push edi
call esi
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0054ee82
mov esp, ebp
pop ebp
ret 4

Function at 0x4f33e7
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x10], 0
push esi
jne 0x4f342c
push 0x586894
push dword [ebp + 8]
call fcn.00551d18
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4f345e
mov ecx, dword [ebp + 0xc]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4f340c
push esi
sub ecx, edx
push 1
push ecx
push dword [ebp + 0xc]
call fcn.0054edcf
push esi
call fcn.0054f7fb
add esp, 0x14
jmp 0x4f345e
cmp dword [ebp + 0x10], 1
jne 0x4f345e
push 0x586898
push dword [ebp + 8]
call fcn.00551d18
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x4f345e
push dword [ebp + 0xc]
push 0x58689c
push esi
call fcn.0054e7e1
push esi
call fcn.0054f7fb
add esp, 0x10
xor eax, eax
pop esi
pop ebp
ret 0xc
Function at 0x4f46da
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x208
mov eax, dword [0x6a2c70]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
test ebx, ebx
je 0x4f47a9
push 0x579b64
push ebx
call fcn.00551d18
pop ecx
pop ecx
lea edx, [edi + 0x30]
mov dword [edi + 4], eax
mov ecx, ebx
sub edx, ebx
mov al, byte [ecx]
mov byte [edx + ecx], al
inc ecx
test al, al
jne 0x4f4714
cmp dword [edi + 4], 0
je 0x4f47a9
push 2
xor esi, esi
push esi
push dword [edi + 4]
call fcn.0054ebf3
push dword [edi + 4]
call fcn.005564cc
push esi
push esi
push dword [edi + 4]
mov dword [ebp - 0x208], eax
call fcn.0054ebf3
add esp, 0x1c
mov ecx, edi
call fcn.004f3f1d
push dword [edi + 4]
lea esi, [edi + 0x18]
push 1
push 0xc
push esi
call fcn.0054eab8
mov eax, dword [esi]
lea ecx, [edi + 0x134]
sub eax, dword [edi + 0x1c]
add esp, 0x10
sub eax, dword [edi + 0x20]
push eax
call fcn.00403011
test eax, eax
jne 0x4f47be
push ebx
lea eax, [ebp - 0x104]
push str.Bin_File_Version_Error_____s
push eax
call fcn.00550fcb
lea eax, [ebp - 0x104]
add esp, 0xc
xor ecx, ecx
push ecx
push ecx
push eax
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0054ee82
mov esp, ebp
pop ebp
ret 4
lea ecx, [edi + 0x134]
call fcn.00402ffa
test eax, eax
je 0x4f4838
mov esi, dword [ebp - 0x208]
add esi, 0xfffffff2
push esi
call fcn.0054b016
mov dword [edi + 0x28], eax
pop ecx
test eax, eax
je 0x4f47a9
push esi
push 0
push eax
call fcn.0054f520
add esp, 0xc
lea ecx, [edi + 0x134]
push dword [edi + 0x1c]
push esi
push dword [edi + 0x28]
push dword [edi + 4]
call fcn.00402eb9
test eax, eax
jne 0x4f4826
push ebx
lea eax, [ebp - 0x204]
push str.File_Open_Error_:__s
push eax
call fcn.00550fcb
lea eax, [ebp - 0x204]
jmp 0x4f479a
push dword [edi + 4]
call fcn.0054f7fb
and dword [edi + 4], 0
xor ebx, ebx
pop ecx
inc ebx
jmp 0x4f48a8
push dword [edi + 4]
xor ebx, ebx
lea eax, [edi + 0x24]
inc ebx
push ebx
push ebx
push eax
call fcn.0054eab8
add esp, 0x10
cmp dword [edi + 0x20], 0
je 0x4f486d
push dword [edi + 0x20]
call fcn.0054b016
push dword [edi + 4]
mov dword [edi + 0x28], eax
push dword [edi + 0x20]
push ebx
push eax
call fcn.0054eab8
add esp, 0x14
push dword [edi + 4]
lea eax, [edi + 0x25]
push ebx
push ebx
push eax
call fcn.0054eab8
push dword [edi + 4]
call fcn.0054f7fb
and dword [edi + 4], 0
add esp, 0x14
mov ecx, edi
call fcn.004f3ed3
test eax, eax
je 0x4f47a9
mov ecx, edi
call fcn.004f3e5d
test eax, eax
je 0x4f47a9
mov dword [edi + 0x2c], ebx
mov eax, ebx
jmp 0x4f47ab