joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45dfb0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
cmp esi, 0x12
jb 0x45dfd0
push 0
push 0x6a
push str.DirectoryManager.cpp
call fcn.0040f890
add esp, 0xc
cmp esi, dword [edi + 0x50]
je 0x45dfe7
cmp esi, 0x11
je 0x45dfe7
push dword [edi + esi*4 + 8]
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov dword [edi + 0x50], esi
pop edi
pop esi
pop ebp
ret 4

Function at 0x462f60
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b2247
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6a0290]
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.CEffectManager.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
push 0x462b40
push 0x462b20
push 2
push 0xc
lea eax, [ebx + 0x34]
mov dword [ebp - 4], 0
push eax
call fcn.0058edc0
mov dword [ebx + 0x4c], 0
mov dword [ebx + 0x50], 0
mov dword [ebx + 0x54], 0
mov dword [ebx + 0x58], 0
mov dword [ebx + 0x5c], 0
mov dword [ebx + 0x60], 0
push 0xa
lea ecx, [ebx + 0x70]
mov byte [ebp - 4], 2
call fcn.005896b0
push 0x20
lea ecx, [ebx + 4]
mov byte [ebp - 4], 3
call fcn.004da350
push 0x20
lea ecx, [ebx + 0x4c]
call fcn.004da350
push 0x190
call fcn.0058d63c
add esp, 4
test eax, eax
je 0x463054
mov dword [eax], vtable.CMemoryPoolTempl_class_CDamageNumber_.0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov byte [eax + 0x10], 0
jmp 0x463056
xor eax, eax
push 0x190
mov dword [ebx + 0x2c], eax
call fcn.0058d63c
add esp, 4
test eax, eax
je 0x463084
mov dword [eax], vtable.CMemoryPoolTempl_class_CEffect_.0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov byte [eax + 0x10], 0
jmp 0x463086
xor eax, eax
mov esi, dword [ebx + 0x2c]
push 0x80
mov dword [ebx + 0x28], eax
push str.CDamageNumber
lea eax, [esi + 0x10]
push eax
call fcn.0058eef0
lea edi, [esi + 4]
mov dword [esi + 0xc], 0x28
add esp, 0xc
cmp dword [edi], 0
jne 0x4630c1
push 0x3c
push edi
call fcn.004637b0
mov eax, dword [edi]
add esp, 8
mov dword [esi + 8], eax
mov esi, dword [ebx + 0x28]
push 0x80
push str.CEffect
lea eax, [esi + 0x10]
push eax
call fcn.0058eef0
lea edi, [esi + 4]
mov dword [esi + 0xc], 0x32
add esp, 0xc
cmp dword [edi], 0
jne 0x4630f9
push 0x64
push edi
call fcn.004638e0
mov eax, dword [edi]
add esp, 8
mov dword [esi + 8], eax
mov eax, ebx
mov dword [ebx + 0x30], 0
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 0x46daa0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x6a0290]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x408], eax
mov ebx, ecx
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x418], eax
xor esi, esi
mov eax, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x41c], eax
xor edi, edi
mov eax, dword [ebp + 0x14]
push 0x400
mov dword [ebp - 0x420], eax
lea eax, [ebp - 0x404]
push edi
push eax
mov dword [ebp - 0x414], ebx
call fcn.0058ed30
mov edx, dword [ebp - 0x408]
add esp, 0xc
mov dword [ebp - 0x40c], esi
lea ecx, [edx + 1]
lea ebx, [ebx]
mov al, byte [edx]
inc edx
test al, al
jne 0x46db10
sub edx, ecx
mov dword [ebp - 0x410], esi
xor ecx, ecx
cmp edx, 2
jl 0x46db56
lea ebx, [edx - 1]
lea esp, [esp]
mov eax, dword [ebp - 0x408]
movsx eax, byte [eax + ecx]
add esi, eax
mov eax, dword [ebp - 0x408]
movsx eax, byte [eax + ecx + 1]
add ecx, 2
add edi, eax
cmp ecx, ebx
jl 0x46db30
mov ebx, dword [ebp - 0x414]
cmp ecx, edx
jge 0x46db6a
mov eax, dword [ebp - 0x408]
movsx eax, byte [eax + ecx]
mov dword [ebp - 0x410], eax
lea eax, [edi + esi]
xor edx, edx
add eax, dword [ebp - 0x410]
div dword [ebx + 0x48]
mov esi, edx
xor edx, edx
mov eax, esi
div dword [ebx + 0x24]
mov eax, dword [ebx + 0x28]
mov eax, dword [eax + edx*4]
test eax, eax
je 0x46dba7
jmp 0x46db90
cmp dword [eax], esi
je 0x46db9d
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x46db90
jmp 0x46dba7
cmp dword [eax + 4], 0
jne 0x46dc4b
cmp dword [ebx + 0x20], 0xcd
jb 0x46dbda
push 0x33
mov ecx, ebx
call fcn.0046dc90
lea eax, [ebp - 0x404]
push 0x5c4f4c
push eax
call fcn.0058f38c
add esp, 8
lea eax, [ebp - 0x404]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov eax, dword [ebx]
mov edi, dword [ebp - 0x408]
push 0
push 0
mov ecx, dword [eax]
push 0
push edi
push eax
call dword [ecx + 0x18c]
mov dword [ebp - 0x40c], eax
test eax, eax
je 0x46dc51
mov ecx, dword [ebx]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x114]
mov eax, dword [ebx]
push dword [ebp - 0x40c]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10c]
mov ecx, ebx
call fcn.0046da60
test eax, eax
je 0x46dc30
mov ecx, dword [ebp - 0x40c]
mov dword [eax + 8], ecx
mov dword [eax + 4], esi
push eax
lea ecx, [ebx + 4]
call fcn.005897f0
push esi
lea eax, [ebp - 0x40c]
push eax
lea ecx, [ebx + 0x20]
call fcn.0054ae00
jmp 0x46dc51
mov edi, dword [ebp - 0x408]
push dword [ebp - 0x420]
mov eax, dword [ebx]
push dword [ebp - 0x41c]
push dword [ebp - 0x418]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x18c]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0058de24
mov esp, ebp
pop ebp
ret 0x10
Function at 0x46dde0
Capabilities:
Print debug messages

