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

Disassembly:
sub esp, 0xbc
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov eax, dword [esi + 0x48]
cmp eax, ebx
je 0x437097
cmp dword [0x7c5370], ebx
je 0x437097
mov ecx, dword [esp + 0xcc]
mov ecx, dword [ecx + 8]
cmp ecx, ebx
mov dword [esp + 0x54], ecx
je 0x437097
push ebp
push edi
lea ecx, [esp + 0x10]
push ebx
push ecx
mov dword [esp + 0x18], ebx
mov edx, dword [eax]
push ebx
push ebx
push eax
mov dword [esp + 0x50], ebx
call dword [edx + 0x2c]
mov dl, byte [0x7c4d88]
xor ebp, ebp
or edi, 0xffffffff
mov ecx, esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x30], ebx
mov byte [esp + 0x28], dl
mov word [esp + 0x29], bx
mov dword [esi + 0x68], edi
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
call fcn.00435aa0
push eax
mov eax, dword [0x7c5370]
push eax
call dword [sym.imp.gdi32.dll_SelectObject]
cmp dword [esp + 0x5c], ebx
jle 0x437067
mov ecx, dword [esp + 0xd0]
mov dword [esp + 0x2c], ecx
mov edx, dword [esp + 0xd4]
mov eax, dword [edx + 4]
cmp eax, ebx
jne 0x436786
mov edx, dword [esp + 0x30]
mov ecx, 0x765608
jmp 0x43678d
mov edx, dword [esp + 0x30]
lea ecx, [eax + edx]
cmp byte [ecx], 0xa
jne 0x436a5f
mov eax, dword [esp + 0x14]
inc edx
cmp eax, ebp
mov dword [esp + 0x30], edx
je 0x436a39
mov ecx, dword [esi + 0x4c]
mov dword [esp + 0xb0], ebx
mov dword [esp + 0xac], ecx
mov ecx, dword [esi + 0x50]
fild qword [esp + 0xac]
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], ebx
mov dword [esp + 0x7c], ecx
mov ecx, dword [esp + 0x48]
fstp dword [esp + 0x1c]
fild qword [esp + 0xb4]
mov dword [esp + 0x80], ebx
mov dword [esp + 0xbc], ecx
mov dword [esp + 0xc0], ebx
mov ecx, dword [esp + 0x2c]
fdiv dword [esp + 0x1c]
mov dword [esp + 0x8c], ebp
mov dword [esp + 0x90], ebx
mov dword [esp + 0x6c], ecx
mov dword [esp + 0x70], ebx
cmp dword [esp + 0x3c], 0x12a
fild qword [esp + 0x7c]
fstp dword [esp + 0x18]
fild qword [esp + 0xbc]
fdiv dword [esp + 0x18]
fstp dword [esp + 0x20]
fild qword [esp + 0x8c]
fdiv dword [esp + 0x1c]
fild qword [esp + 0x6c]
fdiv dword [esp + 0x18]
fstp dword [esp + 0x24]
jae 0x4370ab
fld dword [esp + 0x44]
fsub dword [0x765810]
fld st(1)
fsub st(3)
mov eax, dword [esp + 0x10]
fmul dword [esp + 0x1c]
fdiv dword [esi + 0x54]
fadd dword [esp + 0x44]
fsub dword [0x765810]
fstp dword [esp + 0x14]
fld dword [esp + 0x40]
fsub dword [0x765810]
fstp dword [esp + 0x1c]
fld dword [esp + 0x24]
fsub dword [esp + 0x20]
fmul dword [esp + 0x18]
fdiv dword [esi + 0x54]
fadd dword [esp + 0x40]
fsub dword [0x765810]
fstp dword [esp + 0x18]
fld dword [0x765fb4]
fld dword [0x765fb0]
fld st(2)
mov ecx, dword [esp + 0x18]
mov dword [eax + 0x10], edi
fstp dword [eax]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x24]
fstp dword [eax + 8]
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x1c]
fstp dword [eax + 0xc]
fld st(2)
fstp dword [eax + 0x14]
fld dword [0x765fb4]
mov eax, dword [esp + 0x10]
fld dword [0x765fb0]
add eax, 0x1c
fld st(2)
mov dword [esp + 0x10], eax
mov dword [eax + 4], ecx
fstp dword [eax]
mov ecx, dword [esp + 0x20]
mov dword [eax + 0x10], edi
fstp dword [eax + 8]
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x14]
fstp dword [eax + 0xc]
fld st(2)
fstp dword [eax + 0x14]
mov eax, dword [esp + 0x10]
fld dword [0x765fb4]
fld dword [0x765fb0]
add eax, 0x1c
mov dword [esp + 0x10], eax
fstp dword [eax + 8]
mov dword [eax], ecx
mov ecx, dword [esp + 0x18]
fstp dword [eax + 0xc]
fld st(1)
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x24]
fstp dword [eax + 0x14]
mov dword [eax + 0x10], edi
mov dword [eax + 0x18], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
fld dword [0x765fb4]
fld dword [0x765fb0]
add eax, 0x1c
mov dword [esp + 0x10], eax
fstp dword [eax + 8]
mov dword [eax], ecx
mov ecx, dword [esp + 0x1c]
fstp dword [eax + 0xc]
mov dword [eax + 4], ecx
mov dword [eax + 0x10], edi
mov ecx, dword [esp + 0x20]
fld st(1)
mov dword [eax + 0x18], ecx
mov ecx, dword [esp + 0x14]
fstp dword [eax + 0x14]
mov eax, dword [esp + 0x10]
fld dword [0x765fb4]
fld dword [0x765fb0]
add eax, 0x1c
mov dword [esp + 0x10], eax
fstp dword [eax + 8]
mov dword [eax], ecx
mov ecx, dword [esp + 0x18]
fstp dword [eax + 0xc]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x24]
fxch st(1)
fstp dword [eax + 0x14]
mov dword [eax + 0x10], edi
mov dword [eax + 0x18], ecx
mov ecx, dword [0x765fb4]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x64], ecx
mov ecx, dword [0x765fb0]
add eax, 0x1c
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
fstp dword [eax]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x60]
fstp dword [eax + 0x14]
fld dword [esp + 0x4c]
fcomp dword [esp + 0x14]
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x64]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x20]
mov dword [eax + 0x10], edi
mov dword [eax + 0x18], ecx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x10]
add eax, 2
add ecx, 0x1c
mov dword [esp + 0x3c], eax
mov dword [esp + 0x10], ecx
fnstsw ax
test ah, 1
je 0x436a22
mov eax, dword [esp + 0x14]
mov dword [esp + 0x4c], eax
fld dword [esp + 0x50]
fcomp dword [esp + 0x18]
fnstsw ax
test ah, 1
je 0x436a39
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x50], ecx
fild dword [esp + 0xd0]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x44], 0
fdiv dword [esi + 0x54]
fadd dword [esp + 0x40]
fiadd dword [esi + 0x78]
fstp dword [esp + 0x40]
jmp 0x436e09
cmp eax, ebx
mov ecx, 0x765608
je 0x436a6b
lea ecx, [eax + edx]
test byte [ecx], 0x80
je 0x436a92
cmp eax, ebx
jne 0x436a7b
mov eax, 0x765608
jmp 0x436a7d
add eax, edx
mov ax, word [eax]
add edx, 2
mov word [esp + 0x28], ax
mov dword [esp + 0x30], edx
mov byte [esp + 0x2a], bl
jmp 0x436aae
cmp eax, ebx
jne 0x436a9d
mov eax, 0x765608
jmp 0x436a9f
add eax, edx
mov cl, byte [eax]
inc edx
mov byte [esp + 0x28], cl
mov dword [esp + 0x30], edx
mov byte [esp + 0x29], bl
lea edx, [esp + 0xc4]
lea eax, [esp + 0x28]
push edx
push eax
call dword [sym.imp.kernel32.dll_lstrlenA]
mov edx, dword [0x7c5370]
lea ecx, [esp + 0x2c]
push eax
push ecx
push edx
call dword [sym.imp.gdi32.dll_GetTextExtentPoint32A]
mov ecx, dword [esp + 0xc4]
mov eax, dword [esi + 0x4c]
add ecx, ebp
cmp ecx, eax
jbe 0x436dd5
mov ecx, dword [esp + 0x14]
cmp ecx, ebp
je 0x436db4
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], ebx
fild qword [esp + 0x9c]
mov edx, dword [esi + 0x50]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], ebx
mov eax, dword [esp + 0x48]
fstp dword [esp + 0x1c]
fild qword [esp + 0x74]
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], ebx
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], ebx
fdiv dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0xa4], ebp
mov dword [esp + 0xa8], ebx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x3c]
cmp eax, 0x12a
fild qword [esp + 0x84]
fstp dword [esp + 0x18]
fild qword [esp + 0x94]
fdiv dword [esp + 0x18]
fstp dword [esp + 0x24]
fild qword [esp + 0xa4]
fdiv dword [esp + 0x1c]
fild qword [esp + 0x34]
fdiv dword [esp + 0x18]
fstp dword [esp + 0x20]
fld st(0)
fsub st(2)
fmul dword [esp + 0x1c]
fdiv dword [esi + 0x54]
fstp dword [esp + 0x54]
jae 0x4370a2
fld dword [esp + 0x44]
fsub dword [0x765810]
fld dword [esp + 0x54]
fadd dword [esp + 0x44]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
fst dword [esp + 0x54]
fsub dword [0x765810]
fstp dword [esp + 0x14]
fld dword [esp + 0x40]
fsub dword [0x765810]
fstp dword [esp + 0x1c]
fld dword [esp + 0x20]
fsub dword [esp + 0x24]
fmul dword [esp + 0x18]
fdiv dword [esi + 0x54]
fadd dword [esp + 0x40]
fsub dword [0x765810]
fstp dword [esp + 0x18]
fld dword [0x765fb4]
fld dword [0x765fb0]
fld st(2)
mov edx, dword [esp + 0x18]
mov dword [eax + 0x10], edi
fstp dword [eax]
mov dword [eax + 4], edx
mov dword [eax + 0x18], ecx
fstp dword [eax + 8]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
fstp dword [eax + 0xc]
fld st(2)
fstp dword [eax + 0x14]
fld dword [0x765fb4]
mov eax, dword [esp + 0x10]
fld dword [0x765fb0]
add eax, 0x1c
fld st(2)
mov dword [esp + 0x10], eax
mov dword [eax + 4], edx
fstp dword [eax]
mov dword [eax + 0x10], edi
mov dword [eax + 0x18], ecx
fstp dword [eax + 8]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
fstp dword [eax + 0xc]
fld st(2)
fstp dword [eax + 0x14]
mov eax, dword [esp + 0x10]
fld dword [0x765fb4]
fld dword [0x765fb0]
add eax, 0x1c
mov dword [esp + 0x10], eax
fstp dword [eax + 8]
mov dword [eax], edx
mov edx, dword [esp + 0x20]
fstp dword [eax + 0xc]
fld st(1)
mov dword [eax + 4], ecx
mov dword [eax + 0x10], edi
fstp dword [eax + 0x14]
mov dword [eax + 0x18], edx
mov eax, dword [esp + 0x10]
fld dword [0x765fb4]
fld dword [0x765fb0]
mov ecx, dword [esp + 0x14]
add eax, 0x1c
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
fstp dword [eax + 8]
mov dword [eax], ecx
mov ecx, dword [esp + 0x24]
fstp dword [eax + 0xc]
fld st(1)
mov dword [eax + 4], edx
mov dword [eax + 0x10], edi
fstp dword [eax + 0x14]
mov dword [eax + 0x18], ecx
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
fld dword [0x765fb4]
fld dword [0x765fb0]
mov ecx, dword [esp + 0x18]
add eax, 0x1c
mov dword [esp + 0x10], eax
fstp dword [eax + 8]
mov dword [eax], edx
mov edx, dword [esp + 0x20]
fstp dword [eax + 0xc]
fxch st(1)
fstp dword [eax + 0x14]
mov dword [eax + 4], ecx
mov dword [eax + 0x10], edi
mov dword [eax + 0x18], edx
mov eax, dword [esp + 0x10]
mov ecx, dword [0x765fb4]
mov edx, dword [0x765fb0]
add eax, 0x1c
mov dword [esp + 0x58], ecx
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x10], eax
fstp dword [eax]
mov dword [esp + 0x68], edx
mov dword [eax + 4], ecx
fstp dword [eax + 0x14]
mov ecx, dword [esp + 0x58]
mov dword [eax + 8], edx
mov edx, dword [esp + 0x24]
mov dword [eax + 0xc], ecx
fld dword [esp + 0x4c]
fcomp dword [esp + 0x14]
mov dword [eax + 0x10], edi
mov dword [eax + 0x18], edx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x10]
add eax, 2
add ecx, 0x1c
mov dword [esp + 0x3c], eax
mov dword [esp + 0x10], ecx
fnstsw ax
test ah, 1
je 0x436d72
mov eax, dword [esp + 0x14]
mov dword [esp + 0x4c], eax
fld dword [esp + 0x50]
fcomp dword [esp + 0x18]
fnstsw ax
test ah, 1
je 0x436d89
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x50], ecx
mov eax, dword [esp + 0xd0]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x2c]
add edx, eax
xor ebp, ebp
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x54]
add ecx, eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x44], edx
jmp 0x436dd5
mov eax, dword [esp + 0xd0]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x2c]
xor ebp, ebp
add edx, eax
add ecx, eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x48], edx
mov dword [esp + 0x2c], ecx
lea eax, [esp + 0x28]
push ebx
push eax
call dword [sym.imp.kernel32.dll_lstrlenA]
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0x2c]
push eax
mov eax, dword [0x7c5370]
push ecx
push ebx
push 2
push edx
push ebp
push eax
call dword [sym.imp.gdi32.dll_ExtTextOutA]
mov eax, dword [esp + 0xc4]
mov edx, dword [esp + 0x30]
add ebp, eax
cmp edx, dword [esp + 0x5c]
jl 0x43676d
mov eax, dword [esp + 0x14]
cmp eax, ebp
je 0x437067
mov ecx, dword [esi + 0x4c]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ecx
mov edx, dword [esi + 0x50]
fild qword [esp + 0x34]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0xd0]
fstp dword [esp + 0x1c]
fild qword [esp + 0x34]
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], ebx
fdiv dword [esp + 0x1c]
fild qword [esp + 0x34]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ebx
add eax, ecx
fstp dword [esp + 0x18]
fild qword [esp + 0x34]
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebx
fdiv dword [esp + 0x18]
fstp dword [esp + 0x20]
fild qword [esp + 0x34]
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ebx
mov eax, dword [esp + 0x10]
fdiv dword [esp + 0x1c]
fild qword [esp + 0x34]
fdiv dword [esp + 0x18]
fst dword [esp + 0x58]
fld dword [esp + 0x44]
fsub dword [0x765810]
fstp dword [esp + 0x24]
fld st(1)
fsub st(3)
mov edx, dword [esp + 0x24]
fmul dword [esp + 0x1c]
fdiv dword [esi + 0x54]
fadd dword [esp + 0x44]
fsub dword [0x765810]
fstp dword [esp + 0x30]
fld dword [esp + 0x40]
fsub dword [0x765810]
fstp dword [esp + 0x14]
fld st(0)
fsub dword [esp + 0x20]
fmul dword [esp + 0x18]
fdiv dword [esi + 0x54]
fadd dword [esp + 0x40]
fsub dword [0x765810]
fstp dword [esp + 0x2c]
fld dword [0x765fb4]
fld dword [0x765fb0]
mov ecx, dword [esp + 0x2c]
mov dword [eax], edx
fstp dword [eax + 8]
mov dword [eax + 4], ecx
mov ecx, dword [esp + 0x14]
fstp dword [eax + 0xc]
fld st(2)
mov dword [eax + 0x10], edi
fstp dword [eax + 0x14]
fst dword [eax + 0x18]
mov eax, dword [esp + 0x10]
fld dword [0x765fb4]
fld dword [0x765fb0]
add eax, 0x1c
mov dword [esp + 0x10], eax
fstp dword [eax + 8]
mov dword [eax], edx
mov dword [eax + 4], ecx
fstp dword [eax + 0xc]
mov edx, dword [esp + 0x20]
mov dword [eax + 0x10], edi
fld st(2)
mov dword [eax + 0x18], edx
mov ecx, dword [esp + 0x30]
fstp dword [eax + 0x14]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x2c]
fld dword [0x765fb4]
fld dword [0x765fb0]
add eax, 0x1c
mov dword [esp + 0x10], eax
fstp dword [eax + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
fstp dword [eax + 0xc]
fld st(1)
mov dword [eax + 0x10], edi
mov edx, dword [esp + 0x14]
fstp dword [eax + 0x14]
fstp dword [eax + 0x18]
mov eax, dword [esp + 0x10]
fld dword [0x765fb4]
fld dword [0x765fb0]
add eax, 0x1c
mov dword [esp + 0x10], eax
fstp dword [eax + 8]
mov dword [eax], ecx
mov ecx, dword [esp + 0x20]
fstp dword [eax + 0xc]
mov dword [eax + 4], edx
mov dword [eax + 0x10], edi
fst dword [eax + 0x14]
mov dword [eax + 0x18], ecx
mov eax, dword [esp + 0x10]
fld dword [0x765fb4]
fld dword [0x765fb0]
mov edx, dword [esp + 0x30]
add eax, 0x1c
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x10], eax
fstp dword [eax + 8]
mov dword [eax], edx
mov edx, dword [esp + 0x58]
fstp dword [eax + 0xc]
mov dword [eax + 4], ecx
mov dword [eax + 0x10], edi
fstp dword [eax + 0x14]
mov dword [eax + 0x18], edx
mov eax, dword [esp + 0x10]
fld dword [0x765fb4]
fld dword [0x765fb0]
mov ecx, dword [esp + 0x24]
add eax, 0x1c
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x14]
fstp dword [eax + 8]
mov dword [eax], ecx
mov ecx, dword [esp + 0x20]
fstp dword [eax + 0xc]
mov dword [eax + 4], edx
mov dword [eax + 0x10], edi
fstp dword [eax + 0x14]
fld dword [esp + 0x4c]
fcomp dword [esp + 0x30]
mov dword [eax + 0x18], ecx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x10]
add eax, 2
mov dword [esp + 0x3c], eax
add ecx, 0x1c
fnstsw ax
mov dword [esp + 0x10], ecx
test ah, 1
je 0x437050
mov edx, dword [esp + 0x30]
mov dword [esp + 0x4c], edx
fld dword [esp + 0x50]
fcomp dword [esp + 0x2c]
fnstsw ax
test ah, 1
je 0x437067
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x50], eax
mov eax, dword [esi + 0x48]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov edx, dword [esp + 0x3c]
mov dword [esi + 0x64], ebx
fld dword [esp + 0x4c]
mov dword [esi + 0x5c], edx
mov dword [esi + 0x60], ebx
call fcn.00726fd0
fld dword [esp + 0x50]
mov dword [esi + 0x70], eax
call fcn.00726fd0
pop edi
mov dword [esi + 0x74], eax
pop ebp
pop esi
pop ebx
add esp, 0xbc
ret 8
fstp st(0)
fstp st(0)
jmp 0x436e13
fstp st(0)
fstp st(0)
jmp 0x436e17