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

Disassembly:
sub esp, 0x16c
push ebx
push ebp
mov ebp, dword [esp + 0x178]
cmp byte [ebp + 0x11a4], 0
push esi
push edi
je 0x43654a
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x16c
ret 8
cmp byte [ebp + 0x1234], 0
je 0x43655a
mov edi, ebp
call fcn.00438fa0
cmp byte [ebp + 0x240], 0
je 0x43656a
mov eax, ebp
call fcn.00432df0
or eax, 0xffffffff
cmp dword [ebp + 0x600], eax
je 0x436ea7
mov ecx, dword [ebp + 0x1230]
mov edx, dword [ecx + 0x5c]
lea eax, [esp + 0xbc]
push eax
push edx
call dword [sym.imp.USER32.dll_GetWindowPlacement]
mov ebx, 1
lea esi, [esp + 0xd8]
call fcn.0045efb0
mov ecx, eax
lea eax, [esp + 0x94]
mov dword [esp + 0x94], 0x28
call fcn.0045f000
mov esi, dword [esp + 0xa8]
mov ebx, dword [esp + 0xac]
mov eax, dword [esp + 0xb4]
mov edi, dword [esp + 0xb0]
lea ecx, [esp + 0xf8]
mov dword [esp + 0xe8], esi
mov dword [esp + 0xec], ebx
mov dword [esp + 0xf4], eax
call fcn.00418260
mov ecx, dword [ebp + 0x600]
push 0
push 0
push 0
lea eax, [ebp + 0x248]
push ecx
push eax
lea eax, [esp + 0x10c]
call fcn.004227b0
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0xfc]
call fcn.0041f800
fild dword [eax]
cmp byte [esp + 0x184], 0
fstp dword [esp + 0x80]
fild dword [eax + 4]
fstp dword [esp + 0x84]
fild dword [eax + 8]
fstp dword [esp + 0x88]
fild dword [eax + 0xc]
fstp dword [esp + 0x8c]
fld qword [0x69f210]
jne 0x4366a6
mov eax, dword [ebp + 0x11a0]
fstp st(0)
push eax
lea eax, [ebp + 0x598]
call fcn.0041cfd0
mov ecx, dword [ebp + 0x11a0]
mov edx, dword [ecx]
mov edx, dword [edx + 0x34]
push 0
lea eax, [esp + 0x38]
push eax
call edx
fld qword [0x69f210]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + 8]
mov dword [esp + 0x20], edx
mov edx, dword [eax + 0xc]
jmp 0x436772
mov ecx, dword [esp + 0xf4]
lea eax, [edi + esi]
sar eax, 1
mov dword [esp + 0x34], eax
fild dword [esp + 0x34]
add ecx, ebx
sar ecx, 1
fstp dword [esp + 0x2c]
mov dword [esp + 0x38], ecx
fld dword [esp + 0x88]
fsub dword [esp + 0x80]
fstp dword [esp + 0x6c]
fld dword [esp + 0x6c]
fmul st(1)
fld dword [esp + 0x2c]
fld st(0)
fsub st(2)
call fcn.0066a3f0
fild dword [esp + 0x38]
mov dword [esp + 0x1c], eax
fstp dword [esp + 0x2c]
fld dword [esp + 0x8c]
fsub dword [esp + 0x84]
fstp dword [esp + 0x6c]
fld dword [esp + 0x6c]
fmul st(3)
fld dword [esp + 0x2c]
fld st(0)
fsub st(2)
call fcn.0066a3f0
fxch st(2)
faddp st(3)
mov dword [esp + 0x20], eax
fxch st(2)
call fcn.0066a3f0
faddp st(1)
mov dword [esp + 0x24], eax
call fcn.0066a3f0
fild dword [esp + 0x1c]
mov dword [esp + 0x28], eax
fstp dword [esp + 0x34]
mov edx, dword [esp + 0x34]
fild dword [esp + 0x20]
mov dword [esp + 0x1c], edx
fstp dword [esp + 0x38]
mov eax, dword [esp + 0x38]
fild dword [esp + 0x24]
mov dword [esp + 0x20], eax
fstp dword [esp + 0x3c]
mov ecx, dword [esp + 0x3c]
fild dword [esp + 0x28]
fstp dword [esp + 0x40]
mov edx, dword [esp + 0x40]
fild dword [esp + 0xe8]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edx
fstp dword [esp + 0x6c]
fild dword [esp + 0xec]
fstp dword [esp + 0x2c]
fld dword [esp + 0x6c]
fld st(0)
fadd dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fadd dword [esp + 0x24]
fstp dword [esp + 0x24]
fld dword [esp + 0x2c]
fld st(0)
fadd dword [esp + 0x20]
fstp dword [esp + 0x20]
fadd dword [esp + 0x28]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fsub dword [esp + 0x20]
fstp dword [esp + 0x18]
fld dword [esp + 0x24]
fsub dword [esp + 0x1c]
fstp dword [esp + 0x44]
fld dword [esp + 0x18]
fld qword [0x6c1570]
fmul st(1), st(0)
fld dword [esp + 0x44]
fld st(0)
fdivp st(3)
fxch st(2)
fstp dword [esp + 0x30]
fld st(1)
fdiv st(1)
fstp dword [esp + 0x2c]
fld dword [esp + 0x88]
fsub dword [esp + 0x80]
fstp dword [esp + 0x6c]
fdivr dword [esp + 0x6c]
fstp dword [esp + 0x80]
fld dword [esp + 0x80]
fld dword [esp + 0x2c]
fcom st(1)
fnstsw ax
fld1
test ah, 0x41
je 0x43685f
fcom st(2)
fnstsw ax
test ah, 0x41
je 0x43685f
fstp st(2)
sub esp, 8
fstp st(2)
fstp st(2)
fxch st(1)
fstp dword [esp + 4]
fstp dword [esp]
call fcn.00412520
fstp dword [esp + 0x98]
add esp, 8
fld qword [0x69f210]
fld dword [esp + 0x44]
jmp 0x43686a
fstp st(0)
fdivrp st(1)
fstp dword [esp + 0x90]
fcomp dword [0x6c1568]
fnstsw ax
test ah, 5
jp 0x4368cb
fld dword [esp + 0x24]
fadd dword [esp + 0x1c]
fmul st(1)
fstp dword [esp + 0x34]
fld dword [esp + 0x28]
fadd dword [esp + 0x20]
fmulp st(1)
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fstp dword [esp + 0x6c]
fld dword [esp + 0x6c]
fistp dword [esp + 0x14]
fld dword [esp + 0x34]
fistp dword [esp + 0x7c]
fild dword [esp + 0x7c]
fld st(0)
fld qword [0x6c1560]
fsub st(1), st(0)
fxch st(1)
fstp dword [esp + 0x1c]
faddp st(1)
fstp dword [esp + 0x24]
fld qword [0x69f210]
fld dword [esp + 0x18]
fld dword [esp + 0x30]
fcompp
fnstsw ax
test ah, 0x41
jne 0x436936
fld dword [esp + 0x24]
fadd dword [esp + 0x1c]
fmul st(1)
fstp dword [esp + 0x34]
fld dword [esp + 0x28]
fadd dword [esp + 0x20]
fmulp st(1)
fstp dword [esp + 0x38]
fld dword [esp + 0x38]
fstp dword [esp + 0x6c]
fld dword [esp + 0x6c]
fistp dword [esp + 0x18]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x2c], eax
fld dword [esp + 0x34]
fistp dword [esp + 0x6c]
fild dword [esp + 0x2c]
fld dword [esp + 0x30]
fmul qword [0x69f210]
fld st(1)
fsub st(1)
fstp dword [esp + 0x20]
faddp st(1)
fstp dword [esp + 0x28]
jmp 0x436938
fstp st(0)
push 1
xor eax, eax
push 0xcf0000
lea ecx, [esp + 0x64]
push ecx
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
call dword [sym.imp.USER32.dll_AdjustWindowRect]
fld dword [esp + 0x24]
sub esi, dword [esp + 0x5c]
fld st(0)
fld dword [esp + 0x1c]
sub edi, dword [esp + 0x64]
fld st(0)
mov eax, dword [esp + 0xf4]
fsubp st(2)
sub edi, esi
fxch st(1)
mov dword [esp + 0x14], edi
sub eax, dword [esp + 0x68]
fstp dword [esp + 0x44]
sub ebx, dword [esp + 0x60]
fild dword [esp + 0x14]
sub eax, ebx
mov dword [esp + 0x6c], eax
fstp dword [esp + 0x7c]
fld dword [esp + 0x44]
fdiv dword [esp + 0x7c]
fstp dword [esp + 0x30]
fld dword [esp + 0x28]
fld st(0)
fld dword [esp + 0x20]
fld st(0)
fsubp st(2)
fxch st(1)
fstp dword [esp + 0x18]
fild dword [esp + 0x6c]
fstp dword [esp + 0x2c]
fld dword [esp + 0x18]
fdiv dword [esp + 0x2c]
fstp dword [esp + 0x34]
fld dword [esp + 0x30]
fld dword [esp + 0x34]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x4369e4
fstp st(1)
jmp 0x4369e6
fstp st(0)
fstp dword [esp + 0x30]
fld1
fld dword [esp + 0x30]
fcom st(1)
fnstsw ax
test ah, 0x41
jne 0x436a0d
fxch st(1)
fcomp dword [esp + 0x80]
fnstsw ax
test ah, 5
jp 0x436a0f
mov al, 1
jmp 0x436a11
fstp st(1)
xor al, al
cmp byte [esp + 0x184], 0
je 0x436ae6
test al, al
fstp st(0)
je 0x436c3a
fxch st(3)
faddp st(2)
fld qword [0x69f210]
fmul st(2), st(0)
fxch st(2)
fstp dword [esp + 0x6c]
faddp st(2)
fmulp st(1)
fstp dword [esp + 0x70]
fld dword [esp + 0x70]
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fistp dword [esp + 0x14]
mov edx, dword [esp + 0x14]
mov dword [esp + 0x34], edx
fld dword [esp + 0x6c]
fistp dword [esp + 0x80]
fild dword [esp + 0x80]
fld dword [esp + 0x44]
fld dword [esp + 0x30]
fld st(0)
fdivp st(2)
fld qword [0x69f210]
fmul st(2), st(0)
fld st(3)
fsub st(3)
fstp dword [esp + 0x6c]
mov eax, dword [esp + 0x6c]
fild dword [esp + 0x34]
mov dword [esp + 0x1c], eax
fld dword [esp + 0x18]
fdivrp st(3)
fxch st(2)
fmul st(1)
fld st(2)
fsub st(1)
fstp dword [esp + 0x70]
mov ecx, dword [esp + 0x70]
fxch st(4)
mov dword [esp + 0x20], ecx
faddp st(3)
fxch st(2)
fstp dword [esp + 0x74]
mov edx, dword [esp + 0x74]
mov dword [esp + 0x24], edx
faddp st(2)
fxch st(1)
fstp dword [esp + 0x78]
mov eax, dword [esp + 0x78]
mov dword [esp + 0x28], eax
fld dword [esp + 0x28]
fld dword [esp + 0x24]
fld dword [esp + 0x20]
fld dword [esp + 0x1c]
jmp 0x436c0e
test al, al
je 0x436afa
fmul dword [esp + 0x90]
fstp dword [esp + 0x90]
jmp 0x436afc
fstp st(0)
fld dword [esp + 0x44]
fld dword [esp + 0x7c]
fcompp
fnstsw ax
test ah, 5
jp 0x436b77
fxch st(3)
faddp st(2)
fld qword [0x69f210]
fmul st(2), st(0)
fxch st(2)
fstp dword [esp + 0x44]
faddp st(2)
fmulp st(1)
fstp dword [esp + 0x48]
fld dword [esp + 0x48]
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fistp dword [esp + 0x30]
fld dword [esp + 0x44]
fistp dword [esp + 0x80]
fild dword [esp + 0x80]
fild dword [esp + 0x14]
fld qword [0x69f210]
fmul st(1), st(0)
fld st(2)
fsub st(2)
fstp dword [esp + 0x1c]
fxch st(2)
faddp st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fld dword [esp + 0x1c]
fld dword [esp + 0x20]
fld dword [esp + 0x28]
jmp 0x436b83
fld qword [0x69f210]
fxch st(4)
fxch st(3)
fxch st(2)
fld dword [esp + 0x18]
fld dword [esp + 0x2c]
fcompp
fnstsw ax
fxch st(3)
test ah, 5
jp 0x436c48
faddp st(2)
fxch st(1)
fmul st(3)
fstp dword [esp + 0x80]
faddp st(1)
fmulp st(1)
fstp dword [esp + 0x84]
fld dword [esp + 0x84]
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fistp dword [esp + 0x14]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x2c], ecx
fld dword [esp + 0x80]
fistp dword [esp + 0x34]
fild dword [esp + 0x2c]
fild dword [esp + 0x6c]
fld qword [0x69f210]
fmul st(1), st(0)
fld st(2)
fsub st(2)
fstp dword [esp + 0x20]
fxch st(2)
faddp st(1)
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fld dword [esp + 0x20]
fld dword [esp + 0x24]
fld dword [esp + 0x1c]
fxch st(1)
fxch st(2)
fxch st(1)
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 1
je 0x436c4c
fcomp st(1)
fnstsw ax
test ah, 1
jne 0x436c52
fstp st(1)
or eax, 0xffffffff
fstp st(0)
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], eax
jmp 0x436cbe
fld qword [0x69f210]
fxch st(4)
fxch st(2)
fxch st(3)
jmp 0x436c0e
fxch st(2)
jmp 0x436c0e
fstp st(2)
fstp st(0)
jmp 0x436c24
faddp st(1)
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fistp dword [esp + 0x44]
fld dword [esp + 0x24]
mov eax, dword [esp + 0x44]
fadd qword [0x69f210]
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fistp dword [esp + 0x18]
fld dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
fsub qword [0x69f210]
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fistp dword [esp + 0x14]
fld dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
fsub qword [0x69f210]
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fistp dword [esp + 0x6c]
mov esi, dword [esp + 0x6c]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], edx
mov dword [esp + 0x54], ecx
push 0
push 0xcf0000
lea edx, [esp + 0x54]
push edx
mov dword [esp + 0x64], eax
call dword [sym.imp.USER32.dll_AdjustWindowRect]
cmp dword [ebp + 0x11ac], 0
jne 0x436d3d
mov eax, 0x26c
call fcn.00457920
test eax, eax
je 0x436cf9
push 0xff7f7f7f
call fcn.0042f7b0
mov esi, eax
jmp 0x436cfb
xor esi, esi
mov ecx, dword [ebp + 0x11ac]
cmp esi, ecx
je 0x436d23
test ecx, ecx
je 0x436d10
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
test esi, esi
mov dword [ebp + 0x11ac], esi
je 0x436d23
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
mov eax, dword [ebp + 0x11ac]
cmp byte [eax + 0x20f], 1
je 0x436d3d
or dword [eax + 8], 3
mov byte [eax + 0x20f], 1
mov eax, dword [ebp + 0x144]
test eax, eax
je 0x436d97
mov esi, 0xfffffffe
test dword [eax + 0x19c], esi
je 0x436d97
jmp 0x436d60
mov eax, dword [ebp + 0x144]
test dword [eax + 0x19c], esi
jbe 0x436d78
mov eax, dword [eax + 0x198]
mov eax, dword [eax]
jmp 0x436d7a
xor eax, eax
mov ecx, dword [ebp + 0x11ac]
push 1
push ecx
push eax
call fcn.0049b850
mov edx, dword [ebp + 0x144]
test dword [edx + 0x19c], esi
jne 0x436d60
mov esi, dword [ebp + 0x11ac]
mov ebx, ebp
call fcn.004ad450
mov esi, dword [ebp + 0x144]
lea eax, [ebp + 0x248]
call fcn.0049f920
mov esi, dword [ebp + 0x144]
lea eax, [ebp + 0x1d30]
call fcn.0049f920
mov bl, byte [esp + 0x184]
test bl, bl
jne 0x436dd6
call fcn.00436ec0
fldz
lea esi, [ebp + 0x598]
fst dword [esp + 0x34]
lea edi, [esp + 0x34]
fstp dword [esp + 0x38]
call fcn.0041c560
fld dword [esp + 0x90]
push ecx
fstp dword [esp]
mov al, 1
mov edx, esi
call fcn.0041cfa0
test bl, bl
mov eax, dword [ebp + 0x144]
mov byte [eax + 0x22e], 1
jne 0x436e23
mov esi, dword [ebp + 0x1230]
push 5
xor al, al
call fcn.0045e1c0
mov ecx, dword [ebp + 0x1230]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
lea eax, [esp + 0x4c]
push eax
call edx
fld dword [esp + 0x7c]
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fcom qword [0x6c1570]
fnstsw ax
test ah, 5
jnp 0x436e56
fstp st(0)
fld dword [0x6c1568]
fstp dword [esp + 0x6c]
xor esi, esi
fld dword [esp + 0x6c]
xor edi, edi
call fcn.0066a3f0
mov ecx, dword [ebp + 0x1230]
add ecx, 8
mov dword [ecx], esi
mov dword [ecx + 4], edi
mov dword [ecx + 8], eax
mov edx, 0x140
mov dword [ecx + 0xc], edx
mov eax, dword [ebp + 0x1230]
mov ecx, dword [eax + 0x5c]
push 1
push ecx
call dword [sym.imp.SHELL32.dll_DragAcceptFiles]
lea ecx, [esp + 0xf8]
mov byte [ebp + 0x11a4], 1
call fcn.004182e0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x16c
ret 8