Disassembly:
push ebx
push esi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [esi + 0x4c]
mov ebx, eax
add edx, 0x493e0
cmp ebx, edx
jbe 0x46de47
cmp dword [esi + 0x10], 0
jle 0x46de39
push edi
lea ecx, [esi + 4]
call fcn.00589f90
mov edi, eax
test edi, edi
je 0x46de38
push dword [edi + 8]
call fcn.0046e1b0
add esp, 4
lea ecx, [esi + 0x20]
push dword [edi + 4]
call fcn.005512b0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
pop edi
push str._n____Cache_delete_one_item.__n_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [esi + 0x4c], ebx
pop esi
pop ebx
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b25f0
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x6a0290]
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 + 0x6a]
mov byte [edi + 1], 0
call fcn.004af490
lea ecx, [ebx + 0x8a]
mov byte [ebp - 4], 1
call fcn.004af490
lea ecx, [ebx + 0xaa]
mov byte [ebp - 4], 2
call fcn.004af490
lea ecx, [ebx + 0xca]
mov byte [ebp - 4], 3
call fcn.004af490
push 0x3e8
lea ecx, [ebx + 4]
mov byte [ebp - 4], 4
call fcn.004da350
push 0x29
push 0
push edi
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x62], 0
mov dword [ebx + 0x5e], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0xea], 0
call fcn.0058ed30
add esp, 0xc
mov dword [ebx + 0x66], 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 0x479880
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b2ef3
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x6a0290]
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
call fcn.0047b650
mov dword [edi], eax
lea ecx, [edi + 8]
mov dword [ebp - 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.0044db70
mov dword [edi + 8], eax
lea ecx, [edi + 0x10]
mov byte [ebp - 4], 1
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.004511c0
mov dword [edi + 0x10], eax
mov eax, edi
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 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
mov dword [edi + 0x40], 0
mov dword [edi + 0x48], 0
mov dword [edi + 0x4c], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x47a2f0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x6a0290]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
lea eax, [ebp - 0x25b]
push esi
mov esi, dword [ebp + 0xc]
push 0x1f3
push 0
push eax
mov dword [ebp - 0x264], ebx
mov dword [ebp - 0x268], esi
mov byte [ebp - 0x25c], 0
call fcn.0058ed30
xor eax, eax
mov byte [ebp - 0x260], 0
push 0x63
push eax
mov word [ebp - 0x25f], ax
mov byte [ebp - 0x68], al
lea eax, [ebp - 0x67]
push eax
call fcn.0058ed30
add esp, 0x18
test ebx, ebx
je 0x47a470
test esi, esi
je 0x47a470
push edi
lea eax, [ebp - 0x25c]
push eax
push 0x1f4
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x47a417
cmp byte [ebp - 0x25c], 0
je 0x47a417
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea esi, [ebp - 0x25c]
push 0x5c56d0
push esi
call edi
test eax, eax
je 0x47a403
push 0x5c56d4
push esi
call edi
test eax, eax
je 0x47a403
movzx eax, byte [esi]
mov byte [ebp - 0x260], al
movzx eax, byte [esi + 1]
mov byte [ebp - 0x25f], al
lea eax, [ebp - 0x68]
push 0x64
push eax
lea eax, [ebp - 0x260]
mov byte [ebp - 0x25e], 0
push eax
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
test eax, eax
je 0x47a41f
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
lea eax, [ebp - 0x68]
push ebx
push eax
push dword [ebp - 0x264]
call fcn.005911b4
add esp, 0xc
test eax, eax
je 0x47a434
add esi, 4
cmp byte [esi], 0
jne 0x47a397
mov ebx, dword [ebp - 0x264]
mov esi, dword [ebp - 0x268]
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058de24
mov esp, ebp
pop ebp
ret 8
mov esi, dword [ebp - 0x268]
lea eax, [ebp - 0x260]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov eax, dword [ebp - 0x264]
add eax, ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcatA]
pop edi
pop esi
mov eax, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0058de24
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.0058de24
mov esp, ebp
pop ebp
ret 8
Function at 0x47ab90
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b9d8b
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x6a0290]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x234], 0
mov dword [ebp - 0x21c], 0xf
mov dword [ebp - 0x220], 0
mov byte [ebp - 0x230], 0
push 0
push 0x5c1722
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
call fcn.00403f20
push esi
push 0
push 0x400
mov byte [ebp - 0x114], 0
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
jne 0x47ac46
lea eax, [ebp - 0x230]
mov ecx, edi
push eax
call fcn.0040ff70
cmp dword [ebp - 0x21c], 0x10
jb 0x47acb0
push dword [ebp - 0x230]
call fcn.0058d68d
add esp, 4
jmp 0x47acb0
push 0x104
lea eax, [ebp - 0x218]
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameA
test eax, eax
jne 0x47ac65
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x47ac97
lea eax, [ebp - 0x114]
mov ecx, ebx
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0047a2f0
push esi
test eax, eax
je 0x47ac5d
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x230]
call fcn.00410ff0
lea eax, [ebp - 0x230]
mov ecx, edi
push eax
call fcn.0040ff70
lea ecx, [ebp - 0x230]
call fcn.00545f30
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0058de24
mov esp, ebp
pop ebp
ret 8
Function at 0x47b0a0
Capabilities:
Create thread

