joyce8/EMBER2024-capa huggingface dataset:
Function at 0x48ccf0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 1
push edi
mov edi, ecx
lea ecx, [edi + 0x9c0]
jne 0x48cd38
mov eax, dword [0x6d2464]
add eax, 0x1d4c0
push esi
mov dword [edi + 0x974], eax
call fcn.0044be70
push str.ANRaster.tga
lea ecx, [edi + 0x9c0]
call fcn.0044bda0
pop esi
push dword [ebp + 8]
mov ecx, edi
call fcn.0042b060
pop edi
pop ebp
ret 4
call fcn.0044be70
push str.ANRaster.tga
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [ebp + 8]
mov ecx, edi
call fcn.0042b060
pop edi
pop ebp
ret 4

Function at 0x48cd60
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 1
push edi
mov edi, ecx
lea ecx, [edi + 0x9c0]
jne 0x48cdab
imul eax, dword [ebp + 0xc], 0x3e8
push esi
add eax, dword [0x6d2464]
mov dword [edi + 0x974], eax
call fcn.0044be70
push str.ANRaster.tga
lea ecx, [edi + 0x9c0]
call fcn.0044bda0
pop esi
push dword [ebp + 8]
mov ecx, edi
call fcn.0042b060
pop edi
pop ebp
ret 8
call fcn.0044be70
push str.ANRaster.tga
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [ebp + 8]
mov ecx, edi
call fcn.0042b060
pop edi
pop ebp
ret 8
Function at 0x4a6810
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57b63a
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6a78d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.004a67b0
xorps xmm0, xmm0
mov dword [edi], vtable.CItem.0
lea esi, [edi + 0xa10]
mov dword [ebp - 4], 0
movdqu xmmword [edi + 0x9e4], xmm0
mov ecx, esi
movdqu xmmword [edi + 0x9f5], xmm0
call fcn.0042f4b0
lea ecx, [edi + 0xa30]
mov byte [ebp - 4], 1
call fcn.0042f4b0
lea ecx, [edi + 0xa50]
mov byte [ebp - 4], 2
call fcn.0042f4b0
push fcn.0042f4c0
push fcn.0042f4b0
push 0x16
push 0x20
add edi, 0xa78
mov byte [ebp - 4], 3
push edi
call fcn.00575554
mov ecx, dword [ebp - 0x10]
mov eax, 0x83
mov byte [ebp - 4], 4
mov word [ecx + 0xc], ax
mov eax, dword [ebp + 8]
mov dword [ecx + 0xd3c], 0
movdqu xmm0, xmmword [eax]
movdqu xmmword [ecx + 0x9c4], xmm0
movdqu xmm0, xmmword [eax + 0x10]
movdqu xmmword [ecx + 0x9d4], xmm0
movdqu xmm0, xmmword [eax + 0x20]
movdqu xmmword [ecx + 0x9e4], xmm0
movdqu xmm0, xmmword [eax + 0x30]
movdqu xmmword [ecx + 0x9f4], xmm0
mov ax, word [eax + 0x40]
mov word [ecx + 0xa04], ax
xor eax, eax
push eax
push esi
mov dword [ecx + 0xa08], 0
mov word [ecx + 0xa06], ax
mov dword [ecx + 0xa0c], eax
mov ecx, 0x6cb060
push 0x7f
call fcn.00439980
mov eax, dword [ebp - 0x10]
xor esi, esi
mov dword [eax + 0xa70], 0xfafa00
mov dword [eax + 0xa74], 0xffffff
mov dword [eax + 0xd38], 0
lea ecx, [ecx]
push 8
push edi
lea eax, [esi + 0x6c]
mov ecx, 0x6cb060
push eax
call fcn.00439980
inc esi
add edi, 0x20
cmp esi, 0x16
jl 0x4a6950
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x4ac720
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x354
mov eax, dword [0x6a78d0]
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 0x4ac74b
mov dword [ebx + 0xc8], eax
sub eax, dword [ebx + 0xc8]
cmp eax, 0x1388
jbe 0x4ac87f
mov ecx, dword [ebx + 0xa4]
mov eax, dword [ebx + 0xb0]
mov dword [ebx + 0xb8], eax
test ecx, ecx
jle 0x4ac787
mov eax, dword [ebx + 0xb8]
test eax, eax
je 0x4ac784
mov eax, dword [eax]
mov dword [ebx + 0xb8], eax
dec ecx
jne 0x4ac772
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [ebp - 0x20c]
dec ecx
mov al, byte [ecx + 1]
lea ecx, [ecx + 1]
test al, al
jne 0x4ac7a0
mov eax, dword [str.Resource.bin]
mov dword [ecx], eax
mov eax, dword [0x58e898]
mov dword [ecx + 4], eax
mov eax, dword [0x58e89c]
mov dword [ecx + 8], eax
mov eax, dword [0x58e8a0]
mov dword [ecx + 0xc], eax
lea eax, [ebp - 0x34c]
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
push esi
mov dword [ebp - 0x350], eax
push edi
lea eax, [ebp - 0x354]
mov ecx, ebx
push eax
lea eax, [ebp - 0x320]
push eax
call fcn.004ac6b0
test eax, eax
je 0x4ac856
mov ax, word [0x58e8ac]
movq xmm0, qword [str.Resource_]
mov word [ebp - 0x100], ax
mov al, byte [0x58e8ae]
mov byte [ebp - 0xfe], al
lea eax, [ebp - 0x320]
movq qword [ebp - 0x108], xmm0
mov esi, eax
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4ac830
lea edi, [ebp - 0x108]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4ac840
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
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 0x4ac7e5
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.00574cc2
mov esp, ebp
pop ebp
ret
Function at 0x4d0450
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push dword [ebp + 8]
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4d049d
push 0
lea eax, [ebp + 8]
push eax
push 0x6c0
lea eax, [edi + 0x6c4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4d04a5
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
xor eax, eax
pop esi
pop ebp
ret 4
push 0
lea eax, [ebp + 8]
push eax
push 0x1c0
lea eax, [edi + 0xf44]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
test eax, eax
je 0x4d0497
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
pop ebp
ret 4

Function at 0x4d1e30
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
je 0x4d1e83
push 0
lea eax, [ebp - 4]
mov dword [ebp - 4], 0
push eax
push 4
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4d1e8b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 8], 0x71208
jne 0x4d1e7c
push 0
lea eax, [ebp - 4]
push eax
push 0xb0
lea eax, [ebx + 4]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x4d1e7c
cmp dword [ebp - 4], 0xb0
push esi
ja 0x4d1e7d
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4d2170
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ecx + 0x84]
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
cmp eax, dword [esi + 0x80]
je 0x4d2192
mov dword [ecx + 0xb4], 1
push 0
push 0x80
push 2
push 0
lea ebx, [ecx + 4]
mov ecx, 0x2c
push 0
push 0x40000000
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
push str.._ini_GameOption.opt
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4d21f4
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 4]
push 0
push eax
push 4
lea eax, [ebp + 8]
mov dword [ebp + 8], 0x71208
push eax
push edi
call esi
push 0
lea eax, [ebp - 4]
push eax
push 0xb0
push ebx
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 4
Function at 0x4ee1b0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57c586
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6a78d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor eax, eax
mov dword [esi], vtable.COBalloonName.0
push 0x3d
push eax
mov word [esi + 0xfc], ax
mov dword [esi + 0x104], eax
mov byte [esi + 0x108], al
mov dword [esi + 8], eax
mov dword [esi + 0xc], eax
lea eax, [esi + 0x38]
push eax
mov dword [esi + 0x78], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x100], 0
mov dword [esi + 0x7c], 0xffffff
mov dword [esi + 0x84], 0xffffff
call sub.MSVCR120.dll_memset
xorps xmm0, xmm0
movdqu xmmword [esi + 0x88], xmm0
mov byte [esi + 0x98], 0
movdqu xmmword [esi + 0x99], xmm0
push 0x810
movdqu xmmword [esi + 0xa9], xmm0
mov byte [esi + 0xb9], 0
movdqu xmmword [esi + 0xba], xmm0
movdqu xmmword [esi + 0xca], xmm0
mov byte [esi + 0xda], 0
movdqu xmmword [esi + 0xdb], xmm0
movdqu xmmword [esi + 0xeb], xmm0
mov byte [esi + 0xfb], 0
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
add esp, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4ee2e6
mov ecx, eax
call fcn.00433420
jmp 0x4ee2e8
xor eax, eax
mov dword [esi + 0x110], eax
xorps xmm0, xmm0
mov dword [esi + 0x10c], 0
mov dword [esi + 0x124], 0
mov dword [esi + 0x118], 0
mov dword [esi + 0x11c], 0
mov dword [esi + 0x120], 0
movdqu xmmword [esi + 0x15c], xmm0
push 0x20
movdqu xmmword [esi + 0x16c], xmm0
mov byte [esi + 0x17c], 0
movdqu xmmword [esi + 0x130], xmm0
mov dword [ebp - 4], 0xffffffff
movdqu xmmword [esi + 0x140], xmm0
mov byte [esi + 0x150], 0
mov dword [esi + 0x128], 0
mov dword [esi + 0x12c], 0
mov dword [esi + 0x154], 0
mov dword [esi + 0x158], 0
call sub.MSVCR120.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x4ee3a1
mov ecx, eax
call fcn.0042f4b0
jmp 0x4ee3a3
xor eax, eax
mov dword [esi + 0x180], eax
xorps xmm0, xmm0
mov dword [esi + 0x1a4], 0
mov eax, esi
mov dword [esi + 0x1a8], 0
movdqu xmmword [esi + 0x1b4], xmm0
movdqu xmmword [esi + 0x1c4], xmm0
mov byte [esi + 0x1d4], 0
mov dword [esi + 0x1ac], 0
mov dword [esi + 0x1b0], 0
mov dword [esi + 0x1d8], 0
mov dword [esi + 0x1dc], 0
mov dword [esi + 0x184], 0
mov dword [esi + 0x188], 0
mov dword [esi + 0x18c], 0
mov dword [esi + 0x190], 0
mov dword [esi + 0x194], 0
mov dword [esi + 0x198], 0
mov dword [esi + 0x19c], 0
mov dword [esi + 0x1a0], 0
mov dword [esi + 4], 0
movdqu xmmword [esi + 0x1e8], xmm0
mov byte [esi + 0x1f8], 0
mov dword [esi + 0x1e0], 0
mov dword [esi + 0x1e4], 0
movdqu xmmword [esi + 0x204], xmm0
mov byte [esi + 0x214], 0
mov dword [esi + 0x1fc], 0
mov dword [esi + 0x200], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4f4260
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5804eb
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6a78d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.CNewbieGuide.0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
push 0x60
mov dword [ebp - 4], 0
call fcn.005118a0
mov dword [esi + 0x30], 0
mov eax, esi
mov dword [esi + 0x2c], 0
mov dword [esi + 0x28], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4faae0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x6a78d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
push eax
mov dword [ebp - 0x130], ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4fabeb
push edi
mov edi, dword [sym.imp.KERNEL32.dll_ReadFile]
lea eax, [ebp - 0x128]
push 0
push eax
push 4
lea eax, [ebp - 0x134]
push eax
push esi
call edi
test eax, eax
je 0x4fab75
cmp dword [ebp - 0x134], 0x6111101
jne 0x4fab75
push 0
lea eax, [ebp - 0x128]
push eax
push 4
lea eax, [ebp - 0x12c]
push eax
push esi
call edi
test eax, eax
je 0x4fab75
movzx eax, byte [0x6f4f10]
cmp dword [ebp - 0x12c], eax
je 0x4fab8e
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00574cc2
mov esp, ebp
pop ebp
ret 4
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 0x4fab76
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x829
mov ecx, 0x69d248
call fcn.004483b0
mov edi, dword [ebp - 0x40]
mov esi, eax
push edi
push dword [ebp - 0x44]
lea ecx, [esi + 0x93c]
push ecx
mov ecx, dword [ebp - 0x130]
call fcn.004fa3e0
test eax, eax
je 0x4fabea
mov eax, dword [esi]
mov ecx, esi
push edi
push dword [ebp - 0x44]
call dword [eax + 0x24]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00574cc2
mov esp, ebp
pop ebp
ret 4

