joyce8/EMBER2024-capa huggingface dataset:
Function at 0x439b70
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
push esi
xor ebx, ebx
mov esi, ecx
push ebx
call fcn.00403ccf
test eax, eax
je 0x439b94
mov ecx, esi
call fcn.0042f942
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x439b94
inc ebx
pop esi
mov al, bl
pop ebx
ret

Function at 0x439b99
Capabilities:
Get file attributes

Disassembly:
push ebx
push esi
xor ebx, ebx
mov esi, ecx
push ebx
call fcn.00403ccf
test eax, eax
je 0x439bbc
mov ecx, esi
call fcn.0042f942
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x439bbc
inc ebx
pop esi
mov al, bl
pop ebx
ret

Function at 0x439bc1
Capabilities:
Get file attributes

Disassembly:
call fcn.0042f942
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x439bda
cmp eax, 0xffffffff
je 0x439bda
xor eax, eax
inc eax
ret
xor eax, eax
ret

Function at 0x439c1c
Capabilities:
Create directory

Disassembly:
push 8
mov eax, 0x500b5e
call fcn.004e2dc9
and dword [ebp - 0x14], 0
mov ecx, dword [ebp + 0xc]
push 0
call fcn.0042f942
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x439c50
lea ecx, [ebp - 0x10]
call fcn.00402421
mov ecx, eax
xor ebx, ebx
inc ebx
jmp 0x439c5d
lea ecx, [ebp + 0xc]
call fcn.00439ac9
push 2
mov ecx, eax
pop ebx
mov esi, dword [ebp + 8]
or ebx, 4
mov eax, dword [ecx]
mov dword [esi], eax
mov dword [ecx], 0x51d44c
test bl, 2
je 0x439c7d
lea ecx, [ebp + 0xc]
and ebx, 0xfffffffd
call fcn.0042db44
test bl, 1
je 0x439c8a
lea ecx, [ebp - 0x10]
call fcn.0042db44
mov eax, esi
call fcn.004e2d97
ret 8