Disassembly:
push edi
mov edi, ecx
cmp dword [edi + 0x40], 0
jne 0x47b12d
call fcn.0047b130
push 0
push 0
push 0
push 0
mov dword [edi + 0x3c], 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push 0
push 0
mov dword [0x6d2258], eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push 0
push 0x47a5c0
push 0
push 0
mov dword [0x6d225c], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x6d2260], eax
test eax, eax
jne 0x47b117
push eax
push eax
push 0x10
push dword [0x6d53f4]
mov dword [0x6d5850], 1
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [0x6d5c84]
mov dword [edi + 0x44], eax
mov dword [edi + 0x40], 1
mov dword [edi + 0x4c], 0
pop edi
ret

Function at 0x47b510
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d0
mov eax, dword [0x6a0290]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x40], 0
je 0x47b616
mov ecx, dword [0x6d5c84]
mov eax, ecx
sub eax, dword [esi + 0x44]
cmp eax, 0x1388
jb 0x47b569
cmp dword [esi + 0x48], 0
jne 0x47b569
mov dword [esi + 0x48], 1
push dword [0x6d2258]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [0x6d5c84]
mov dword [esi + 0x44], eax
mov ecx, dword [0x6d5c84]
mov eax, dword [esi + 0x4c]
mov esi, dword [sym.imp.USER32.dll_PostMessageA]
test eax, eax
je 0x47b598
sub ecx, eax
cmp ecx, 0x1388
jb 0x47b598
push 0
push 0
push 0x10
push dword [0x6d53f4]
mov dword [0x6d5850], 1
call esi
push dword [0x6d2260]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
je 0x47b5c0
push 0
push 0
push 0x10
push dword [0x6d53f4]
mov dword [0x6d5850], 1
call esi
push 0x2c8
lea eax, [ebp - 0x2cc]
push 0
push eax
call fcn.0058ed30
add esp, 0xc
mov dword [ebp - 0x2d0], 0x10007
lea eax, [ebp - 0x2d0]
push eax
push dword [0x6d2260]
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x47b616
push 0
push 0
push 0x10
push dword [0x6d53f4]
mov dword [0x6d5850], 1
call esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0058de24
mov esp, ebp
pop ebp
ret
Function at 0x4a4c43
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.0x4a4b4c.10
movzx eax, byte [eax + 0x4a4cd8]
jmp dword [eax*4 + 0x4a4ca4]
mov ecx, dword [esi + 4]
cmp dword [ecx + 0x3e], 1
je case.0x4a4b4c.10
call fcn.0044e6e0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.0044e760
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.0044e7f0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.0044e610
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
cmp dword [ecx + 0x3e], 1
je case.0x4a4b4c.10
call fcn.0044e6c0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.0044e680
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.0044ecc0
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x36]
test ecx, ecx
je case.0x4a4b4c.10
push 8
call fcn.004c01c0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.0044e900
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.0044ead0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, 0x5fad18
call fcn.004c76f0
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.0x4a4b4c.10
push 1
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je case.0x4a4b4c.10
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je case.0x4a4b4c.10
call fcn.00404f50
push 1
cmp dword [eax], 0
jne 0x4a4c83
call dword [sym.imp.USER32.dll_GetClipboardData]
push eax
call fcn.00404f50
mov ecx, eax
call fcn.0043d7b0
jmp 0x4a4c89
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ecx, dword [esi + 4]
push eax
call fcn.0044f080
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, 1
pop esi
pop ebp
ret 0x10

