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

Disassembly:
mov eax, 0x1cc8
call fcn.00727710
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x48], ebx
je 0x437ace
cmp dword [0x7c5370], ebx
je 0x437ace
mov eax, dword [esp + 0x1cd8]
push ebp
lea edx, [esp + 0xb4]
xor ebp, ebp
mov ecx, dword [eax + 8]
mov al, byte [0x7c4d88]
mov dword [esp + 0x44], ecx
push edi
mov ecx, esi
mov dword [esp + 0x10], edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x14], ebx
xor edi, edi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x44], ebx
mov byte [esp + 0x2c], al
mov word [esp + 0x2d], bx
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebp
call fcn.00435aa0
mov ecx, dword [0x7c5370]
push eax
push ecx
call dword [sym.imp.gdi32.dll_SelectObject]
cmp dword [esp + 0x48], ebx
jle 0x43794b
mov edx, dword [esp + 0x1cdc]
mov dword [esp + 0x54], edx
mov eax, dword [esp + 0x1ce0]
mov eax, dword [eax + 4]
cmp eax, ebx
jne 0x437171
mov ecx, 0x765608
jmp 0x437177
mov ecx, dword [esp + 0x44]
add ecx, eax
cmp byte [ecx], 0xa
jne 0x4373ed
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x14]
inc edx
cmp eax, edi
mov dword [esp + 0x44], edx
je 0x4373ca
mov edx, dword [esi + 0x4c]
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], edx
mov ecx, dword [esi + 0x50]
fild qword [esp + 0x60]
mov dword [esp + 0x98], eax
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], ebx
fstp dword [esp + 0x14]
fild qword [esp + 0x98]
mov dword [esp + 0x70], ebp
mov dword [esp + 0x74], ebx
mov edx, dword [esp + 0x54]
mov dword [esp + 0xb0], edi
fdiv dword [esp + 0x14]
mov dword [esp + 0xb4], ebx
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], ebx
mov ecx, dword [esp + 0x3c]
cmp ecx, 0x12a
fild qword [esp + 0xa8]
fstp dword [esp + 0x38]
fild qword [esp + 0x70]
fdiv dword [esp + 0x38]
fstp dword [esp + 0x28]
fild qword [esp + 0xb0]
fdiv dword [esp + 0x14]
fild qword [esp + 0x80]
fdiv dword [esp + 0x38]
fstp dword [esp + 0x40]
jae 0x437940
fld st(0)
fsub st(2)
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x68]
mov edx, dword [esp + 0x24]
fmul dword [esp + 0x14]
fdiv dword [esi + 0x54]
fadd dword [esp + 0x24]
fst dword [esp + 0x1c]
fld dword [esp + 0x40]
fsub dword [esp + 0x28]
fmul dword [esp + 0x38]
fdiv dword [esi + 0x54]
fsubr dword [esp + 0x20]
fst dword [esp + 0x14]
fld dword [0x765fb0]
fld st(1)
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x40]
fstp dword [eax + 4]
mov dword [eax], edx
mov dword [eax + 0x14], ecx
fstp dword [eax + 8]
fld st(3)
fstp dword [eax + 0x10]
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x68]
fld dword [0x765fb0]
add eax, 0x18
mov dword [esp + 0x10], eax
fstp dword [eax + 8]
fld st(3)
mov dword [eax], edx
mov edx, dword [esp + 0x20]
fstp dword [eax + 0x10]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], edx
mov dword [eax + 0x14], ecx
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x68]
fld dword [0x765fb0]
add eax, 0x18
mov edx, dword [esp + 0x40]
fld st(2)
mov dword [esp + 0x10], eax
mov dword [eax + 0xc], ecx
fstp dword [eax]
fxch st(1)
fstp dword [eax + 4]
mov dword [eax + 0x14], edx
mov edx, dword [esp + 0x20]
fstp dword [eax + 8]
fld st(1)
fstp dword [eax + 0x10]
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x68]
fld dword [0x765fb0]
add eax, 0x18
fld st(1)
mov dword [esp + 0x10], eax
mov dword [eax + 0xc], ecx
fstp dword [eax]
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], edx
fstp dword [eax + 8]
fld st(1)
mov edx, dword [esp + 0x14]
mov dword [eax + 0x14], ecx
fstp dword [eax + 0x10]
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x68]
fld dword [0x765fb0]
fxch st(1)
add eax, 0x18
mov dword [esp + 0x10], eax
fstp dword [eax]
fstp dword [eax + 8]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x40]
fstp dword [eax + 0x10]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x24]
mov dword [eax + 0x14], ecx
mov eax, dword [esp + 0x10]
fld dword [0x765fb0]
mov ecx, dword [esi + 0x68]
add eax, 0x18
mov dword [esp + 0x10], eax
fstp dword [eax + 8]
mov dword [eax], edx
mov edx, dword [esp + 0x20]
fstp dword [eax + 0x10]
fld dword [esp + 0x50]
fcomp dword [esp + 0x1c]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 4], edx
mov dword [eax + 0x14], ecx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x10]
add eax, 2
add ecx, 0x18
mov dword [esp + 0x3c], eax
mov dword [esp + 0x10], ecx
fnstsw ax
test ah, 1
je 0x4373ab
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x50], edx
fld dword [esp + 0x14]
fchs
fld dword [esp + 0x4c]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x4373c4
fstp dword [esp + 0x4c]
jmp 0x4373c6
fstp st(0)
mov ebp, dword [esp + 0x18]
fild dword [esp + 0x1cdc]
mov dword [esp + 0x14], edi
mov dword [esp + 0x24], 0
fdiv dword [esi + 0x54]
fsubr dword [esp + 0x20]
fstp dword [esp + 0x20]
jmp 0x437721
cmp eax, ebx
jne 0x4373fc
mov edx, dword [esp + 0x44]
mov ecx, 0x765608
jmp 0x437403
mov edx, dword [esp + 0x44]
lea ecx, [eax + edx]
test byte [ecx], 0x80
je 0x43742a
cmp eax, ebx
jne 0x437413
mov eax, 0x765608
jmp 0x437415
add eax, edx
mov ax, word [eax]
add edx, 2
mov word [esp + 0x2c], ax
mov dword [esp + 0x44], edx
mov byte [esp + 0x2e], bl
jmp 0x437446
cmp eax, ebx
jne 0x437435
mov eax, 0x765608
jmp 0x437437
add eax, edx
mov cl, byte [eax]
inc edx
mov byte [esp + 0x2c], cl
mov dword [esp + 0x44], edx
mov byte [esp + 0x2d], bl
lea edx, [esp + 0x58]
lea eax, [esp + 0x2c]
push edx
push eax
call dword [sym.imp.kernel32.dll_lstrlenA]
mov edx, dword [0x7c5370]
lea ecx, [esp + 0x30]
push eax
push ecx
push edx
call dword [sym.imp.gdi32.dll_GetTextExtentPoint32A]
mov ecx, dword [esp + 0x58]
mov eax, dword [esi + 0x4c]
add ecx, edi
cmp ecx, eax
jbe 0x4376f9
mov ecx, dword [esp + 0x14]
cmp ecx, edi
je 0x4376dc
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], ebx
fild qword [esp + 0xa0]
mov dword [esp + 0x90], ecx
mov dword [esp + 0x94], ebx
fild qword [esp + 0x90]
mov edx, dword [esi + 0x50]
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x68], edx
mov dword [esp + 0x78], ebp
fdiv st(1)
mov dword [esp + 0x7c], ebx
mov dword [esp + 0x88], edi
mov dword [esp + 0x8c], ebx
mov eax, dword [esp + 0x54]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ebx
cmp dword [esp + 0x3c], 0x12a
fstp dword [esp + 0x1c]
fild qword [esp + 0x68]
fstp dword [esp + 0x38]
fild qword [esp + 0x78]
fdiv dword [esp + 0x38]
fstp dword [esp + 0x18]
fild qword [esp + 0x88]
fdiv st(1)
fstp dword [esp + 0x28]
fild qword [esp + 0x30]
fdiv dword [esp + 0x38]
fstp dword [esp + 0x40]
fld dword [esp + 0x28]
fsub dword [esp + 0x1c]
fmulp st(1)
fdiv dword [esi + 0x54]
jae 0x437939
fadd dword [esp + 0x24]
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x68]
mov edx, dword [esp + 0x24]
fld st(0)
fld dword [esp + 0x40]
fsub dword [esp + 0x18]
fmul dword [esp + 0x38]
fdiv dword [esi + 0x54]
fsubr dword [esp + 0x20]
fst dword [esp + 0x14]
fld dword [0x765fb0]
fld st(1)
mov dword [eax], edx
mov edx, dword [esp + 0x40]
fstp dword [eax + 4]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x1c]
fstp dword [eax + 8]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
mov ecx, dword [esi + 0x68]
add eax, 0x18
fld dword [0x765fb0]
mov dword [esp + 0x10], eax
mov dword [eax], edx
mov edx, dword [esp + 0x20]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 0x10], ecx
fstp dword [eax + 8]
mov dword [eax + 0x14], edx
mov eax, dword [esp + 0x10]
fld dword [0x765fb0]
mov ecx, dword [esi + 0x68]
add eax, 0x18
fld st(2)
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x40]
fstp dword [eax]
fld st(1)
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x28]
fstp dword [eax + 4]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
fstp dword [eax + 8]
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x68]
fld dword [0x765fb0]
mov edx, dword [esp + 0x20]
add eax, 0x18
fld st(2)
mov dword [esp + 0x10], eax
mov dword [eax + 4], edx
fstp dword [eax]
mov edx, dword [esp + 0x18]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax + 0x14], edx
fstp dword [eax + 8]
mov dword [eax + 0x10], ecx
mov eax, dword [esp + 0x10]
fld dword [0x765fb0]
mov ecx, dword [esi + 0x68]
add eax, 0x18
fld st(2)
mov dword [esp + 0x10], eax
mov dword [eax + 0xc], ecx
fstp dword [eax]
mov ecx, dword [esp + 0x28]
fxch st(1)
fstp dword [eax + 4]
mov dword [eax + 0x10], ecx
fstp dword [eax + 8]
mov edx, dword [esp + 0x40]
mov dword [eax + 0x14], edx
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
mov ecx, dword [esi + 0x68]
fld dword [0x765fb0]
add eax, 0x18
mov dword [esp + 0x10], eax
fstp dword [eax + 8]
fld dword [esp + 0x50]
mov dword [eax], edx
mov edx, dword [esp + 0x20]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x18]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], edx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x10]
fcomp st(1)
add eax, 2
add ecx, 0x18
mov dword [esp + 0x3c], eax
mov dword [esp + 0x10], ecx
fnstsw ax
test ah, 1
je 0x43769c
fstp dword [esp + 0x50]
jmp 0x43769e
fstp st(0)
fld dword [esp + 0x14]
fchs
fld dword [esp + 0x4c]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x4376b7
fstp dword [esp + 0x4c]
jmp 0x4376b9
fstp st(0)
mov eax, dword [esp + 0x1cdc]
mov ecx, dword [esp + 0x54]
fstp dword [esp + 0x24]
xor edi, edi
add ebp, eax
add ecx, eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x54], ecx
jmp 0x4376f9
mov eax, dword [esp + 0x1cdc]
mov ecx, dword [esp + 0x54]
xor edi, edi
add ebp, eax
add ecx, eax
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x54], ecx
lea eax, [esp + 0x2c]
push ebx
push eax
call dword [sym.imp.kernel32.dll_lstrlenA]
mov edx, dword [0x7c5370]
lea ecx, [esp + 0x30]
push eax
push ecx
push ebx
push 2
push ebp
push edi
push edx
call dword [sym.imp.gdi32.dll_ExtTextOutA]
add edi, dword [esp + 0x58]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x44]
cmp ecx, eax
jl 0x43715c
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x43794b
mov ecx, dword [esi + 0x4c]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ecx
mov edx, dword [esi + 0x50]
fild qword [esp + 0x30]
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ebx
mov eax, dword [esp + 0x1cdc]
mov ecx, dword [esi + 0x68]
fstp dword [esp + 0x14]
fild qword [esp + 0x30]
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ebx
mov edx, dword [esp + 0x24]
fdiv dword [esp + 0x14]
fild qword [esp + 0x30]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebx
add ebp, eax
mov eax, dword [esp + 0x10]
fstp dword [esp + 0x38]
fild qword [esp + 0x30]
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], ebx
fdiv dword [esp + 0x38]
fstp dword [esp + 0x18]
fild qword [esp + 0x30]
mov dword [esp + 0x30], ebp
mov dword [esp + 0x34], ebx
fdiv dword [esp + 0x14]
fild qword [esp + 0x30]
fdiv dword [esp + 0x38]
fst dword [esp + 0x48]
fld st(1)
fsub st(3)
fmul dword [esp + 0x14]
fdiv dword [esi + 0x54]
fadd dword [esp + 0x24]
fst dword [esp + 0x1c]
fld st(1)
fsub dword [esp + 0x18]
fmul dword [esp + 0x38]
fdiv dword [esi + 0x54]
fsubr dword [esp + 0x20]
fst dword [esp + 0x28]
fld dword [0x765fb0]
fxch st(1)
fstp dword [eax + 4]
mov dword [eax], edx
mov dword [eax + 0xc], ecx
fstp dword [eax + 8]
fld st(3)
fstp dword [eax + 0x10]
fld st(1)
fstp dword [eax + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x68]
fld dword [0x765fb0]
add eax, 0x18
mov dword [esp + 0x10], eax
fstp dword [eax + 8]
mov dword [eax], edx
mov edx, dword [esp + 0x20]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x18]
fld st(3)
mov dword [eax + 4], edx
mov dword [eax + 0x14], ecx
fstp dword [eax + 0x10]
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x68]
add eax, 0x18
mov dword [esp + 0x10], eax
fld dword [0x765fb0]
fxch st(1)
fstp dword [eax]
mov edx, dword [esp + 0x28]
mov dword [eax + 0xc], ecx
fstp dword [eax + 8]
fld st(1)
mov dword [eax + 4], edx
mov edx, dword [esp + 0x1c]
fstp dword [eax + 0x10]
fstp dword [eax + 0x14]
mov eax, dword [esp + 0x10]
mov ecx, dword [esi + 0x68]
fld dword [0x765fb0]
add eax, 0x18
mov dword [esp + 0x10], eax
fstp dword [eax + 8]
mov dword [eax], edx
mov edx, dword [esp + 0x20]
fst dword [eax + 0x10]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x1c]
mov dword [eax + 0x14], ecx
mov eax, dword [esp + 0x10]
fld dword [0x765fb0]
mov ecx, dword [esi + 0x68]
add eax, 0x18
mov dword [esp + 0x10], eax
fstp dword [eax + 8]
mov dword [eax], edx
mov edx, dword [esp + 0x28]
fstp dword [eax + 0x10]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x48]
mov dword [eax + 4], edx
mov edx, dword [esp + 0x24]
mov dword [eax + 0x14], ecx
mov eax, dword [esp + 0x10]
fld dword [0x765fb0]
mov ecx, dword [esi + 0x68]
add eax, 0x18
mov dword [esp + 0x10], eax
fstp dword [eax + 8]
mov dword [eax], edx
mov edx, dword [esp + 0x20]
fstp dword [eax + 0x10]
fld dword [esp + 0x50]
fcomp dword [esp + 0x1c]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax + 4], edx
mov dword [eax + 0x14], ecx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x10]
add eax, 2
add ecx, 0x18
mov dword [esp + 0x3c], eax
mov dword [esp + 0x10], ecx
fnstsw ax
test ah, 1
je 0x437920
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x50], edx
fld dword [esp + 0x28]
fchs
fld dword [esp + 0x4c]
fcomp st(1)
fnstsw ax
test ah, 1
je 0x437949
fstp dword [esp + 0x4c]
jmp 0x43794b
fstp st(0)
jmp 0x437731
fstp st(0)
fstp st(0)
jmp 0x437735
fstp st(0)
test byte [esp + 0x1ce4], 4
je 0x437a12
mov eax, dword [esp + 0x3c]
xor edx, edx
shr eax, 1
cmp eax, ebx
mov dword [esp + 0x18], eax
jle 0x437a12
lea ecx, [edx + edx*8]
lea ebp, [edx + 1]
shl ecx, 4
cmp ebp, eax
mov dword [esp + 0x1c], 1
fld dword [esp + ecx + 0x100]
fld dword [esp + ecx + 0xbc]
fstp dword [esp + 0x48]
jge 0x4379cd
lea edi, [esp + ecx + 0x190]
fld dword [edi - 0x44]
fcomp dword [esp + 0x48]
fnstsw ax
test ah, 0x40
je 0x4379c9
mov eax, dword [esp + 0x1c]
add edi, 0x90
inc eax
inc ebp
fstp st(0)
fld dword [edi - 0x90]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
cmp ebp, eax
jl 0x43799b
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x1c]
fmul dword [0x765fc4]
lea ebp, [edi + edx]
cmp edx, ebp
fstp dword [esp + 0x48]
jge 0x437a08
mov edi, ebp
lea eax, [esp + ecx + 0xb8]
sub edi, edx
mov ecx, 6
fld dword [esp + 0x48]
fadd dword [eax]
add eax, 0x18
dec ecx
fstp dword [eax - 0x18]
jne 0x4379f2
dec edi
jne 0x4379ed
mov eax, dword [esp + 0x18]
mov edx, ebp
cmp edx, eax
jl 0x43796d
mov eax, dword [esi + 0x48]
lea edx, [esp + 0x10]
push ebx
push edx
mov ecx, dword [eax]
push ebx
push ebx
push eax
call dword [ecx + 0x2c]
mov ebp, dword [esp + 0x3c]
lea edi, [ebp + ebp*2]
cmp edi, ebx
jle 0x437a8d
lea eax, [esp + 0xc0]
mov ecx, dword [esi + 0x38]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x10]
fild qword [esp + 0x30]
fld dword [eax - 8]
mov ecx, edx
add edx, 0x18
fdiv st(1)
mov dword [esp + 0x10], edx
add eax, 0x18
dec edi
fstp dword [eax - 0x20]
fld dword [eax - 0x1c]
fdiv st(1)
fstp dword [eax - 0x1c]
mov edx, dword [eax - 0x20]
mov dword [ecx], edx
mov edx, dword [eax - 0x1c]
mov dword [ecx + 4], edx
mov edx, dword [eax - 0x18]
mov dword [ecx + 8], edx
mov edx, dword [eax - 0x14]
mov dword [ecx + 0xc], edx
mov edx, dword [eax - 0x10]
mov dword [ecx + 0x10], edx
mov edx, dword [eax - 0xc]
fstp st(0)
mov dword [ecx + 0x14], edx
jne 0x437a36
mov eax, dword [esi + 0x48]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x30]
mov edx, dword [esi + 0x38]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x58], edx
mov dword [esi + 0x5c], ebp
fild qword [esp + 0x58]
fld dword [esp + 0x50]
mov dword [esi + 0x64], ebx
mov dword [esi + 0x60], ebx
fdiv st(1)
call fcn.00726fd0
fld dword [esp + 0x4c]
fdiv st(1)
mov dword [esi + 0x70], eax
call fcn.00726fd0
pop edi
mov dword [esi + 0x74], eax
fstp st(0)
pop ebp
pop esi
pop ebx
add esp, 0x1cc8
ret 0xc