Function at 0x47cc40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x54
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
cmp edi, ebx
mov ebp, edx
mov dword [esp + 0x28], ebp
mov dword [esp + 0x10], edi
je 0x47ccb2
cmp byte [edi], bl
je 0x47ccb2
cmp ebp, ebx
je 0x47ccb2
cmp byte [ebp], bl
je 0x47ccb2
mov eax, dword [0x5f92ec]
push eax
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
cmp esi, ebx
je 0x47ccb2
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
push ebp
push ebx
mov eax, dword [esp + 0x70]
push ebx
push ebx
push ebx
push ecx
push ebx
push ebx
push ebx
push edx
push ebx
push ebx
push ebx
neg eax
push eax
call dword [sym.imp.GDI32.dll_CreateFontA]
mov ebp, eax
cmp ebp, ebx
mov dword [esp + 0x18], ebp
jne 0x47ccbe
mov ecx, dword [0x5f92ec]
push esi
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x54
ret 0x18
push ebp
push esi
mov dword [esp + 0x2c], ebx
call dword [sym.imp.GDI32.dll_SelectObject]
mov dword [esp + 0x14], eax
mov al, byte [esp + 0x74]
test al, 0x10
je 0x47cda3
test al, 4
je 0x47cda3
test al, 8
jne 0x47cda3
cmp dword [0x5c00ec], ebx
jne 0x47cd02
mov ecx, dword [esp + 0x7c]
cmp ecx, ebx
je 0x47cd16
cmp dword [ecx + 0xa0c], ebx
je 0x47cd16
mov ecx, edi
call fcn.0055a130
cmp eax, 2
je 0x47cda3
mov al, byte [esp + 0x74]
xor edi, edi
test al, 1
je 0x47cd5f
mov edx, dword [esp + 0x10]
push ebx
push ebx
push ebx
push 0xffffffffffffffff
mov ecx, esi
call fcn.00510470
mov ebp, eax
test byte [esp + 0x74], 2
je 0x47cd57
mov edx, dword [esp + 0x10]
push 1
push ebx
push ebx
push 0xffffffffffffffff
mov ecx, esi
call fcn.00510470
movzx edi, ax
movzx edx, bp
mov ebp, dword [esp + 0x18]
shl edi, 0x10
or edi, edx
jmp 0x47cd76
mov edi, ebp
mov ebp, dword [esp + 0x18]
jmp 0x47cd76
test al, 2
je 0x47cd76
mov edx, dword [esp + 0x10]
push 1
push ebx
push ebx
push 0xffffffffffffffff
mov ecx, esi
call fcn.00510470
mov edi, eax
mov eax, dword [esp + 0x14]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push ebp
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [0x5f92ec]
push esi
push ecx
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0x18
cmp dword [0x5c00ec], ebx
jne 0x47cdb5
cmp dword [esp + 0x78], ebx
mov dword [esp + 0x20], ebx
je 0x47cdbd
mov dword [esp + 0x20], 1
mov eax, dword [0x5f6594]
cmp eax, ebx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x78], 0xffffffff
je 0x47cde1
mov edx, dword [esp + 0x70]
mov ecx, esi
call fcn.0048fb50
mov dword [esp + 0x78], eax
mov ecx, esi
call fcn.00510450
mov dword [esp + 0x3c], eax
mov eax, edi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x47cdf1
mov ecx, dword [esp + 0x7c]
sub eax, edx
mov dword [esp + 0x60], eax
mov dword [esp + 0x44], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x54], ebx
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x1c], ebx
or edi, 0xffffffff
call fcn.005612a0
test eax, eax
je 0x47ce48
mov edx, dword [esp + 0x7c]
mov edi, dword [edx + 0x71c]
push ebx
lea eax, [esp + 0x20]
push eax
xor edx, edx
mov ecx, esi
call fcn.0048de20
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x70]
mov eax, dword [esp + 0x68]
push ebp
push ecx
push edx
mov ecx, dword [esp + 0x78]
push eax
push ecx
mov eax, dword [esp + 0x88]
lea edx, [esp + 0x30]
push edx
push edi
push eax
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x48]
push edx
lea eax, [esp + 0x3c]
push eax
push ebx
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x68]
push edx
lea eax, [esp + 0x70]
push eax
push 0x270f
lea ecx, [esp + 0x7c]
push ecx
push esi
lea edx, [esp + 0x88]
push edx
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x98]
push ecx
lea edx, [esp + 0xa0]
push edx
lea eax, [esp + 0xa8]
push eax
lea ecx, [esp + 0xb0]
push ecx
mov ecx, dword [esp + 0x70]
lea edx, [esp + 0xb8]
push edx
lea eax, [esp + 0xc0]
push eax
push ecx
lea edx, [esp + 0x8c]
lea ecx, [esp + 0xcc]
call fcn.005106e0
mov edi, eax
mov eax, dword [esp + 0x78]
cmp eax, ebx
jl 0x47cf0f
push eax
call fcn.00594506
add esp, 4
mov edx, dword [esp + 0x14]
push edx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x24]
cmp eax, ebx
mov ebx, dword [sym.imp.GDI32.dll_DeleteObject]
je 0x47cf2c
push eax
call ebx
push ebp
call ebx
mov eax, dword [0x5f92ec]
push esi
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x54
ret 0x18