Function at 0x4a4d30
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
cmp dword [ecx + 4], 0
jne 0x4a4d3f
xor eax, eax
pop ebp
ret 0x10
mov eax, dword [ebp + 0xc]
cmp eax, 0x102
ja 0x4a4d81
je 0x4a4d74
sub eax, 0x100
je 0x4a4d67
dec eax
jne 0x4a4d8f
cmp dword [ebp + 0x10], 0x11
jne 0x4a4d8f
mov dword [ecx + 0xc], eax
mov eax, 1
pop ebp
ret 0x10
mov dword [ebp + 0xc], 0x100
pop ebp
jmp fcn.004a4b30
mov dword [ebp + 0xc], 0x102
pop ebp
jmp fcn.004a4950
cmp eax, 0x10f
je 0x4a4d98
cmp eax, 0x286
je 0x4a4d98
mov eax, 1
pop ebp
ret 0x10
mov dword [ebp + 0xc], eax
pop ebp
jmp fcn.004a49b0
Function at 0x4bfde0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b5fc3
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x6a0290]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
call fcn.004b3f20
lea ecx, [esi + 0x4c]
mov dword [ebp - 4], 0
mov dword [esi], vtable.cWindow.0
call fcn.004b2a20
lea ecx, [esi + 0x8b4]
mov byte [ebp - 4], 1
call fcn.004af490
xor eax, eax
mov dword [esi + 8], 0
mov word [esi + 0x1a], ax
mov eax, 1
mov word [esi + 0xc], ax
mov dword [esi + 0xe], eax
mov dword [esi + 0x1c], eax
xor eax, eax
mov dword [esi + 0x90c], eax
mov dword [esi + 0x8d4], eax
mov dword [esi + 0x34], eax
mov dword [esi + 0x24], eax
mov dword [esi + 4], eax
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], eax
mov dword [esi + 0x904], eax
mov dword [esi + 0x908], eax
mov dword [esi + 0x2c], eax
mov dword [esi + 0x28], eax
mov dword [esi + 0x8ac], eax
mov dword [esi + 0x8b0], eax
mov eax, esi
mov dword [esi + 0x12], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x8d8], 0xffffff
mov dword [esi + 0x8dc], 0xff
mov dword [esi + 0x8e0], 0x64
mov dword [esi + 0x16], fcn.00569050
mov dword [esi + 0x910], 0x3f800000
mov dword [esi + 0x914], 0x3f800000
mov dword [esi + 0x30], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4c64a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx + 0xc]
pop ebp
jmp fcn.004b5850

