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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x12c
mov esi, eax
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], ecx
cmp edx, 0x7f
jle 0x47b498
mov ecx, dword [eax + 0x74]
test ecx, ecx
jle 0x47b4a8
xor edi, edi
xor ebx, ebx
mov ebp, dword [esp + 0x28]
jmp 0x47b475
inc ebx
add edi, 0xc
cmp dword [esi + 0x74], ebx
jle 0x47b4a8
mov eax, dword [esi + 0x78]
add eax, edi
mov edx, ebp
call fcn.0047a8a0
test eax, eax
je 0x47b46c
add edi, dword [esi + 0x78]
mov eax, edi
add esp, 0x12c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edi, dword [eax + 0x78]
mov eax, edi
add esp, 0x12c
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [esp + 0x4c]
mov dword [esp], eax
mov eax, dword [0x67bad4]
call dword [eax + 0x1f0]
mov eax, dword [esi + 0x7c]
mov dword [esp], eax
call sub.USER32.dll_GetDC
push edx
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0x24]
mov dword [esp], eax
call fcn.00431cd8
mov dword [esp + 0x24], eax
call fcn.00431d2c
mov ebp, eax
mov eax, dword [eax]
lea edx, [ebp + 4]
mov dword [esp + 0x20], edx
test eax, eax
je 0x47b5f8
mov edi, dword [eax]
test edi, edi
je 0x47b5e0
mov dword [esp + 0x18], 4
mov eax, dword [esi + 0x24]
mov dword [esp + 4], eax
mov dword [esp], edi
call sub.msvcrt.dll__stricmp_1
test eax, eax
je 0x47b556
mov eax, dword [esp + 0x24]
test eax, eax
je 0x47b640
mov edx, dword [esp + 0x24]
mov eax, dword [edx]
test eax, eax
je 0x47b640
mov ebx, edx
add ebx, 4
jmp 0x47b546
add ebx, 4
mov eax, dword [ebx - 4]
test eax, eax
je 0x47b640
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.msvcrt.dll__stricmp_1
test eax, eax
jne 0x47b538
mov eax, dword [ebp]
mov ecx, dword [eax]
mov ebx, 4
test ecx, ecx
je 0x47b5e0
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
jmp 0x47b581
mov eax, dword [ebp]
mov ecx, dword [eax + ebx]
add ebx, 4
test ecx, ecx
je 0x47b5dc
mov dword [esp + 8], edi
lea eax, [esp + 0x4c]
mov dword [esp + 4], eax
mov dword [esp], esi
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
call fcn.0047b388
test eax, eax
je 0x47b574
mov edi, eax
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x4c]
mov dword [esp], edx
mov eax, dword [0x67bad4]
call dword [eax + 0x1e8]
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], eax
mov eax, dword [esi + 0x7c]
mov dword [esp], eax
call sub.USER32.dll_ReleaseDC
sub esp, 8
mov eax, edi
add esp, 0x12c
pop ebx
pop esi
pop edi
pop ebp
ret
mov esi, dword [esp + 0x18]
mov ebp, dword [esp + 0x20]
add dword [esp + 0x20], 4
mov edx, dword [esp + 0x20]
mov eax, dword [edx - 4]
test eax, eax
jne 0x47b4f1
call fcn.00431d34
mov ecx, dword [eax]
lea ebx, [eax + 4]
test ecx, ecx
je 0x47b65b
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
jmp 0x47b61a
add ebx, 4
mov ecx, dword [ebx - 4]
test ecx, ecx
je 0x47b65b
mov dword [esp + 8], edi
lea edx, [esp + 0x4c]
mov dword [esp + 4], edx
mov dword [esp], ebp
mov edx, esi
mov eax, dword [esp + 0x1c]
call fcn.0047b388
test eax, eax
je 0x47b610
mov edi, eax
jmp 0x47b5a7
mov eax, dword [ebp]
mov edx, dword [esp + 0x18]
mov edi, dword [eax + edx]
add edx, 4
mov dword [esp + 0x18], edx
test edi, edi
jne 0x47b503
jmp 0x47b5e0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], esi
lea edx, [esp + 0x4c]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], 0
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x48], eax
call fcn.004335ac
cmp eax, 2
je 0x47b716
lea eax, [esp + 0x34]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x47b9a8
mov dword [esp + 4], 0
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call sub.GDI32.dll_EnumFontFamiliesA
sub esp, 0x10
mov edi, dword [esp + 0x44]
lea edx, [esp + 0x4c]
mov dword [esp], edx
mov eax, dword [0x67bad4]
call dword [eax + 0x1e8]
test edi, edi
jne 0x47b5b9
mov edi, dword [esi + 0x78]
mov ecx, dword [esp + 0x28]
sar ecx, 0xa
lea ebx, [ecx*4]
mov eax, dword [edi]
mov edx, dword [eax + ebx]
test edx, edx
je 0x47b742
mov eax, dword [esp + 0x28]
and eax, 0x3ff
sar eax, 3
mov ecx, dword [esp + 0x28]
and ecx, 7
mov ebx, 1
shl ebx, cl
or byte [edx + eax], bl
jmp 0x47b5b9
lea eax, [esp + 0x34]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x47b9a8
mov dword [esp + 4], 0
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call sub.GDI32.dll_EnumFontFamiliesW
sub esp, 0x10
jmp 0x47b6bc
lea edx, [edi + 8]
mov eax, edi
call fcn.0047a6d0
mov eax, dword [edi]
mov edx, dword [eax + ebx]
jmp 0x47b6f4