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

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 1
push edi
mov edi, ecx
lea ecx, [edi + 0x9c0]
jne 0x4b05d8
mov eax, dword [0x6ff584]
add eax, 0x1d4c0
push esi
mov dword [edi + 0x974], eax
call fcn.0046f4d0
push str.ANRaster.tga
lea ecx, [edi + 0x9c0]
call fcn.0046f400
pop esi
push dword [ebp + 8]
mov ecx, edi
call fcn.0044e1d0
pop edi
pop ebp
ret 4
call fcn.0046f4d0
push str.ANRaster.tga
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [ebp + 8]
mov ecx, edi
call fcn.0044e1d0
pop edi
pop ebp
ret 4

Function at 0x4b0600
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 1
push edi
mov edi, ecx
lea ecx, [edi + 0x9c0]
jne 0x4b064b
imul eax, dword [ebp + 0xc], 0x3e8
push esi
add eax, dword [0x6ff584]
mov dword [edi + 0x974], eax
call fcn.0046f4d0
push str.ANRaster.tga
lea ecx, [edi + 0x9c0]
call fcn.0046f400
pop esi
push dword [ebp + 8]
mov ecx, edi
call fcn.0044e1d0
pop edi
pop ebp
ret 8
call fcn.0046f4d0
push str.ANRaster.tga
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [ebp + 8]
mov ecx, edi
call fcn.0044e1d0
pop edi
pop ebp
ret 8
Function at 0x4ca100
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59ff6a
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6d48e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
call fcn.004ca0a0
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.00452b10
lea ecx, [edi + 0xa30]
mov byte [ebp - 4], 1
call fcn.00452b10
lea ecx, [edi + 0xa50]
mov byte [ebp - 4], 2
call fcn.00452b10
push fcn.00452b20
push fcn.00452b10
push 0x16
push 0x20
add edi, 0xa78
mov byte [ebp - 4], 3
push edi
call fcn.00599874
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, 0x6f8178
push 0x7f
call fcn.0045cfe0
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, 0x6f8178
push eax
call fcn.0045cfe0
inc esi
add edi, 0x20
cmp esi, 0x16
jl 0x4ca240
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 0x4d0530
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x354
mov eax, dword [0x6d48e0]
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 0x4d055b
mov dword [ebx + 0xc8], eax
sub eax, dword [ebx + 0xc8]
cmp eax, 0x1388
jbe 0x4d068f
mov ecx, dword [ebx + 0xa4]
mov eax, dword [ebx + 0xb0]
mov dword [ebx + 0xb8], eax
test ecx, ecx
jle 0x4d0597
mov eax, dword [ebx + 0xb8]
test eax, eax
je 0x4d0594
mov eax, dword [eax]
mov dword [ebx + 0xb8], eax
dec ecx
jne 0x4d0582
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 0x4d05b0
mov eax, dword [str.Resource.bin]
mov dword [ecx], eax
mov eax, dword [0x5bab38]
mov dword [ecx + 4], eax
mov eax, dword [0x5bab3c]
mov dword [ecx + 8], eax
mov eax, dword [0x5bab40]
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.004d04c0
test eax, eax
je 0x4d0666
mov ax, word [0x5bab4c]
movq xmm0, qword [str.Resource_]
mov word [ebp - 0x100], ax
mov al, byte [0x5bab4e]
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 0x4d0640
lea edi, [ebp - 0x108]
sub eax, esi
dec edi
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x4d0650
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 0x4d05f5
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.00598fe4
mov esp, ebp
pop ebp
ret
Function at 0x4f42d0
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 0x4f431d
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 0x4f4325
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 0x4f4317
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
pop ebp
ret 4

Function at 0x4f5d00
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 0x4f5d53
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 0x4f5d5b
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 0x4f5d4c
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 0x4f5d4c
cmp dword [ebp - 4], 0xb0
push esi
ja 0x4f5d4d
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4f6040
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 0x4f6062
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 0x4f60c4
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 0x512230
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a58e6
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6d48e0]
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 0x512366
mov ecx, eax
call fcn.00456a80
jmp 0x512368
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 0x512421
mov ecx, eax
call fcn.00452b10
jmp 0x512423
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 0x518310
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a201b
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6d48e0]
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.0053e9b0
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 0x51e850
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x6d48e0]
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 0x51e95b
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 0x51e8e5
cmp dword [ebp - 0x134], 0x6111101
jne 0x51e8e5
push 0
lea eax, [ebp - 0x128]
push eax
push 4
lea eax, [ebp - 0x12c]
push eax
push esi
call edi
test eax, eax
je 0x51e8e5
movzx eax, byte [0x722040]
cmp dword [ebp - 0x12c], eax
je 0x51e8fe
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00598fe4
mov esp, ebp
pop ebp
ret 4
push 0
lea eax, [ebp - 0x128]
push eax
push pe_nt_image_headers32
lea eax, [ebp - 0x124]
push eax
push esi
call edi
push esi
test eax, eax
je 0x51e8e6
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x829
mov ecx, 0x6ca258
call fcn.0046ba10
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.0051e150
test eax, eax
je 0x51e95a
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.00598fe4
mov esp, ebp
pop ebp
ret 4