Function at 0x4face0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x6a78d0]
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 0x4fadb1
push 0
lea eax, [ebp - 0x14]
push eax
push 4
lea eax, [ebp - 0x18]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4fad4b
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00574cc2
mov esp, ebp
pop ebp
ret 4
cmp dword [ebp - 0x18], 0x6060801
jne 0x4fad32
push 0
lea eax, [ebp - 0x14]
push eax
push 0xc
lea eax, [ebp - 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push esi
test eax, eax
je 0x4fad33
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebx + 0x1c], 0
je 0x4fadb1
mov ecx, dword [0x6d13bc]
test ecx, ecx
je 0x4fadb1
push dword [ebp - 0xc]
call fcn.0049b0d0
push dword [ebp - 0x10]
mov ecx, dword [0x6d13bc]
call fcn.0049b0b0
movss xmm0, dword [ebp - 8]
push 0
push ecx
movss dword [esp], xmm0
mov ecx, 0x6f75a0
push 0
call fcn.00540870
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00574cc2
mov esp, ebp
pop ebp
ret 4
Function at 0x4fb2d0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x6a78d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov ecx, 0x69d248
push edi
push 0x829
call fcn.004483b0
test eax, eax
je 0x4fb311
cvttss2si ecx, dword [eax + 0x898]
mov dword [ebp - 0x44], ecx
cvttss2si eax, dword [eax + 0x89c]
mov dword [ebp - 0x40], eax
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4fb397
movzx ecx, byte [0x6f4f10]
lea eax, [ebp - 0x128]
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
push 0
push eax
push 4
lea eax, [ebp - 0x12c]
mov dword [ebp - 0x12c], 0x6111101
push eax
push edi
mov dword [ebp - 0x130], ecx
call esi
push 0
lea eax, [ebp - 0x128]
push eax
push 4
lea eax, [ebp - 0x130]
push eax
push edi
call esi
push 0
lea eax, [ebp - 0x128]
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
xor ecx, ebp
pop esi
call fcn.00574cc2
mov esp, ebp
pop ebp
ret 4

