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

Disassembly:
push 0xffffffffffffffff
push 0x54d28e
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x60
push ebx
push ebp
push esi
push edi
mov ebx, ecx
xor ebp, ebp
push 0xd98f24
lea ecx, [esp + 0x64]
mov dword [esp + 0x7c], ebp
call fcn.00465590
push 0x1f8
mov byte [esp + 0x7c], 1
call fcn.00463aa0
add esp, 4
mov dword [esp + 0x14], eax
cmp eax, ebp
mov byte [esp + 0x78], 2
je 0x51c74c
mov ecx, eax
call fcn.0050e0a0
mov esi, eax
jmp 0x51c74e
xor esi, esi
mov eax, dword [ebx + 0x1cc]
lea edi, [ebx + 0x1cc]
cmp eax, ebp
mov byte [esp + 0x78], 1
mov dword [esp + 0x14], ebp
jne 0x51c770
push 0xa
mov ecx, edi
call fcn.004f8e20
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
cmp ecx, eax
jne 0x51c784
add eax, eax
mov ecx, edi
push eax
call fcn.004f8e20
mov ecx, dword [edi + 4]
mov edx, dword [edi]
mov ebp, 1
mov dword [edx + ecx*4], esi
mov edx, dword [edi + 4]
inc edx
push ebp
lea ecx, [esp + 0x64]
mov dword [edi + 4], edx
call fcn.00465fa0
mov eax, dword [ebx + 0x198]
test eax, eax
je 0x51c7b8
lea eax, [esp + 0x60]
mov ecx, esi
push eax
call fcn.00466bf0
fild dword [esp + 0x88]
mov ecx, dword [ebx + 0x204]
mov edx, dword [esi]
push str.verdana_12
push ebp
fstp dword [esp + 0x18]
mov eax, dword [esp + 0x18]
push 0x41c00000
push eax
push 0x40800000
push ecx
push ebx
mov ecx, esi
call dword [edx + 0x18]
push str.facfont_20
mov ecx, esi
call fcn.004f7550
mov edi, dword [esp + 0x80]
push ecx
mov eax, esp
mov dword [esi + 0x190], ebp
mov dword [esi + 0x194], ebp
mov dword [esp + 0x8c], esp
test edi, edi
mov dword [eax], edi
je 0x51c819
inc dword [edi + 4]
mov ecx, esi
call fcn.004f7260
mov eax, dword [esp + 0x84]
test eax, eax
je 0x51c833
mov dword [esi + 0x128], eax
jmp 0x51c84d
push ecx
mov eax, esp
mov dword [esp + 0x8c], esp
test edi, edi
mov dword [eax], edi
je 0x51c846
inc dword [edi + 4]
mov ecx, esi
call fcn.004f75d0
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x3c]
mov eax, dword [esi]
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
mov dword [esp + 0x24], 0x3f333333
mov dword [esp + 0x28], 0x3f19999a
mov dword [esp + 0x2c], 0x3d4ccccd
mov dword [esp + 0x30], 0x3f800000
call dword [eax + 0x20]
mov edx, dword [esi]
lea eax, [esp + 0x20]
push ebp
push eax
mov ecx, esi
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
call dword [edx + 0x1c]
mov ecx, dword [esp + 0x8c]
mov dword [esp + 0x88], 0
mov eax, dword [ecx + 4]
test eax, eax
jle 0x51caf9
lea ebp, [ebx + 0x1c0]
mov dword [esp + 0x84], 0x1c
push 0x200
call fcn.00463aa0
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
mov byte [esp + 0x78], 3
je 0x51c901
push ebx
mov ecx, eax
call fcn.0051e880
mov esi, eax
jmp 0x51c903
xor esi, esi
mov edx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x88]
mov eax, dword [edx]
mov edi, dword [eax + ecx*4]
lea eax, [eax + ecx*4]
test edi, edi
mov dword [esp + 0x18], edi
je 0x51c924
inc dword [edi + 4]
mov eax, dword [ebx + 0x198]
mov byte [esp + 0x78], 4
test eax, eax
je 0x51c93f
lea edx, [esp + 0x60]
mov ecx, esi
push edx
call fcn.00466bf0
mov ecx, dword [esp + 0x10]
mov edx, dword [ebx + 0x204]
fild dword [esp + 0x84]
mov eax, dword [esi]
push str.verdana_12
push 0
push 0x41800000
push ecx
push ecx
mov ecx, esi
fstp dword [esp]
push edx
push ebx
call dword [eax + 0x18]
push ecx
mov eax, esp
mov dword [esp + 0x20], esp
test edi, edi
mov dword [eax], edi
je 0x51c97a
inc dword [edi + 4]
mov ecx, esi
call fcn.004f7260
push ecx
mov eax, esp
mov dword [esp + 0x20], esp
test edi, edi
mov dword [eax], edi
je 0x51c991
inc dword [edi + 4]
mov ecx, esi
call fcn.004f75d0
mov eax, 1
mov ecx, esi
push eax
mov dword [esi + 0x190], eax
mov dword [esi + 0x194], eax
call fcn.004f6240
mov eax, dword [esp + 0x14]
xor eax, 1
mov dword [esp + 0x14], eax
je 0x51ca10
mov eax, dword [esi]
lea ecx, [esp + 0x20]
push ecx
mov ecx, esi
mov dword [esp + 0x24], 0x3d8f5c29
mov dword [esp + 0x28], 0x3d75c28f
mov dword [esp + 0x2c], 0x3ba3d70a
mov dword [esp + 0x30], 0x3f800000
call dword [eax + 0x20]
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
lea eax, [esp + 0x30]
jmp 0x51ca60
mov edx, dword [esi]
lea eax, [esp + 0x40]
push eax
mov ecx, esi
mov dword [esp + 0x44], 0x3e570a3d
mov dword [esp + 0x48], 0x3e3851ec
mov dword [esp + 0x4c], 0x3c75c28f
mov dword [esp + 0x50], 0x3f800000
call dword [edx + 0x20]
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
lea eax, [esp + 0x50]
mov edx, dword [esi]
push 1
mov ecx, esi
push eax
call dword [edx + 0x1c]
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x3c]
cmp dword [ebp], 0
jne 0x51ca8c
push 0x28
mov dword [ebp + 8], 0xa
call dword [sym.imp.system86ta.dll_MemoryMalloc]
add esp, 4
mov dword [ebp], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 4]
cmp ecx, eax
jne 0x51caa0
add eax, eax
mov ecx, ebp
push eax
call fcn.004f8e20
mov ecx, dword [ebp + 4]
mov edx, dword [ebp]
mov byte [esp + 0x78], 1
mov dword [edx + ecx*4], esi
mov ecx, dword [ebp + 4]
inc ecx
test edi, edi
mov dword [ebp + 4], ecx
je 0x51cac0
mov ecx, edi
call fcn.0047edc0
mov ecx, dword [esp + 0x8c]
mov eax, dword [esp + 0x88]
mov esi, dword [esp + 0x84]
inc eax
mov edx, dword [ecx + 4]
add esi, 0x10
cmp eax, edx
mov dword [esp + 0x88], eax
mov dword [esp + 0x84], esi
jl 0x51c8db
mov edi, dword [esp + 0x80]
fld dword [esp + 0x10]
mov ecx, dword [ebx + 0x1f8]
mov byte [esp + 0x78], 0
fadd dword [ebx + 0x204]
inc ecx
mov dword [ebx + 0x1f8], ecx
lea ecx, [esp + 0x60]
fstp dword [ebx + 0x204]
call fcn.004658e0
test edi, edi
mov dword [esp + 0x78], 0xffffffff
je 0x51cb37
mov ecx, edi
call fcn.0047edc0
mov ecx, dword [esp + 0x70]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x6c
ret 0x10