joyce8/EMBER2024-capa huggingface dataset:
Function at 0x424f20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a73ab
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x695e80]
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 + 8]
mov dword [esi], vtable.CSkillObjectTargetList.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 1
mov dword [ebp - 4], 0
call fcn.004f06a0
mov ecx, dword [ebp + 8]
movzx eax, word [ecx + 0xb7]
mov word [esi + 0x30], ax
movzx eax, word [ecx + 0xad]
mov word [esi + 0x32], ax
mov dword [esi + 0x2c], 0
movzx eax, word [ecx + 0x27]
mov word [esi + 0x34], ax
movzx eax, word [ecx + 0x29]
mov word [esi + 0x36], ax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 4

Function at 0x427a50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a7f5e
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x695e80]
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], 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 [ebp - 4], 0
mov dword [ebx + 0x24], 0
mov dword [ebx + 0x28], 0
mov dword [ebx + 0x2c], 0
mov dword [ebx + 0x30], 0
mov dword [ebx + 0x34], 0
mov dword [ebx + 0x38], 0
mov dword [ebx + 0x48], 0
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
push 0x40
mov byte [ebp - 4], 2
call fcn.004f06a0
push 0x40
lea ecx, [ebx + 0x24]
call fcn.004f06a0
push 0x40
lea ecx, [ebx + 0x48]
call fcn.004f06a0
mov ecx, ebx
call fcn.00427650
mov ecx, ebx
call fcn.00427490
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 0x42cbc0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a82a6
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x695e80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x6c9eb4]
mov eax, dword [eax + 0x125]
movzx eax, ax
push eax
lea eax, [ebp - 0x50]
push str.._data_aiconfig__d.dat
push eax
call fcn.0058729c
push 0x1c5c
lea edi, [esi + 0xe6]
push 0
push edi
call fcn.00586c40
push 0x5b58f8
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.005870e0
mov eax, dword [ebp - 0x54]
add esp, 0x24
test eax, eax
je 0x42cd14
push eax
push 1
push 0x1c5c
push edi
call fcn.00587677
push dword [ebp - 0x54]
call fcn.00586f90
mov eax, dword [0x6b7944]
add esp, 0x14
test eax, eax
jne 0x42cc90
push 0x1d7a
call fcn.0058554c
add esp, 4
mov dword [ebp - 0x58], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x42cc82
mov ecx, eax
call fcn.00428600
jmp 0x42cc84
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov dword [0x6b7944], eax
imul eax, dword [eax + 0x21a], 0x64
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5b56f0]
cvtpd2ps xmm0, xmm0
movss dword [esi + 0xda], xmm0
mov eax, dword [0x6b7944]
test eax, eax
jne 0x42cceb
push 0x1d7a
call fcn.0058554c
add esp, 4
mov dword [ebp - 0x58], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x42cce4
mov ecx, eax
call fcn.00428600
jmp 0x42cce6
xor eax, eax
mov dword [0x6b7944], eax
imul eax, dword [eax + 0x21e], 0x64
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x5b56f0]
cvtpd2ps xmm0, xmm0
movss dword [esi + 0xe2], xmm0
jmp 0x42cd1b
mov ecx, esi
call fcn.00429900
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00585d34
mov esp, ebp
pop ebp
ret

Function at 0x42cd40
Capabilities:
Create directory
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x695e80]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
push 0
push str.data
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
push 0
push str.data_aiconfig
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
mov eax, dword [0x6c9eb4]
movzx eax, word [eax + 0x125]
push eax
lea eax, [ebp - 0x44]
push str.._data_aiconfig__d.dat
push eax
call fcn.0058729c
push 0x5b8368
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.005870e0
mov eax, dword [ebp - 0x48]
add esp, 0x18
test eax, eax
je 0x42cdc3
push eax
push 1
lea eax, [edi + 0xe6]
push 0x1c5c
push eax
call fcn.0058798e
push dword [ebp - 0x48]
call fcn.00586f90
add esp, 0x14
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.00585d34
mov esp, ebp
pop ebp
ret
Function at 0x4367d0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 1
push edi
mov edi, ecx
lea ecx, [edi + 0x9c4]
jne 0x436818
mov eax, dword [0x6c888c]
add eax, 0x1d4c0
push esi
mov dword [edi + 0x978], eax
call fcn.0044d700
push str.ANRaster.tga
lea ecx, [edi + 0x9c4]
call fcn.0044d630
pop esi
push dword [ebp + 8]
mov ecx, edi
call fcn.004a64b0
pop edi
pop ebp
ret 4
call fcn.0044d700
push str.ANRaster.tga
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [ebp + 8]
mov ecx, edi
call fcn.004a64b0
pop edi
pop ebp
ret 4