Function at 0x439ce4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
cmp dword [esi + 0xc], 0
je 0x439d2d
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push 0
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x439d28
lea ecx, [ebp + 0xc]
call fcn.00439ac9
mov ecx, dword [esi + 0x10]
mov edx, dword [eax]
mov dword [esi + 0x10], edx
mov dword [eax], ecx
lea ecx, [ebp + 0xc]
call fcn.0042db44
mov eax, dword [ebp - 4]
jmp 0x439d2f
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x439df7
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x500b84
mov eax, dword fs:[0]
push eax
mov eax, 0x101c
call fcn.004f6510
mov eax, dword [0x54d894]
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 dword [ebp - 0x1028], ecx
xor eax, eax
xor esi, esi
push 0xffe
mov word [ebp - 0x1010], ax
lea eax, [ebp - 0x100e]
push esi
push eax
call fcn.004dd100
add esp, 0xc
lea eax, [ebp - 0x1010]
push eax
push 0x800
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
mov ebx, esi
mov dword [ebp - 0x1020], esi
mov eax, esi
mov dword [ebp - 0x1024], ebx
lea edi, [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
mov dword [ebp - 4], esi
cmp word [ebp - 0x1010], si
je 0x439ed9
push ecx
mov eax, esp
lea ecx, [ebp - 0x1014]
mov dword [eax], edi
call fcn.0043d896
pop ecx
lea eax, [ebp - 0x1014]
push eax
lea ecx, [ebp - 0x1024]
call fcn.0043b13d
mov eax, dword [ebp - 0x1014]
push ecx
mov ecx, esp
mov dword [ecx], eax
call fcn.0042db1d
pop ecx
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x439ebd
cmp word [edi], si
jne 0x439e89
mov ebx, dword [ebp - 0x1024]
mov eax, dword [ebp - 0x101c]
lea edx, [ebx + eax*4]
mov ecx, ebx
lea eax, [ebp - 0x1015]
push eax
mov eax, edx
sub eax, ebx
sar eax, 2
push eax
call fcn.0043e6f2
mov edi, dword [ebp - 0x101c]
pop ecx
pop ecx
test edi, edi
jle 0x439f41
mov ebx, dword [ebp - 0x1028]
push esi
lea ecx, [ebp - 0x1024]
call fcn.0042fff8
mov edx, eax
lea ecx, [ebp - 0x1014]
call fcn.00427807
lea eax, [ebp - 0x1014]
mov ecx, ebx
push eax
call fcn.0043b75d
lea ecx, [ebp - 0x1014]
call fcn.0042db44
inc esi
cmp esi, edi
jl 0x439f04
mov ebx, dword [ebp - 0x1024]
lea ecx, [ebp - 0x1024]
call fcn.0043bc3a
push ebx
call fcn.004dc624
pop ecx
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.004db457
mov esp, ebp
pop ebp
ret
Function at 0x43a27d
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x270
mov eax, dword [0x54d894]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [ecx + 4], 0xffffffff
mov eax, dword [ebp + 8]
mov dword [ebp - 0x270], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x18]
mov dword [ebp - 0x264], eax
mov eax, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x1c]
mov dword [ebp - 0x26c], eax
mov eax, dword [ebp + 0x20]
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x268], eax
lea eax, [ebp - 0x25c]
mov dword [ebp - 0x260], ecx
push eax
jne 0x43a2f4
call fcn.0042f942
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [ebp - 0x260]
cmp eax, 0xffffffff
mov dword [ecx + 4], eax
jne 0x43a301
xor al, al
jmp 0x43a3af
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jmp 0x43a2eb
push ecx
mov eax, esp
lea ecx, [ebp - 0x230]
mov dword [eax], ecx
lea ecx, [ebp - 0x260]
call fcn.0043d896
mov edx, dword [ebp - 0x270]
mov ecx, dword [ebp - 0x260]
mov eax, dword [edx]
mov dword [edx], ecx
mov ecx, esp
mov dword [ecx], eax
call fcn.0042db1d
mov edx, dword [ebp - 0x264]
pop ecx
mov ecx, dword [ebp - 0x25c]
test edx, edx
je 0x43a34a
mov eax, ecx
shr eax, 4
and al, 1
mov byte [edx], al
mov edx, dword [ebp - 0x26c]
test edx, edx
je 0x43a35c
mov eax, ecx
shr eax, 1
and al, 1
mov byte [edx], al
mov eax, dword [ebp - 0x268]
test eax, eax
je 0x43a36b
and cl, 1
mov byte [eax], cl
test edi, edi
je 0x43a385
mov ecx, dword [ebp - 0x240]
xor eax, eax
add eax, dword [ebp - 0x23c]
mov dword [edi], eax
adc ecx, 0
mov dword [edi + 4], ecx
test ebx, ebx
je 0x43a399
lea ecx, [ebp - 0x248]
call fcn.0043989d
mov dword [ebx], eax
mov dword [ebx + 4], edx
test esi, esi
je 0x43a3ad
lea ecx, [ebp - 0x258]
call fcn.0043989d
mov dword [esi], eax
mov dword [esi + 4], edx
mov al, 1
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004db457
mov esp, ebp
pop ebp
ret 0x1c

Function at 0x43a3c7
Capabilities:
Create process on windows

Disassembly:
push esi
push 0xa
mov esi, ecx
mov ecx, edx
push 0
call fcn.0042f942
push eax
mov ecx, esi
call fcn.0042f942
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
push 0x20
pop ecx
cmp ecx, eax
pop esi
sbb eax, eax
neg eax
ret
Function at 0x43a571
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push esi
push edi
push dword [ebp + 8]
xor esi, esi
mov eax, ecx
push esi
push ecx
mov ecx, esp
mov edi, edx
push eax
call fcn.0042db52
lea ecx, [ebp - 0x10]
call fcn.0043a3f3
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x43a5f4
mov eax, 0x400
jmp 0x43a5ae
cmp eax, 0xea
jne 0x43a5e6
mov eax, dword [ebp + 8]
add eax, eax
push esi
push eax
mov ecx, edi
mov dword [ebp + 8], eax
call fcn.0042c5fd
lea eax, [ebp + 8]
mov dword [ebp - 4], esi
push eax
push dword [edi]
lea eax, [ebp - 4]
push eax
push esi
push dword [ebp - 0xc]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x43a5a2
push esi
push dword [ebp + 8]
mov ecx, edi
call fcn.0042c5fd
mov esi, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x43a5f4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 8]
call fcn.0042db44
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x43aa8d
Capabilities:
Check mutex on windows

