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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xec
mov eax, dword [ebp + 8]
push ebx
mov ebx, ecx
push esi
mov ecx, dword [eax + 0x70]
mov edx, dword [eax + 0x74]
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + 0x68]
push edi
mov dword [esp + 0x10], ecx
mov dword [esp + 0x24], edx
mov edx, dword [eax + 0x6c]
lea esi, [eax + 0x10]
mov ecx, 0xc
lea edi, [esp + 0xb8]
lea eax, [ebx + 0x58]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [esp + 0xbc]
mov dword [esp + 0x18], edx
call fcn.00422300
lea eax, [ebx + 0x28]
lea ecx, [esp + 0xb8]
push eax
call fcn.00422300
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x48]
lea edx, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x24]
push edx
push eax
push ecx
push 0
push 0
lea ecx, [esp + 0xd0]
mov dword [esp + 0xf8], 0
mov dword [esp + 0xfc], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
call fcn.00421fb0
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x58]
lea eax, [esp + 0x60]
push edx
mov edx, dword [esp + 0x14]
push eax
push 0
push 0
push ecx
push edx
lea ecx, [esp + 0xd0]
call fcn.00421fb0
fld qword [esp + 0x50]
fmul qword [esp + 0x50]
fld qword [esp + 0x48]
fmul qword [esp + 0x48]
mov eax, dword [ebx]
mov esi, dword [sym.imp.GDI32.dll_GetDeviceCaps]
push 0x58
push eax
faddp st(1)
fsqrt
fstp qword [esp + 0x28]
fld qword [esp + 0x68]
fmul qword [esp + 0x68]
fld qword [esp + 0x60]
fmul qword [esp + 0x60]
faddp st(1)
fsqrt
fstp qword [esp + 0x18]
call esi
mov ecx, dword [ebx]
push 0x5a
push ecx
mov dword [esp + 0x34], eax
call esi
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
fst qword [esp + 0xf0]
fld qword [esp + 0x20]
fmul qword [0x4da398]
mov edx, dword [ebx]
push edx
fdiv st(1)
fstp qword [esp + 0x24]
fstp st(0)
fild dword [esp + 0x30]
fst qword [esp + 0xec]
fld qword [esp + 0x14]
fmul qword [0x4da398]
fdiv st(1)
fstp qword [esp + 0x14]
fstp st(0)
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov edi, dword [esp + 0x24]
mov esi, eax
mov eax, dword [esp + 0x20]
push edi
push eax
mov dword [esp + 0x4c], esi
call fcn.004223b0
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
add esp, 8
push eax
push ecx
push edx
call fcn.004223b0
add esp, 8
push eax
mov eax, dword [ebx]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x1c], eax
xor eax, eax
push ecx
push edx
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
call fcn.004223b0
mov dword [esp + 0xb8], eax
mov eax, dword [esp + 0x28]
push edi
push eax
call fcn.004223b0
add esp, 0x10
mov dword [esp + 0xb4], eax
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
lea ecx, [esp + 0xa8]
push eax
push ecx
push esi
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x40]
mov ecx, dword [eax + 0x78]
test edx, edx
mov dword [esp + 0x10], ecx
jne 0x4362c3
mov edx, dword [ebp + 0xc]
mov esi, dword [edx + 0xc]
test esi, esi
je 0x4362c3
mov edi, dword [ecx + 0x48]
test edi, edi
je 0x4362c3
mov ecx, edi
mov edi, dword [edi]
mov esi, dword [ecx + 8]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x4362bf
mov eax, dword [ebp + 0xc]
push 1
mov ecx, dword [eax + 0xc]
call fcn.00427000
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0xc]
push edx
push 1
call fcn.00426e30
mov eax, dword [ebp + 0xc]
push 3
mov ecx, dword [eax + 0xc]
call fcn.00427000
mov ecx, dword [eax]
lea edx, [esp + 0x2c]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0xc]
push edx
push 3
call fcn.00426e30
mov eax, dword [ebp + 8]
test edi, edi
jne 0x43626a
fld qword [eax + 0x38]
sub esp, 8
mov edx, dword [esp + 0x2c]
fchs
fstp qword [esp]
fld qword [eax + 0x30]
sub esp, 8
mov ecx, 0xc
fchs
fstp qword [esp]
fld qword [0x4da398]
fdiv qword [esp + 0x100]
sub esp, 8
lea esi, [ebx + 0x28]
lea edi, [esp + 0xd0]
mov dword [esp + 0xa8], 0
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf8], ecx
lea ecx, [esp + 0x90]
mov dword [esp + 0xf4], 0
mov dword [esp + 0xfc], edx
mov dword [esp + 0xac], 0x3ff00000
mov dword [esp + 0x90], 0
mov dword [esp + 0x94], 0x3ff00000
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xb4], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
fstp qword [esp]
fld qword [0x4da398]
fdiv qword [esp + 0x100]
push 0
push 0
push 0
push 0
sub esp, 8
fstp qword [esp]
call fcn.00421e30
lea eax, [esp + 0xb8]
lea ecx, [esp + 0x78]
push eax
call fcn.00422300
mov esi, dword [esp + 0x44]
lea ecx, [esp + 0x78]
push 0
push ecx
mov ecx, dword [esp + 0x18]
push esi
call fcn.00420ab0
mov edx, dword [esp + 0x1c]
push edx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
mov dword [esp + 0x20], eax
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebx]
push 1
lea edi, [ebx + 0x28]
mov ecx, dword [eax + 0x40]
push ecx
push edi
push edx
mov ecx, ebx
call fcn.004297d0
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x436438
mov eax, dword [ebx]
push eax
call dword [sym.imp.GDI32.dll_WidenPath]
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x6c]
push edx
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], ecx
mov dword [esp + 0x70], 3
call dword [sym.imp.GDI32.dll_CreateBrushIndirect]
mov esi, eax
mov eax, dword [ebx]
push esi
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
lea ecx, [esp + 0x38]
lea edx, [esp + 0x30]
push ecx
push edx
mov ecx, edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
call fcn.00421ff0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push 0
push eax
push ecx
call fcn.004223b0
mov edx, dword [esp + 0x40]
add esp, 8
push eax
mov eax, dword [esp + 0x38]
push edx
push eax
call fcn.004223b0
mov ecx, dword [ebx]
add esp, 8
push eax
push ecx
call dword [sym.imp.GDI32.dll_SetBrushOrgEx]
mov edx, dword [ebx]
push edx
call dword [sym.imp.GDI32.dll_FillPath]
mov eax, dword [esp + 0x10]
mov ecx, dword [ebx]
push eax
push ecx
call dword [sym.imp.GDI32.dll_SelectObject]
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc