joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e4830
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x69b953
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x14], eax
push esi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esi], 0
mov dword [esp + 0x28], 0
lea ecx, [esi + 0x18]
call fcn.005001a0
mov byte [esp + 0x28], 1
mov ecx, dword [esi]
mov eax, dword [esp + 0x30]
mov dword [esi], eax
test ecx, ecx
je 0x4e4892
mov eax, dword [ecx]
push 1
call dword [eax]
lea eax, [esp + 0x18]
mov dword [esp + 0x14], 0x60
push eax
lea eax, [esp + 0x18]
mov dword [esp + 0x1c], 0x60
push eax
call fcn.004d6b30
mov ecx, eax
call fcn.004d67f0
push 0x60
push 0x64
push dword [esp + 0x1c]
call dword [sym.imp.KERNEL32.dll_MulDiv]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [0x6b8540]
movsd qword [esi + 0x10], xmm0
call fcn.004d6b30
mov ecx, eax
call fcn.004d6830
mov ecx, dword [esi]
sub esp, 0x10
fstp qword [esp + 0x1c]
movsd xmm0, qword [esp + 0x1c]
movsd qword [esi + 8], xmm0
mov edx, dword [ecx]
movsd qword [esp + 8], xmm0
movsd xmm0, qword [esi + 0x10]
movsd qword [esp], xmm0
call dword [edx + 0x50]
mov dword [esp + 0x28], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x14]
xor ecx, esp
call fcn.005472b9
add esp, 0x24
ret 4
Function at 0x4e9710
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x69c400
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x30], eax
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0xc], 0
mov edi, dword [esp + 0x54]
jne 0x4e9753
xor al, al
jmp 0x4e9886
xorps xmm0, xmm0
movdqu xmmword [esp + 0x2c], xmm0
mov dword [esp + 0x2c], vtable.RC::RCBuffer_unsigned_char_.0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x48], 0
xor eax, eax
push 3
mov dword [esp + 0x20], 0
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0
push 0x6b8948
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], 0
mov word [esp + 0x14], ax
call fcn.00409260
mov byte [esp + 0x48], 1
lea edx, [esp + 0xc]
mov ecx, dword [esi + 0xc]
push edx
lea edx, [esp + 0x30]
push edx
mov eax, dword [ecx]
push dword [esp + 0x58]
mov eax, dword [eax + 0x18]
call eax
mov byte [esp + 0x2b], al
mov byte [esp + 0x48], 0
cmp dword [esp + 0x20], 8
jb 0x4e97f8
push dword [esp + 0xc]
call fcn.005472b4
mov al, byte [esp + 0x2f]
add esp, 4
xor ecx, ecx
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], cx
test al, al
jne 0x4e9819
mov byte [esp + 0x2b], cl
jmp 0x4e9859
mov eax, dword [esp + 0x30]
mov ecx, esi
mov dword [esp + 0x24], eax
mov eax, dword [esi]
mov eax, dword [eax + 0x14]
call eax
mov esi, eax
test esi, esi
je 0x4e9850
mov edx, dword [esi]
mov ecx, esi
push dword [esp + 0x24]
push dword [esp + 0x38]
mov edx, dword [edx + 0xc]
call edx
test al, al
jne 0x4e9850
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax + 4]
xor esi, esi
test esi, esi
mov dword [edi], esi
setne byte [esp + 0x2b]
mov dword [esp + 0x48], 0xffffffff
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x2c], vtable.RC::RCBuffer_unsigned_char_.0
test ecx, ecx
je 0x4e9882
push ecx
call fcn.005ad770
add esp, 4
mov dword [esp + 0x34], 0
mov al, byte [esp + 0x2b]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.005472b9
add esp, 0x40
ret 8
Function at 0x4eb010
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x6a2c48
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [edi + 0x2c]
mov dword [esp + 0x14], esi
test esi, esi
je 0x4eb049
mov ecx, esi
call fcn.0042d0f0
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x30]
cmp dword [eax + 0x14], 8
jb 0x4eb05d
mov eax, dword [eax]
push eax
mov eax, dword [esp + 0x2c]
movzx eax, ax
push eax
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x4eb0ab
push ebx
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
test ebp, ebp
je 0x4eb0ab
push ebx
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4eb0ab
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x30], eax
test eax, eax
jne 0x4eb0e0
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor bl, bl
mov dword [esp + 0x20], 0xffffffff
test esi, esi
je 0x4eb0c8
mov ecx, esi
call fcn.0042d100
mov dword [esp + 0x14], 0
mov al, bl
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc
mov edi, dword [esp + 0x2c]
mov ecx, edi
push ebp
call fcn.00428da0
push ebp
push dword [esp + 0x34]
push dword [edi + 8]
call fcn.00549620
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov bl, 1
jmp 0x4eb0ad

Function at 0x4eb110
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x6a2c48
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, ecx
lea esi, [edi + 0x2c]
mov dword [esp + 0x14], esi
test esi, esi
je 0x4eb149
mov ecx, esi
call fcn.0042d0f0
mov dword [esp + 0x20], 0
mov eax, dword [esp + 0x28]
push 0x6b8f30
movzx eax, ax
push eax
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x4eb19f
push ebx
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
test ebp, ebp
je 0x4eb19f
push ebx
push dword [edi + 0x28]
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4eb19f
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x4eb1d4
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor bl, bl
mov dword [esp + 0x20], 0xffffffff
test esi, esi
je 0x4eb1bc
mov ecx, esi
call fcn.0042d100
mov dword [esp + 0x14], 0
mov al, bl
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
mov ecx, dword [esp + 0x2c]
push ebp
push eax
call fcn.004046e0
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov bl, 1
jmp 0x4eb1a1
Function at 0x4eb280
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x6a2c48
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
lea esi, [ecx + 0x2c]
mov dword [esp + 0x14], esi
test esi, esi
je 0x4eb2b7
mov ecx, esi
call fcn.0042d0f0
mov dword [esp + 0x20], 0
call fcn.004d6b30
mov ecx, eax
call fcn.004d6820
mov ecx, dword [esp + 0x30]
mov edi, eax
cmp dword [ecx + 0x14], 8
jb 0x4eb2d9
mov ecx, dword [ecx]
mov eax, dword [esp + 0x28]
push ecx
movzx eax, ax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x4eb321
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
test ebp, ebp
je 0x4eb321
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x4eb321
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esp + 0x30], eax
test eax, eax
jne 0x4eb356
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor bl, bl
mov dword [esp + 0x20], 0xffffffff
test esi, esi
je 0x4eb33e
mov ecx, esi
call fcn.0042d100
mov dword [esp + 0x14], 0
mov al, bl
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc
mov edi, dword [esp + 0x2c]
mov ecx, edi
push ebp
call fcn.00428da0
push ebp
push dword [esp + 0x34]
push dword [edi + 8]
call fcn.00549620
add esp, 0xc
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov bl, 1
jmp 0x4eb323

Function at 0x4eb380
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0xffffffffffffffff
push 0x6a2c48
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
lea esi, [ecx + 0x2c]
mov dword [esp + 0x14], esi
test esi, esi
je 0x4eb3b7
mov ecx, esi
call fcn.0042d0f0
mov dword [esp + 0x20], 0
call fcn.004d6b30
mov ecx, eax
call fcn.004d6820
mov ecx, dword [esp + 0x28]
mov edi, eax
push 0x6b8f30
movzx ecx, cx
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x4eb415
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebp, eax
test ebp, ebp
je 0x4eb415
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x4eb415
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x4eb44a
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor bl, bl
mov dword [esp + 0x20], 0xffffffff
test esi, esi
je 0x4eb432
mov ecx, esi
call fcn.0042d100
mov dword [esp + 0x14], 0
mov al, bl
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
mov ecx, dword [esp + 0x2c]
push ebp
push eax
call fcn.004046e0
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov bl, 1
jmp 0x4eb417
Function at 0x4eeb10
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x69edd3
mov eax, dword fs:[0]
push eax
sub esp, 0x10
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0xc], eax
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov dword [esp + 0x10], ecx
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
push eax
push edx
call dword [sym.imp.SHLWAPI.dll_SHCreateMemStream]
mov edi, eax
test edi, edi
je 0x4eebfa
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x24], 0
test esi, esi
je 0x4eebb3
xorps xmm0, xmm0
movdqu xmmword [esi], xmm0
mov dword [esi], vtable.Gdiplus::Image.0
mov byte [esp + 0x24], 1
lea eax, [esp + 0x14]
push eax
push edi
mov dword [esi], vtable.Gdiplus::Bitmap.0
mov dword [esp + 0x1c], 0
call sub.gdiplus.dll_GdipCreateBitmapFromStream
mov dword [esi + 8], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 4], eax
mov byte [esp + 0x24], 0
jmp 0x4eebb5
xor esi, esi
mov dword [esp + 0x24], 0xffffffff
test esi, esi
je 0x4eebf4
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 4]
test ecx, ecx
je 0x4eebdd
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [esp + 0x10]
mov dword [eax + 4], 0
mov dword [eax + 4], edi
mov ecx, dword [eax + 8]
mov dword [eax + 8], esi
test ecx, ecx
je 0x4eebf0
mov eax, dword [ecx]
push 1
call dword [eax]
mov al, 1
jmp 0x4eebfc
mov eax, dword [edi]
push edi
call dword [eax + 8]
xor al, al
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xc]
xor ecx, esp
call fcn.005472b9
add esp, 0x1c
ret 8

Function at 0x4eef60
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x69cfc0
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, dword [esp + 0x38]
lea ecx, [esp + 8]
mov dword [esp + 8], 0
call fcn.0042ec10
mov dword [esp + 0x30], 0
lea eax, [esp + 0xc]
push esi
push eax
call fcn.00428880
add esp, 8
mov byte [esp + 0x30], 1
lea eax, [esp + 0xc]
cmp dword [esp + 0x20], 0x10
lea ecx, [esp + 8]
push 0
cmovae eax, dword [esp + 0x10]
push eax
call fcn.0042ee20
test al, al
je 0x4eeff7
lea ecx, [esp + 8]
call fcn.0042ef30
test eax, eax
je 0x4eeff7
push eax
call fcn.004ef060
add esp, 4
mov esi, eax
jmp 0x4eeff9
xor esi, esi
mov byte [esp + 0x30], 0
cmp dword [esp + 0x20], 0x10
jb 0x4ef011
push dword [esp + 0xc]
call fcn.005472b4
add esp, 4
mov dword [esp + 0x20], 0xf
mov dword [esp + 0x1c], 0
mov byte [esp + 0xc], 0
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 8]
call fcn.0042ec90
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.005472b9
add esp, 0x2c
ret
Function at 0x4f2e90
Capabilities:
Read file on windows

Disassembly:
push dword [ecx + 4]
push dword [esp + 0xc]
push 1
push dword [esp + 0x10]
call fcn.0054874a
add esp, 0x10
ret 8
Function at 0x5013d0
Capabilities:
Access peb ldr_data
Get ntdll base address
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x69eef9
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push esi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esi], 0
mov dword [esp + 0x20], 0
lea ecx, [esi + 4]
lea eax, [esp + 0xb]
mov dword [esp + 0x10], ecx
push eax
mov dword [esp + 0x18], ecx
call fcn.004f3170
mov byte [esp + 0x20], 3
lea ecx, [esi + 0x18]
lea eax, [esp + 0xb]
mov dword [esp + 0x14], ecx
push eax
mov dword [esp + 0x14], ecx
call fcn.004f3170
mov byte [esp + 0x20], 6
lea ecx, [esi + 0x40]
mov dword [esi + 0x34], 0
mov word [esi + 0x38], 0
mov dword [esi + 0x3c], 0
call fcn.005001a0
mov byte [esp + 0x20], 7
movaps xmm0, xmmword [0x6b92f0]
movups xmmword [esi + 0xa0], xmm0
mov dword [esi + 0xb0], 0
mov dword [esi + 0xb4], 0
mov dword [esi + 0xb8], 0
mov dword [esi + 0xbc], 0
mov byte [esi + 0xc0], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esp + 0x20], 0xffffffff
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x1c
ret