Disassembly:
push 4
mov eax, 0x500c63
call fcn.004e2dc9
mov esi, ecx
push 0x2f
xor ebx, ebx
lea eax, [ebp - 0x10]
push 0x5c
mov dword [ebp - 4], ebx
lea ecx, [ebp + 8]
push eax
mov dword [esi], ebx
mov dword [esi + 4], 1
call fcn.0042ecab
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [eax]
mov dword [ebp + 8], edx
mov dword [eax], ecx
mov ecx, esp
mov eax, dword [ebp - 0x10]
mov dword [ecx], eax
call fcn.0042db1d
pop ecx
lea eax, [ebp + 8]
mov edx, str.Global_
push eax
lea ecx, [ebp - 0x10]
call fcn.0042e541
mov ecx, eax
mov byte [ebp - 4], 1
call fcn.0042f942
push eax
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push ecx
mov ecx, esp
mov dword [esi], eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x10]
mov dword [ecx], eax
call fcn.0042db1d
pop ecx
cmp dword [esi], ebx
jne 0x43ab48
lea eax, [ebp + 8]
mov edx, str.Local_
push eax
lea ecx, [ebp - 0x10]
call fcn.0042e541
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.0042f942
push eax
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
push ecx
mov ecx, esp
mov dword [esi], eax
mov eax, dword [ebp - 0x10]
mov dword [ecx], eax
call fcn.0042db1d
pop ecx
cmp dword [esi], ebx
je 0x43ab7f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x43ab7f
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x43ab78
or ecx, 0xffffffff
test eax, eax
cmovs eax, ecx
push eax
push dword [esi]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x43ab7f
cmp eax, 0x80
je 0x43ab7f
mov ecx, esi
call fcn.0043ab97
mov eax, dword [ebp + 8]
push ecx
mov ecx, esp
mov dword [ecx], eax
call fcn.0042db1d
pop ecx
mov eax, esi
call fcn.004e2d97
ret 8
Function at 0x441f4a
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 8], 0
push esi
push edi
push ecx
mov eax, esp
mov edi, ecx
push ecx
mov dword [eax], 0x5264e0
mov eax, esp
push ecx
mov esi, esp
mov dword [eax], 0x5264e4
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [ebp - 0xc]
mov dword [esi], eax
call fcn.00443583
add esp, 0xc
lea ecx, [ebp - 4]
mov esi, dword [eax]
mov dword [ebp - 4], esi
call fcn.00425b9d
mov ecx, eax
call fcn.0042d91e
test al, al
je 0x441fba
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 4]
call fcn.00425bd7
lea ecx, [ebp - 4]
call fcn.00425b9d
mov ecx, eax
call fcn.0042d91e
test al, al
jne 0x441f98
mov esi, dword [ebp - 4]
push ecx
mov eax, esp
mov ecx, edi
mov dword [eax], esi
call fcn.0043d896
pop ecx
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4453f8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov esi, ecx
lea eax, [ebp - 0x14]
push edi
push eax
mov dword [ebp - 0x20], esi
mov ecx, dword [esi + 0x14]
add ecx, 8
call fcn.00444c33
xor edi, edi
xor ebx, ebx
inc edi
mov dword [ebp - 0xc], ebx
cmp dword [esi + 0x1c], edi
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x18], edi
jle 0x445529
mov eax, dword [ebp + 0xc]
dec eax
push 0x10
pop edx
mov dword [ebp - 0x1c], edx
movd xmm1, eax
mov eax, dword [ebp - 0x20]
cvtdq2pd xmm1, xmm1
mov ecx, dword [eax + 0x14]
add ecx, edx
movsd xmm0, qword [ecx]
add ecx, 8
mulsd xmm0, xmm1
addsd xmm0, qword [0x52f378]
movsd qword [ebp - 0x28], xmm0
mov eax, dword [ebp - 0x28]
sub eax, ebx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 4]
push eax
call fcn.00444c33
mov ecx, dword [ebp - 0x14]
xor edx, edx
mov dword [ebp - 0x10], edx
test ecx, ecx
jle 0x44550d
mov eax, dword [ebp - 4]
mov ebx, 0xff00ff
shr eax, 8
and eax, ebx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
and eax, ebx
mov dword [ebp - 0x24], eax
mov eax, edx
mov ebx, esi
shl eax, 8
cdq
idiv ecx
mov edx, dword [ebp - 8]
mov ecx, esi
mov edi, eax
shr ebx, 8
mov eax, 0xff00ff
and ebx, eax
and ecx, eax
sub edx, ebx
mov eax, ebx
imul edx, edi
shl eax, 8
and edx, 0xffffff00
add edx, eax
mov eax, dword [ebp - 0x24]
sub eax, ecx
imul eax, edi
shr eax, 8
add eax, ecx
mov ecx, dword [ebp - 0x14]
xor edx, eax
mov eax, dword [ebp - 8]
sub eax, ebx
and edx, 0xff00ff
imul eax, edi
shl ebx, 8
and eax, 0xffffff00
add eax, ebx
mov ebx, dword [ebp - 0xc]
xor edx, eax
mov eax, dword [ebp + 8]
mov dword [eax + ebx*4], edx
inc ebx
mov edx, dword [ebp - 0x10]
inc edx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], edx
cmp edx, ecx
jl 0x445497
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
inc edi
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 4]
add edx, 0x10
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edx
cmp edi, dword [eax + 0x1c]
jl 0x445441
mov eax, dword [ebp + 0xc]
cmp ebx, eax
jge 0x44553e
mov ecx, dword [ebp + 8]
sub eax, ebx
lea edi, [ecx + ebx*4]
mov ecx, eax
mov eax, esi
rep stosd dword es:[edi], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x44baa0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x501a66
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
mov eax, dword [0x54d894]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0xc]
call fcn.004470e5
and dword [esp + 0x38], 0
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x10]
push ecx
push ecx
fstp dword [esp + 0x10]
movss xmm0, dword [esp + 0x10]
lea eax, [esp + 0x14]
movss dword [esp], xmm0
push dword [ebp + 0x10]
push dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 4]
movss xmm0, dword [eax]
call fcn.0044b083
add esp, 0x14
lea eax, [esp + 0xc]
mov ecx, esi
push 0x54ea74
push eax
call fcn.0044ba75
push dword [esp + 0xc]
call fcn.004dc624
pop ecx
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x453047
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, 0xcb
cmp dword [esi + 0x14], 0xca
jne 0x453099
mov eax, dword [esi + 4]
push 0x1c
push 1
push esi
call dword [eax]
add esp, 0xc
mov dword [esi + 0x180], eax
mov ecx, esi
mov dword [eax], 0x457ccd
mov dword [eax + 4], 0x457e07
mov byte [eax + 8], 0
call fcn.00457b1b
cmp byte [esi + 0x40], 0
je 0x453096
mov dword [esi + 0x14], 0xcf
mov al, 1
pop edi
pop esi
ret
mov dword [esi + 0x14], edi
cmp dword [esi + 0x14], edi
jne 0x453103
mov eax, dword [esi + 0x190]
cmp byte [eax + 0x10], 0
je 0x4530f8
mov eax, dword [esi + 8]
test eax, eax
je 0x4530b5
push esi
call dword [eax]
pop ecx
mov eax, dword [esi + 0x190]
push esi
call dword [eax]
pop ecx
test eax, eax
je 0x4530f4
cmp eax, 2
je 0x4530f8
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4530aa
cmp eax, 3
je 0x4530d9
cmp eax, 1
jne 0x4530aa
inc dword [ecx + 4]
mov edx, dword [esi + 8]
mov edi, dword [edx + 8]
cmp dword [ecx + 4], edi
jl 0x4530aa
mov eax, dword [esi + 0x11c]
add eax, edi
mov dword [edx + 8], eax
jmp 0x4530aa
xor al, al
jmp 0x453093
mov eax, dword [esi + 0x7c]
mov dword [esi + 0x84], eax
jmp 0x453123
cmp dword [esi + 0x14], 0xcc
je 0x453123
mov eax, dword [esi]
push esi
mov dword [eax + 0x14], 0x14
mov ecx, dword [esi]
mov eax, dword [esi + 0x14]
mov dword [ecx + 0x18], eax
mov eax, dword [esi]
call dword [eax]
pop ecx
pop edi
mov ecx, esi
pop esi
jmp 0x45312c
push ebx
push esi
push edi
mov edi, ecx
mov esi, 0xcc
cmp dword [edi + 0x14], esi
je 0x45314c
mov eax, dword [edi + 0x180]
push edi
call dword [eax]
and dword [edi + 0x78], 0
pop ecx
mov dword [edi + 0x14], esi
mov eax, dword [edi + 0x180]
cmp byte [eax + 8], 0
je 0x4531bc
lea ebx, [edi + 0x78]
mov eax, dword [ebx]
jmp 0x453193
mov ecx, dword [edi + 8]
test ecx, ecx
je 0x453179
mov dword [ecx + 4], eax
mov ecx, dword [edi + 8]
mov eax, dword [edi + 0x60]
push edi
mov dword [ecx + 8], eax
mov eax, dword [edi + 8]
call dword [eax]
pop ecx
mov eax, dword [edi + 0x184]
mov esi, dword [ebx]
push 0
push ebx
push 0
push edi
call dword [eax + 4]
mov eax, dword [ebx]
add esp, 0x10
cmp eax, esi
je 0x4531d2
cmp eax, dword [edi + 0x60]
jb 0x45315f
mov eax, dword [edi + 0x180]
push edi
call dword [eax + 4]
mov eax, dword [edi + 0x180]
push edi
call dword [eax]
and dword [ebx], 0
mov eax, dword [edi + 0x180]
pop ecx
pop ecx
cmp byte [eax + 8], 0
jne 0x45315b
xor eax, eax
cmp byte [edi + 0x41], al
setne al
add eax, 0xcd
mov dword [edi + 0x14], eax
mov al, 1
pop edi
pop esi
pop ebx
ret
xor al, al
jmp 0x4531ce
Function at 0x4608d3
Capabilities:
Terminate process

