Function at 0x47be74
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 0x47becc
mov ecx, dword [eax + 0x74]
test ecx, ecx
jle 0x47bedc
xor edi, edi
xor ebx, ebx
mov ebp, dword [esp + 0x28]
jmp 0x47bea9
inc ebx
add edi, 0xc
cmp dword [esi + 0x74], ebx
jle 0x47bedc
mov eax, dword [esi + 0x78]
add eax, edi
mov edx, ebp
call fcn.0047b2d4
test eax, eax
je 0x47bea0
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 [0x68bb7c]
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.00432644
mov dword [esp + 0x24], eax
call fcn.00432698
mov ebp, eax
mov eax, dword [eax]
lea edx, [ebp + 4]
mov dword [esp + 0x20], edx
test eax, eax
je 0x47c02c
mov edi, dword [eax]
test edi, edi
je 0x47c014
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 0x47bf8a
mov eax, dword [esp + 0x24]
test eax, eax
je 0x47c074
mov edx, dword [esp + 0x24]
mov eax, dword [edx]
test eax, eax
je 0x47c074
mov ebx, edx
add ebx, 4
jmp 0x47bf7a
add ebx, 4
mov eax, dword [ebx - 4]
test eax, eax
je 0x47c074
mov dword [esp + 4], edi
mov dword [esp], eax
call sub.msvcrt.dll__stricmp_1
test eax, eax
jne 0x47bf6c
mov eax, dword [ebp]
mov ecx, dword [eax]
mov ebx, 4
test ecx, ecx
je 0x47c014
mov dword [esp + 0x18], esi
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
jmp 0x47bfb5
mov eax, dword [ebp]
mov ecx, dword [eax + ebx]
add ebx, 4
test ecx, ecx
je 0x47c010
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.0047bdbc
test eax, eax
je 0x47bfa8
mov edi, eax
mov esi, dword [esp + 0x18]
lea edx, [esp + 0x4c]
mov dword [esp], edx
mov eax, dword [0x68bb7c]
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 0x47bf25
call fcn.004326a0
mov ecx, dword [eax]
lea ebx, [eax + 4]
test ecx, ecx
je 0x47c08f
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
jmp 0x47c04e
add ebx, 4
mov ecx, dword [ebx - 4]
test ecx, ecx
je 0x47c08f
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.0047bdbc
test eax, eax
je 0x47c044
mov edi, eax
jmp 0x47bfdb
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 0x47bf37
jmp 0x47c014
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.00433f18
cmp eax, 2
je 0x47c14a
lea eax, [esp + 0x34]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x47c3dc
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 [0x68bb7c]
call dword [eax + 0x1e8]
test edi, edi
jne 0x47bfed
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 0x47c176
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 0x47bfed
lea eax, [esp + 0x34]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x47c3dc
mov dword [esp + 4], 0
mov eax, dword [esp + 0x1c]
mov dword [esp], eax
call sub.GDI32.dll_EnumFontFamiliesW
sub esp, 0x10
jmp 0x47c0f0
lea edx, [edi + 8]
mov eax, edi
call fcn.0047b104
mov eax, dword [edi]
mov edx, dword [eax + ebx]
jmp 0x47c128