Function at 0x501f80
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x69f0e3
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 8], eax
push esi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
movss xmm0, dword [esp + 0x30]
lea eax, [esp + 0xc]
push eax
push dword [esi + 4]
mov dword [esp + 0x14], 0
push dword [esp + 0x3c]
sub esp, 0x10
movss dword [esp + 0xc], xmm0
movss xmm0, dword [esp + 0x48]
movss dword [esp + 8], xmm0
movss xmm0, dword [esp + 0x44]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x40]
movss dword [esp], xmm0
call sub.gdiplus.dll_GdipCloneBitmapArea
test eax, eax
je 0x502007
mov dword [esi + 8], eax
xor eax, eax
jmp 0x502066
push 0x10
call sub.gdiplus.dll_GdipAlloc
mov esi, eax
mov dword [esp + 8], esi
mov dword [esp + 0x1c], 0
test esi, esi
je 0x50204d
xorps xmm0, xmm0
movdqu xmmword [esi], xmm0
mov eax, dword [esp + 0xc]
mov dword [esi], vtable.Gdiplus::Image.0
mov byte [esp + 0x1c], 1
mov dword [esi], vtable.Gdiplus::Bitmap.0
mov dword [esi + 8], 0
mov dword [esi + 4], eax
mov byte [esp + 0x1c], 0
jmp 0x50204f
xor esi, esi
mov dword [esp + 0x1c], 0xffffffff
test esi, esi
jne 0x502064
push dword [esp + 0xc]
call sub.gdiplus.dll_GdipDisposeImage
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 8]
xor ecx, esp
call fcn.005472b9
add esp, 0x18
ret 0x14
Function at 0x5046a0
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x69f388
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x10], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov ebp, ecx
mov eax, dword [ebp + 4]
xorps xmm0, xmm0
mov ecx, dword [esp + 0x44]
mov ebx, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
cmp byte [eax + 0x38], 0
mov esi, dword [esp + 0x40]
setne al
movq qword [esp + 0x14], xmm0
add al, 0xfe
mov dword [esp + 0x1c], 0
movzx edx, al
shl edx, 8
movzx eax, cl
or edx, eax
mov dword [esp + 0x14], vtable.Gdiplus::Brush.0
mov eax, ecx
shl edx, 8
shr eax, 8
movzx eax, al
or edx, eax
shr ecx, 0x10
shl edx, 8
movzx eax, cl
or edx, eax
mov dword [esp + 0x1c], 6
mov dword [esp + 0x30], 0
lea eax, [esp + 0x20]
push eax
push edx
mov dword [esp + 0x1c], vtable.Gdiplus::SolidBrush.0
mov dword [esp + 0x28], 0
call sub.gdiplus.dll_GdipCreateSolidFill
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x18], eax
mov dword [esp + 0x30], 1
lea eax, [esp + 0x14]
push dword [esp + 0x4c]
mov ecx, ebp
push dword [esp + 0x4c]
push eax
push esi
push edi
push ebx
call fcn.005047f0
mov dword [esp + 0x30], 0xffffffff
push dword [esp + 0x18]
mov dword [esp + 0x18], vtable.Gdiplus::Brush.0
call sub.gdiplus.dll_GdipDeleteBrush
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x10]
xor ecx, esp
call fcn.005472b9
add esp, 0x20
ret 0x18
Function at 0x5053e0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x69f468
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x18], eax
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov esi, dword [esp + 0x38]
xorps xmm0, xmm0
movq qword [esp + 0x1c], xmm0
mov dword [esp + 0xc], esi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x30], 0
lea eax, [esp + 0x1c]
push eax
push dword [esi]
call sub.gdiplus.dll_GdipGetFamily
test eax, eax
je 0x50548a
mov dword [esp + 0x20], eax
mov dword [esi + 4], eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x30], 0xffffffff
push dword [esp + 0x1c]
call sub.gdiplus.dll_GdipDeleteFontFamily
fld dword [esp + 0xc]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.005472b9
add esp, 0x28
ret
lea eax, [esp + 0x10]
push eax
push dword [esi]
call sub.gdiplus.dll_GdipGetFontStyle
test eax, eax
je 0x50549d
mov dword [esi + 4], eax
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push edi
push dword [esp + 0x24]
call sub.gdiplus.dll_GdipGetEmHeight
movzx esi, word [esp + 0x14]
test eax, eax
mov ecx, dword [esp + 0x20]
xorps xmm1, xmm1
cmovne ecx, eax
mov dword [esp + 0x20], ecx
movd xmm0, esi
cvtdq2ps xmm0, xmm0
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x505450
lea eax, [esp + 0x14]
push eax
push edi
push dword [esp + 0x24]
call sub.gdiplus.dll_GdipGetCellAscent
mov ecx, dword [esp + 0x20]
test eax, eax
movzx edi, word [esp + 0x14]
cmovne ecx, eax
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x14]
mov dword [esp + 0x28], ecx
push dword [esp + 0x24]
call sub.gdiplus.dll_GdipGetCellDescent
mov ecx, dword [esp + 0x20]
test eax, eax
cmovne ecx, eax
movzx eax, word [esp + 0x18]
mov dword [esp + 0x20], ecx
movd xmm1, eax
mov eax, edi
cvtdq2ps xmm1, xmm1
movd xmm0, eax
lea eax, [esp + 0x18]
cvtdq2ps xmm0, xmm0
push eax
push dword [esp + 0x14]
addss xmm1, xmm0
push dword [esp + 0x24]
movss dword [esp + 0x20], xmm1
call sub.gdiplus.dll_GdipGetLineSpacing
movzx edi, word [esp + 0x18]
test eax, eax
mov ecx, dword [esp + 0x20]
movss xmm1, dword [esp + 0x14]
cmovne ecx, eax
mov dword [esp + 0x20], ecx
movd xmm0, edi
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
jae 0x505450
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x10]
push dword [eax]
call sub.gdiplus.dll_GdipGetFontSize
mov ecx, eax
test ecx, ecx
je 0x50558f
mov eax, dword [esp + 0xc]
mov dword [eax + 4], ecx
movss xmm0, dword [esp + 0x10]
cvtps2pd xmm0, xmm0
movd xmm1, edi
andpd xmm0, xmmword [0x6b8930]
cvtdq2ps xmm1, xmm1
cvtpd2ps xmm0, xmm0
subss xmm1, dword [esp + 0x14]
mulss xmm0, xmm1
movd xmm1, esi
cvtdq2ps xmm1, xmm1
divss xmm0, xmm1
movss dword [esp + 0xc], xmm0
jmp 0x505458
Function at 0x505660
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x69f498
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [0x73d6e0]
xor eax, esp
mov dword [esp + 0x18], eax
push esi
push edi
mov eax, dword [0x73d6e0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, dword [esp + 0x38]
xorps xmm0, xmm0
movq qword [esp + 0x18], xmm0
mov dword [esp + 0xc], edi
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x30], 0
lea eax, [esp + 0x18]
push eax
push dword [edi]
call sub.gdiplus.dll_GdipGetFamily
test eax, eax
je 0x5056dd
mov dword [esp + 0x1c], eax
mov dword [edi + 4], eax
mov dword [esp + 0xc], 0
jmp 0x5057e2
lea eax, [esp + 0x14]
push eax
push dword [edi]
call sub.gdiplus.dll_GdipGetFontStyle
test eax, eax
je 0x5056f0
mov dword [edi + 4], eax
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x18]
push dword [esp + 0x20]
call sub.gdiplus.dll_GdipGetEmHeight
movzx esi, word [esp + 0x20]
test eax, eax
mov ecx, dword [esp + 0x1c]
xorps xmm0, xmm0
cmovne ecx, eax
mov dword [esp + 0x1c], ecx
movd xmm1, esi
cvtdq2ps xmm1, xmm1
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x505734
mov dword [esp + 0xc], 0
jmp 0x5057e2
lea eax, [esp + 0x14]
push eax
push dword [edi]
call sub.gdiplus.dll_GdipGetFontStyle
test eax, eax
je 0x505747
mov dword [edi + 4], eax
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x18]
push dword [esp + 0x20]
call sub.gdiplus.dll_GdipGetLineSpacing
mov ecx, dword [esp + 0x1c]
test eax, eax
movzx edi, word [esp + 0x20]
cmovne ecx, eax
lea eax, [esp + 0x14]
push eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x20], ecx
push dword [eax]
call sub.gdiplus.dll_GdipGetFontSize
mov ecx, eax
test ecx, ecx
je 0x505788
mov eax, dword [esp + 0xc]
mov dword [eax + 4], ecx
movss xmm0, dword [esp + 0x14]
sub esp, 8
cvtps2pd xmm0, xmm0
movd xmm1, edi
andpd xmm0, xmmword [0x6b8930]
cvtpd2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm1
movd xmm1, esi
cvtdq2ps xmm1, xmm1
divss xmm0, xmm1
cvtps2pd xmm0, xmm0
movsd qword [esp + 0x18], xmm0
fld qword [esp + 0x18]
fstp qword [esp]
call fcn.005514a0
fstp qword [esp + 0x18]
movsd xmm0, qword [esp + 0x18]
add esp, 8
cvtpd2ps xmm0, xmm0
movss dword [esp + 0xc], xmm0
mov dword [esp + 0x30], 0xffffffff
push dword [esp + 0x18]
call sub.gdiplus.dll_GdipDeleteFontFamily
fld dword [esp + 0xc]
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x18]
xor ecx, esp
call fcn.005472b9
add esp, 0x28
ret