Disassembly:
push esi
mov esi, 0x525955
test ecx, ecx
je 0x4608e9
mov eax, dword [ecx]
test eax, eax
je 0x4608e9
push esi
push ecx
call eax
pop ecx
pop ecx
push esi
push str.libpng_error:__s
call fcn.004e1fd2
add eax, 0x40
push eax
call fcn.004e250f
add esp, 0xc
push 0x523624
call fcn.004e1fd2
add eax, 0x40
push eax
call fcn.004e250f
pop ecx
pop ecx
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x460b6c
Capabilities:
Terminate process

Disassembly:
test dword [ecx + 0x2c], 0x100000
je 0x460b90
test dword [ecx + 0x28], 0x8000
je 0x460b8b
cmp dword [ecx + 0xd0], 0
jne fcn.00460c4c
jmp fcn.00460a20
jmp fcn.004608d3

Function at 0x460b95
Capabilities:
Terminate process

Disassembly:
test dword [ecx + 0x2c], 0x200000
jne fcn.00460a20
jmp fcn.004608d3

Function at 0x460ba7
Capabilities:
Terminate process

Disassembly:
test dword [ecx + 0x2c], 0x400000
jne fcn.00460a20
jmp fcn.004608d3

Function at 0x460c89
Capabilities:
Terminate process