Function at 0x4fb3b0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x6a78d0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
test ebx, ebx
je 0x4fb4e7
push esi
push 0
mov ecx, 0x6a73e8
call fcn.0054c6a0
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, 0x6a73e8
push 0
call fcn.0054c6a0
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
test bl, 1
je 0x4fb474
mov eax, dword [edi + 0x18]
mov ecx, 0x6a73e8
push eax
push eax
push 0
call fcn.0054c6a0
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push eax
lea eax, [ebp - 0x108]
push str._sData_d_d.UII
push eax
call esi
add esp, 0x14
lea eax, [ebp - 0x108]
mov ecx, edi
push eax
call fcn.004fadd0
jmp 0x4fb47a
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
test bl, 2
je 0x4fb4b0
mov eax, dword [edi + 0x18]
mov ecx, 0x6a73e8
push eax
push eax
push 0
call fcn.0054c6a0
push eax
lea eax, [ebp - 0x108]
push str._sData_d_d.UIS
push eax
call esi
add esp, 0x14
lea eax, [ebp - 0x108]
mov ecx, edi
push eax
call fcn.004fb500
test bl, 4
je 0x4fb4e6
mov eax, dword [edi + 0x18]
mov ecx, 0x6a73e8
push eax
push eax
push 0
call fcn.0054c6a0
push eax
lea eax, [ebp - 0x108]
push str._sData_d_d.UIR
push eax
call esi
add esp, 0x14
lea eax, [ebp - 0x108]
mov ecx, edi
push eax
call fcn.004fb2d0
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00574cc2
mov esp, ebp
pop ebp
ret 4
Function at 0x4fb500
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x6a78d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x6d13bc]
push esi
mov esi, dword [ebp + 8]
test ecx, ecx
je 0x4fb597
push edi
call fcn.00498f70
movss xmm0, dword [0x6f75e0]
push 0
push 0x80
push 2
mov dword [ebp - 0xc], eax
mov eax, dword [0x6d13bc]
push 0
push 0
push 0x40000000
mov ax, word [eax + 0x698]
push esi
mov word [ebp - 0x10], ax
movss dword [ebp - 8], xmm0
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x4fb596
mov esi, dword [sym.imp.KERNEL32.dll_WriteFile]
lea eax, [ebp - 0x14]
push 0
push eax
push 4
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0x6060801
push eax
push edi
call esi
push 0
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 edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00574cc2
mov esp, ebp
pop ebp
ret 4