Function at 0x4c6bc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov ebx, ecx
push 0x5be8a0
push str.._data_usercfginfo.dat
mov dword [ebp - 4], ebx
call fcn.0058f1bb
mov esi, eax
add esp, 8
test esi, esi
je 0x4c6c81
push edi
push esi
push 1
lea edi, [ebx + 0x10]
push 0x2c
push edi
call fcn.0058f767
push esi
call fcn.0058f080
mov ecx, edi
add esp, 0x14
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c6c06
sub ecx, edx
je 0x4c6c43
mov esi, 0xfffffff0
mov edx, edi
sub esi, ebx
lea ebx, [ebx]
add byte [edx], 0x9d
lea edx, [edx + 1]
mov ecx, edi
lea ebx, [ecx + 1]
jmp 0x4c6c30
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c6c30
sub ecx, ebx
lea eax, [esi + edx]
cmp eax, ecx
jb 0x4c6c20
mov ebx, dword [ebp - 4]
add ebx, 0x24
mov ecx, ebx
lea edx, [ecx + 1]
jmp 0x4c6c50
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c6c50
sub ecx, edx
je 0x4c6c80
mov edi, 0xffffffdc
mov edx, ebx
sub edi, dword [ebp - 4]
add byte [edx], 0x9d
lea edx, [edx + 1]
mov eax, ebx
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c6c70
sub eax, esi
lea ecx, [edi + edx]
cmp ecx, eax
jb 0x4c6c65
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4c7540
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x6a0290]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x5be90c
push str.._data_usercfginfo.dat
mov esi, ecx
call fcn.0058f1bb
movdqu xmm0, xmmword [esi + 0x10]
mov ecx, dword [esi + 0x38]
mov edi, eax
add esp, 8
mov dword [ebp - 8], ecx
movdqu xmmword [ebp - 0x30], xmm0
movdqu xmm0, xmmword [esi + 0x20]
movdqu xmmword [ebp - 0x20], xmm0
movq xmm0, qword [esi + 0x30]
movq qword [ebp - 0x10], xmm0
test edi, edi
je 0x4c7604
lea ecx, [ebp - 0x30]
xor edx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c7598
sub ecx, esi
je 0x4c75bd
add byte [ebp + edx - 0x30], 0x63
lea ecx, [ebp - 0x30]
inc edx
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c75b0
sub ecx, esi
cmp edx, ecx
jb 0x4c75a3
lea ecx, [ebp - 0x1c]
xor edx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4c75c5
sub ecx, esi
je 0x4c75ed
add byte [ebp + edx - 0x1c], 0x63
lea eax, [ebp - 0x1c]
inc edx
lea esi, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4c75e0
sub eax, esi
cmp edx, eax
jb 0x4c75d0
push edi
push 1
lea eax, [ebp - 0x30]
push 0x2c
push eax
call fcn.0058fa7e
push edi
call fcn.0058f080
add esp, 0x14
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0058de24
mov esp, ebp
pop ebp
ret

Function at 0x4c7780
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
push dword [ebp + 0xc]
mov edi, ecx
lea eax, [edi + 0x10]
mov dword [edi + 0x38], esi
push eax
call fcn.0058f38c
push dword [ebp + 0x10]
lea eax, [edi + 0x24]
push eax
call fcn.0058f38c
add esp, 0x10
test esi, esi
je 0x4c77b9
mov ecx, edi
call fcn.004c7540
pop edi
pop esi
pop ebp
ret 0xc
push str.._data_usercfginfo.dat
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4c7a00
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [0x5faee4]
push esi
mov esi, ecx
mov ecx, 0x5faedc
push 0
mov eax, dword [eax + 8]
push 0
mov dword [eax + 0xc], 1
cmp dword [esi + 0x10], 0
je 0x4c7a3b
push 3
mov dword [0x6d4b3a], 1
call fcn.004fd7c0
mov dword [esi + 0x10], 0
jmp 0x4c7a42
push 2
call fcn.004fd7c0
cmp dword [0x60243c], 0
pop esi
jne 0x4c7a60
mov dword [0x60243c], 1
mov ecx, 0x6023a0
jmp fcn.005306f0
ret
Function at 0x4fb760
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 0x4fb7ad
push 0
lea eax, [ebp + 8]
push eax
push 0x498
lea eax, [edi + 0x49c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4fb7b5
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 0xa8
lea eax, [edi + 0x9dc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
test eax, eax
je 0x4fb7a7
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, 1
pop esi
pop ebp
ret 4