Disassembly:
test dword [ecx + 0x2c], 0x100000
jne fcn.00460c4c
jmp fcn.004608d3

Function at 0x460c9b
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
test dword [ecx + 0x28], 0x8000
je 0x460cb9
cmp dword [ebp + 8], 2
jge 0x460cb3
pop ebp
jmp fcn.00460c4c
pop ebp
jmp fcn.00460c89
cmp dword [ebp + 8], 1
jge 0x460cc5
pop ebp
jmp fcn.00460b95
pop ebp
jmp fcn.00460ba7

Function at 0x465add
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov eax, dword [esi + 0x28]
test al, 1
je 0x465b13
test al, 4
je 0x465b13
mov edx, dword [ebp + 8]
or eax, 0x18
mov dword [esi + 0x28], eax
call fcn.00465249
cmp dword [ebp + 8], 0
je 0x465b10
mov ecx, esi
mov edx, str.invalid
pop esi
pop ebp
jmp fcn.00460c89
pop esi
pop ebp
ret
call fcn.004608d3
int3

Function at 0x469305
Capabilities:
Terminate process

Disassembly:
test ecx, ecx
je 0x46935e
mov edx, 0x8000
test dword [ecx + 0x28], edx
je 0x469321
mov eax, 0xff
mov word [ecx + 0x114], ax
jmp 0x469354
movzx eax, byte [ecx + 0x10b]
sub eax, 0
je 0x469344
dec eax
dec eax
je 0x46933b
mov edx, str.png_set_filler:_inappropriate_color_type
jmp fcn.00460ba7
mov byte [ecx + 0x110], 4
jmp 0x469354
cmp byte [ecx + 0x10c], 8
jb 0x46935f
mov byte [ecx + 0x110], 2
or dword [ecx + 0x30], edx
or dword [ecx + 0x2c], 0x80
ret
mov edx, str.png_set_filler_is_invalid_for_low_bit_depth_gray_output
jmp 0x469336
Function at 0x471dc9
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5024fb
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x54d894]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
movd xmm0, dword [ecx + 8]
movsd xmm1, qword [0x52f378]
mov eax, dword [ecx + 4]
mov edi, dword [ecx + 0xc]
mov ebx, dword [ecx + 0x10]
lea ecx, [esp + 0x24]
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x30], ebx
movss xmm2, dword [ebp + 0x14]
mulss xmm0, dword [ebp + 0x10]
cvtps2pd xmm0, xmm0
addsd xmm0, xmm1
movsd qword [esp + 0x14], xmm0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x28], eax
lea eax, [esp + 0x10]
push eax
call fcn.00444caf
movd xmm0, edi
cvtdq2ps xmm0, xmm0
mov edi, dword [ebp + 0xc]
mov esi, dword [eax]
mulss xmm0, dword [ebp + 0x10]
cvtps2pd xmm0, xmm0
addsd xmm0, xmm1
movsd qword [esp + 0x24], xmm0
movd xmm0, ebx
mov ebx, dword [ebp + 8]
cvtdq2ps xmm0, xmm0
cmp dword [ebx], 0
mulss xmm0, dword [ebp + 0x10]
cvtps2pd xmm0, xmm0
addsd xmm0, xmm1
movsd qword [esp + 0x1c], xmm0
je 0x471edf
push 3
lea eax, [esp + 0x14]
mov ecx, ebx
push eax
call fcn.0044c8a5
and dword [esp + 0x40], 0
lea ecx, [esp + 0x10]
call fcn.0044c73f
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
call fcn.004717e3
push ecx
mov eax, esp
mov ecx, edi
mov dword [eax], esi
call fcn.0044b67d
push 1
push dword [esp + 0x20]
lea eax, [esp + 0x18]
mov ecx, edi
push dword [esp + 0x2c]
push eax
call fcn.0044c02e
or dword [esp + 0x40], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.004037f3
mov ecx, edi
call fcn.0044b616
mov ecx, dword [edi]
movss xmm0, dword [ebp + 0x14]
push ecx
movss dword [esp], xmm0
mov eax, dword [ecx]
call dword [eax + 0x48]
xor eax, eax
mov ecx, edi
push eax
push eax
push eax
push ebx
call fcn.0044c02e
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x473c2b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14c
mov eax, dword [0x54d894]
xor eax, esp
mov dword [esp + 0x148], eax
push ebx
push esi
push edi
mov ebx, ecx
push 0
push dword [ebx + 0x34]
call dword [sym.imp.GDI32.dll_SetMapperFlags]
push 1
push dword [ebx + 0x34]
call dword [sym.imp.GDI32.dll_SetMapMode]
and dword [esp + 0x18], 0
lea eax, [esp + 0x1c]
push 0x58
push 0
push eax
call fcn.004dd100
add esp, 8
mov dword [esp + 0x33], 0x2000801
mov eax, esp
mov byte [esp + 0x37], 0
lea ecx, [ebx + 0xc]
mov dword [eax], str.Italic
call fcn.0042e80b
push ecx
test al, al
lea ecx, [ebx + 0xc]
mov eax, esp
setne byte [esp + 0x30]
mov dword [eax], str.Bold
call fcn.0042e80b
test al, al
mov dword [esp + 0x18], 0xffffff00
mov edx, 0x2bc
lea eax, [esp + 0x34]
mov ecx, 0x190
cmovne ecx, edx
push 0x40
mov dword [esp + 0x2c], ecx
lea ecx, [ebx + 8]
push eax
call fcn.0042f987
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
mov esi, eax
test esi, esi
je 0x473d41
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push esi
push dword [ebx + 0x34]
call edi
mov dword [ebx + 0x30], eax
test eax, eax
je 0x473d41
lea eax, [esp + 0x78]
mov dword [ebx + 0x2c], esi
push eax
push 0xd8
push dword [ebx + 0x34]
call dword [sym.imp.GDI32.dll_GetOutlineTextMetricsW]
test eax, eax
je 0x473d41
mov eax, dword [esp + 0xd8]
mov dword [ebx + 0x84], eax
neg eax
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
push eax
push dword [ebx + 0x34]
mov dword [ebx + 0x2c], eax
call edi
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
lea eax, [ebx + 0x38]
push eax
push dword [ebx + 0x34]
call dword [sym.imp.GDI32.dll_GetTextMetricsW]
test eax, eax
je 0x473dfa
mov edi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x5a
push dword [ebx + 0x34]
call edi
push 0x58
push dword [ebx + 0x34]
mov esi, eax
call edi
add esi, eax
push 0x5a
push dword [ebx + 0x34]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x52f05c]
movss dword [esp + 0x1c], xmm0
movd xmm0, dword [ebx + 0x38]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x18], xmm0
call edi
movss xmm2, dword [esp + 0x14]
movzx edx, word [ebx + 0x68]
mov ecx, dword [ebx + 0x34]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
divss xmm2, xmm0
movd xmm0, dword [ebx + 0x84]
cvtdq2ps xmm0, xmm0
mulss xmm2, xmm0
movd xmm0, dword [ebx + 0x3c]
cvtdq2ps xmm0, xmm0
divss xmm2, dword [esp + 0x10]
divss xmm0, dword [esp + 0x10]
movss dword [ebx + 0x7c], xmm2
movss dword [ebx + 0x78], xmm0
call fcn.00473f3b
movd xmm2, dword [ebx + 0x38]
mov ecx, ebx
push dword [ebx + 0x34]
cvtdq2ps xmm2, xmm2
mov dword [ebx + 0x80], eax
call fcn.00473e0f
mov ecx, dword [esp + 0x154]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004db457
mov esp, ebp
pop ebp
ret