Function at 0x506e60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57da53
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6a78d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebx], vtable.CEventMap.0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebx + 0x18], 0
lea edi, [ebx + 0x34]
mov dword [ebp - 4], 0
lea ecx, [ebx + 0xbc]
mov byte [edi + 1], 0
call fcn.0042f4b0
lea ecx, [ebx + 0xdc]
mov byte [ebp - 4], 1
call fcn.0042f4b0
lea ecx, [ebx + 0xfc]
mov byte [ebp - 4], 2
call fcn.0042f4b0
lea ecx, [ebx + 0x11c]
mov byte [ebp - 4], 3
call fcn.0042f4b0
push 0x3e8
lea ecx, [ebx + 4]
mov byte [ebp - 4], 4
call fcn.005118a0
push 0x79
push 0
push edi
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0xb4], 0
mov dword [ebx + 0xb0], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x13c], 0
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebx + 0xb8], 0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x50a160
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57dc43
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6a78d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
push 0xa
mov byte [ebp - 4], 1
call fcn.005118a0
push 0x14
lea ecx, [edi + 0x24]
call fcn.005118a0
mov ecx, edi
call fcn.0050af20
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x511440
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x579476
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6a78d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea ecx, [edi + 4]
mov dword [edi], vtable.FameManager.0
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0
mov dword [ebp - 4], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
push 0x64
mov byte [ebp - 4], 1
call fcn.005118a0
push 0x64
lea ecx, [edi + 0x28]
call fcn.005118a0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x514d93
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff8
push esi
mov esi, ecx
cmp eax, 0x4e
ja case.0x514c9c.10
movzx eax, byte [eax + 0x514e08]
jmp dword [eax*4 + 0x514dd4]
mov ecx, dword [esi + 4]
cmp dword [ecx + 0x40], 1
je case.0x514c9c.10
call fcn.00513cf0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.00513d70
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.00513e00
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.00513c20
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
cmp dword [ecx + 0x40], 1
je case.0x514c9c.10
call fcn.00513cd0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.00513c90
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.005142d0
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x38]
test ecx, ecx
je case.0x514c9c.10
push 8
call fcn.00441700
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.00513f10
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.005140e0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, 0x69d248
call fcn.00449330
mov eax, 1
pop esi
pop ebp
ret 0x10
mov dword [esi + 0xc], 1
mov eax, 1
pop esi
pop ebp
ret 0x10
cmp dword [esi + 0xc], 0
je case.0x514c9c.10
push 1
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je case.0x514c9c.10
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je case.0x514c9c.10
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ecx, dword [esi + 4]
push eax
call fcn.005146a0
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, 1
pop esi
pop ebp
ret 0x10

Function at 0x514e60
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
cmp dword [ecx + 4], 0
jne 0x514e6f
xor eax, eax
pop ebp
ret 0x10
mov eax, dword [ebp + 0xc]
cmp eax, 0x102
ja 0x514eb1
je 0x514ea4
sub eax, 0x100
je 0x514e97
dec eax
jne 0x514ebf
cmp dword [ebp + 0x10], 0x11
jne 0x514ebf
mov dword [ecx + 0xc], eax
mov eax, 1
pop ebp
ret 0x10
mov dword [ebp + 0xc], 0x100
pop ebp
jmp fcn.00514c80
mov dword [ebp + 0xc], 0x102
pop ebp
jmp fcn.00514b10
cmp eax, 0x10f
je 0x514ec8
cmp eax, 0x286
je 0x514ec8
mov eax, 1
pop ebp
ret 0x10
mov dword [ebp + 0xc], eax
pop ebp
jmp fcn.00514b70