Function at 0x436840
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 1
push edi
mov edi, ecx
lea ecx, [edi + 0x9c4]
jne 0x43688b
imul eax, dword [ebp + 0xc], 0x3e8
push esi
add eax, dword [0x6c888c]
mov dword [edi + 0x978], eax
call fcn.0044d700
push str.ANRaster.tga
lea ecx, [edi + 0x9c4]
call fcn.0044d630
pop esi
push dword [ebp + 8]
mov ecx, edi
call fcn.004a64b0
pop edi
pop ebp
ret 8
call fcn.0044d700
push str.ANRaster.tga
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push dword [ebp + 8]
mov ecx, edi
call fcn.004a64b0
pop edi
pop ebp
ret 8

Function at 0x43b000
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a8ba7
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x695e80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
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 [ecx + 0x24], 0
mov dword [ecx + 0x28], 0
mov dword [ecx + 0x2c], 0
mov dword [ecx + 0x30], 0
mov dword [ecx + 0x34], 0
mov dword [ecx + 0x38], 0
lea ebx, [ecx + 0x48]
mov dword [ebx], 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
lea edi, [ecx + 0x6c]
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
lea esi, [ecx + 0x90]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
push 0x65
mov byte [ebp - 4], 4
call fcn.004f06a0
mov ecx, dword [ebp - 0x10]
push 0x65
lea ecx, [ecx + 0x24]
call fcn.004f06a0
push 0x65
mov ecx, ebx
call fcn.004f06a0
push 0x65
mov ecx, edi
call fcn.004f06a0
push 0x65
mov ecx, esi
call fcn.004f06a0
mov eax, dword [ebp - 0x10]
mov dword [0x6b7ae8], 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 0x45c420
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 0x45c440
push 0
push 0x6a
push str.DirectoryManager.cpp
call fcn.0040fac0
add esp, 0xc
cmp esi, dword [edi + 0x50]
je 0x45c457
cmp esi, 0x11
je 0x45c457
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 0x461410
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a9f67
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x695e80]
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 0x460ff0
push 0x460fd0
push 2
push 0xc
lea eax, [ebx + 0x34]
mov dword [ebp - 4], 0
push eax
call fcn.00586cd0
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.005815c0
push 0x20
lea ecx, [ebx + 4]
mov byte [ebp - 4], 3
call fcn.004f06a0
push 0x20
lea ecx, [ebx + 0x4c]
call fcn.004f06a0
push 0x190
call fcn.0058554c
add esp, 4
test eax, eax
je 0x461504
mov dword [eax], vtable.CMemoryPoolTempl_class_CDamageNumber_.0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov byte [eax + 0x10], 0
jmp 0x461506
xor eax, eax
push 0x190
mov dword [ebx + 0x2c], eax
call fcn.0058554c
add esp, 4
test eax, eax
je 0x461534
mov dword [eax], vtable.CMemoryPoolTempl_class_CEffect_.0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov byte [eax + 0x10], 0
jmp 0x461536
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.00586e00
lea edi, [esi + 4]
mov dword [esi + 0xc], 0x28
add esp, 0xc
cmp dword [edi], 0
jne 0x461571
push 0x3c
push edi
call fcn.00461c60
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.00586e00
lea edi, [esi + 4]
mov dword [esi + 0xc], 0x32
add esp, 0xc
cmp dword [edi], 0
jne 0x4615a9
push 0x64
push edi
call fcn.00461d90
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 0x46bf80
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x695e80]
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.00586c40
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 0x46bff0
sub edx, ecx
mov dword [ebp - 0x410], esi
xor ecx, ecx
cmp edx, 2
jl 0x46c036
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 0x46c010
mov ebx, dword [ebp - 0x414]
cmp ecx, edx
jge 0x46c04a
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 0x46c087
jmp 0x46c070
cmp dword [eax], esi
je 0x46c07d
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x46c070
jmp 0x46c087
cmp dword [eax + 4], 0
jne 0x46c12b
cmp dword [ebx + 0x20], 0xcd
jb 0x46c0ba
push 0x33
mov ecx, ebx
call fcn.0046c170
lea eax, [ebp - 0x404]
push 0x5bbf08
push eax
call fcn.0058729c
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 0x46c131
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.0046bf40
test eax, eax
je 0x46c110
mov ecx, dword [ebp - 0x40c]
mov dword [eax + 8], ecx
mov dword [eax + 4], esi
push eax
lea ecx, [ebx + 4]
call fcn.00581700
push esi
lea eax, [ebp - 0x40c]
push eax
lea ecx, [ebx + 0x20]
call fcn.00411800
jmp 0x46c131
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.00585d34
mov esp, ebp
pop ebp
ret 0x10
Function at 0x46c2c0
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 0x46c327
cmp dword [esi + 0x10], 0
jle 0x46c319
push edi
lea ecx, [esi + 4]
call fcn.00581ea0
mov edi, eax
test edi, edi
je 0x46c318
push dword [edi + 8]
call fcn.0046c690
add esp, 4
lea ecx, [esi + 0x20]
push dword [edi + 4]
call fcn.0041ba90
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 0x476eb0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5aa9d3
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x695e80]
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.00478bf0
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.0044cdb0
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.0040fdc0
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 0x477890
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x695e80]
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.00586c40
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.00586c40
add esp, 0x18
test ebx, ebx
je 0x477a10
test esi, esi
je 0x477a10
push edi
lea eax, [ebp - 0x25c]
push eax
push 0x1f4
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x4779b7
cmp byte [ebp - 0x25c], 0
je 0x4779b7
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
lea esi, [ebp - 0x25c]
push 0x5bc628
push esi
call edi
test eax, eax
je 0x4779a3
push 0x5bc62c
push esi
call edi
test eax, eax
je 0x4779a3
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 0x4779bf
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.005890c4
add esp, 0xc
test eax, eax
je 0x4779d4
add esi, 4
cmp byte [esi], 0
jne 0x477937
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.00585d34
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.00585d34
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.00585d34
mov esp, ebp
pop ebp
ret 8
Function at 0x478130
Capabilities:
Get process image filename

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b13cb
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x695e80]
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 0x5b8782
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 0
call fcn.00403ef0
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 0x4781e6
lea eax, [ebp - 0x230]
mov ecx, edi
push eax
call fcn.00410590
cmp dword [ebp - 0x21c], 0x10
jb 0x478250
push dword [ebp - 0x230]
call fcn.0058559d
add esp, 4
jmp 0x478250
push 0x104
lea eax, [ebp - 0x218]
push eax
push esi
call sub.PSAPI.DLL_GetProcessImageFileNameA
test eax, eax
jne 0x478205
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x478237
lea eax, [ebp - 0x114]
mov ecx, ebx
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00477890
push esi
test eax, eax
je 0x4781fd
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x114]
push eax
lea ecx, [ebp - 0x230]
call fcn.004116c0
lea eax, [ebp - 0x230]
mov ecx, edi
push eax
call fcn.00410590
lea ecx, [ebp - 0x230]
call fcn.004037c0
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.00585d34
mov esp, ebp
pop ebp
ret 8
Function at 0x478640
Capabilities:
Create thread