Function at 0x51ea50
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x6d48e0]
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 0x51eb21
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 0x51eabb
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00598fe4
mov esp, ebp
pop ebp
ret 4
cmp dword [ebp - 0x18], 0x6060801
jne 0x51eaa2
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 0x51eaa3
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebx + 0x1c], 0
je 0x51eb21
mov ecx, dword [0x6fe4dc]
test ecx, ecx
je 0x51eb21
push dword [ebp - 0xc]
call fcn.004be960
push dword [ebp - 0x10]
mov ecx, dword [0x6fe4dc]
call fcn.004be940
movss xmm0, dword [ebp - 8]
push 0
push ecx
movss dword [esp], xmm0
mov ecx, 0x7246d0
push 0
call fcn.005649b0
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00598fe4
mov esp, ebp
pop ebp
ret 4
Function at 0x51f040
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x6d48e0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov ecx, 0x6ca258
push edi
push 0x829
call fcn.0046ba10
test eax, eax
je 0x51f081
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 0x51f107
movzx ecx, byte [0x722040]
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 pe_nt_image_headers32
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.00598fe4
mov esp, ebp
pop ebp
ret 4

Function at 0x51f120
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x6d48e0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
test ebx, ebx
je 0x51f257
push esi
push 0
mov ecx, 0x6d4400
call fcn.00570840
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, 0x6d4400
push 0
call fcn.00570840
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 0x51f1e4
mov eax, dword [edi + 0x18]
mov ecx, 0x6d4400
push eax
push eax
push 0
call fcn.00570840
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.0051eb40
jmp 0x51f1ea
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
test bl, 2
je 0x51f220
mov eax, dword [edi + 0x18]
mov ecx, 0x6d4400
push eax
push eax
push 0
call fcn.00570840
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.0051f270
test bl, 4
je 0x51f256
mov eax, dword [edi + 0x18]
mov ecx, 0x6d4400
push eax
push eax
push 0
call fcn.00570840
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.0051f040
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00598fe4
mov esp, ebp
pop ebp
ret 4
Function at 0x51f270
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x6d48e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x6fe4dc]
push esi
mov esi, dword [ebp + 8]
test ecx, ecx
je 0x51f307
push edi
call fcn.004bc850
movss xmm0, dword [0x724710]
push 0
push 0x80
push 2
mov dword [ebp - 0xc], eax
mov eax, dword [0x6fe4dc]
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 0x51f306
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.00598fe4
mov esp, ebp
pop ebp
ret 4

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a23f3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6d48e0]
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 + 0xc0]
mov byte [edi + 1], 0
call fcn.00452b10
lea ecx, [ebx + 0xe0]
mov byte [ebp - 4], 1
call fcn.00452b10
lea ecx, [ebx + 0x100]
mov byte [ebp - 4], 2
call fcn.00452b10
lea ecx, [ebx + 0x120]
mov byte [ebp - 4], 3
call fcn.00452b10
push 0x3e8
lea ecx, [ebx + 4]
mov byte [ebp - 4], 4
call fcn.0053e9b0
push 0x7d
push 0
push edi
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0xb8], 0
mov dword [ebx + 0xb4], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x140], 0
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebx + 0xbc], 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 0x52dff0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a2563
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6d48e0]
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.0053e9b0
push 0x14
lea ecx, [edi + 0x24]
call fcn.0053e9b0
mov ecx, edi
call fcn.0052ed70
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 0x5352e0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59d756
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6d48e0]
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.0053e9b0
push 0x64
lea ecx, [edi + 0x28]
call fcn.0053e9b0
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 0x538bb3
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.0x538abc.10
movzx eax, byte [eax + 0x538c28]
jmp dword [eax*4 + 0x538bf4]
mov ecx, dword [esi + 4]
cmp dword [ecx + 0x40], 1
je case.0x538abc.10
call fcn.00537b10
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.00537b90
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.00537c20
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.00537a40
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
cmp dword [ecx + 0x40], 1
je case.0x538abc.10
call fcn.00537af0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.00537ab0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.005380f0
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x38]
test ecx, ecx
je case.0x538abc.10
push 8
call fcn.00464d60
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.00537d30
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.00537f00
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, 0x6ca258
call fcn.0046c990
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.0x538abc.10
push 1
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je case.0x538abc.10
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je case.0x538abc.10
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ecx, dword [esi + 4]
push eax
call fcn.005384c0
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, 1
pop esi
pop ebp
ret 0x10

Function at 0x538c80
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
cmp dword [ecx + 4], 0
jne 0x538c8f
xor eax, eax
pop ebp
ret 0x10
mov eax, dword [ebp + 0xc]
cmp eax, 0x102
ja 0x538cd1
je 0x538cc4
sub eax, 0x100
je 0x538cb7
dec eax
jne 0x538cdf
cmp dword [ebp + 0x10], 0x11
jne 0x538cdf
mov dword [ecx + 0xc], eax
mov eax, 1
pop ebp
ret 0x10
mov dword [ebp + 0xc], 0x100
pop ebp
jmp fcn.00538aa0
mov dword [ebp + 0xc], 0x102
pop ebp
jmp fcn.00538930
cmp eax, 0x10f
je 0x538ce8
cmp eax, 0x286
je 0x538ce8
mov eax, 1
pop ebp
ret 0x10
mov dword [ebp + 0xc], eax
pop ebp
jmp fcn.00538990