Disassembly:
push edi
mov edi, ecx
cmp dword [edi + 0x40], 0
jne 0x4786cd
call fcn.004786d0
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 [0x6c4a28], eax
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push 0
push 0
push 0
push 0x477b60
push 0
push 0
mov dword [0x6c4a2c], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x6c4a30], eax
test eax, eax
jne 0x4786b7
push eax
push eax
push 0x10
push dword [0x6c7fe0]
mov dword [0x6c843c], 1
call dword [sym.imp.USER32.dll_PostMessageA]
mov eax, dword [0x6c888c]
mov dword [edi + 0x44], eax
mov dword [edi + 0x40], 1
mov dword [edi + 0x4c], 0
pop edi
ret

Function at 0x478ab0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d0
mov eax, dword [0x695e80]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x40], 0
je 0x478bb6
mov ecx, dword [0x6c888c]
mov eax, ecx
sub eax, dword [esi + 0x44]
cmp eax, 0x1388
jb 0x478b09
cmp dword [esi + 0x48], 0
jne 0x478b09
mov dword [esi + 0x48], 1
push dword [0x6c4a28]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [0x6c888c]
mov dword [esi + 0x44], eax
mov ecx, dword [0x6c888c]
mov eax, dword [esi + 0x4c]
mov esi, dword [sym.imp.USER32.dll_PostMessageA]
test eax, eax
je 0x478b38
sub ecx, eax
cmp ecx, 0x1388
jb 0x478b38
push 0
push 0
push 0x10
push dword [0x6c7fe0]
mov dword [0x6c843c], 1
call esi
push dword [0x6c4a30]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
test eax, eax
je 0x478b60
push 0
push 0
push 0x10
push dword [0x6c7fe0]
mov dword [0x6c843c], 1
call esi
push 0x2c8
lea eax, [ebp - 0x2cc]
push 0
push eax
call fcn.00586c40
add esp, 0xc
mov dword [ebp - 0x2d0], 0x10007
lea eax, [ebp - 0x2d0]
push eax
push dword [0x6c4a30]
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x478bb6
push 0
push 0
push 0x10
push dword [0x6c7fe0]
mov dword [0x6c843c], 1
call esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00585d34
mov esp, ebp
pop ebp
ret
Function at 0x4a32f3
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.0x4a31fc.10
movzx eax, byte [eax + 0x4a3388]
jmp dword [eax*4 + 0x4a3354]
mov ecx, dword [esi + 4]
cmp dword [ecx + 0x3e], 1
je case.0x4a31fc.10
call fcn.0044d920
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.0044d9a0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.0044da30
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.0044d850
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
cmp dword [ecx + 0x3e], 1
je case.0x4a31fc.10
call fcn.0044d900
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.0044d8c0
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.0044df00
mov eax, dword [esi + 4]
mov ecx, dword [eax + 0x36]
test ecx, ecx
je case.0x4a31fc.10
push 8
call fcn.004bb340
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.0044db40
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, dword [esi + 4]
call fcn.0044dd10
mov eax, 1
pop esi
pop ebp
ret 0x10
mov ecx, 0x5f08b0
call fcn.004c26f0
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.0x4a31fc.10
push 1
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je case.0x4a31fc.10
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je case.0x4a31fc.10
call fcn.00404f30
push 1
cmp dword [eax], 0
jne 0x4a3333
call dword [sym.imp.USER32.dll_GetClipboardData]
push eax
call fcn.00404f30
mov ecx, eax
call fcn.0043d760
jmp 0x4a3339
call dword [sym.imp.USER32.dll_GetClipboardData]
mov ecx, dword [esi + 4]
push eax
call fcn.0044e2c0
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, 1
pop esi
pop ebp
ret 0x10

Function at 0x4a33e0
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
cmp dword [ecx + 4], 0
jne 0x4a33ef
xor eax, eax
pop ebp
ret 0x10
mov eax, dword [ebp + 0xc]
cmp eax, 0x102
ja 0x4a3431
je 0x4a3424
sub eax, 0x100
je 0x4a3417
dec eax
jne 0x4a343f
cmp dword [ebp + 0x10], 0x11
jne 0x4a343f
mov dword [ecx + 0xc], eax
mov eax, 1
pop ebp
ret 0x10
mov dword [ebp + 0xc], 0x100
pop ebp
jmp fcn.004a31e0
mov dword [ebp + 0xc], 0x102
pop ebp
jmp fcn.004a3000
cmp eax, 0x10f
je 0x4a3448
cmp eax, 0x286
je 0x4a3448
mov eax, 1
pop ebp
ret 0x10
mov dword [ebp + 0xc], eax
pop ebp
jmp fcn.004a3060