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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x595b68
mov eax, dword fs:[0]
push eax
sub esp, 0x98
mov eax, dword [0x613384]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test dword [esi - 0x30], 0x2000
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x74], eax
je 0x420037
mov eax, dword [esi - 0x6c]
lea ecx, [esi - 0x6c]
mov dword [ebp - 0x80], ecx
mov eax, dword [eax + 0x1c]
call eax
test al, al
je 0x420037
cmp edi, 0x201
je 0x41ffe9
cmp edi, 0x203
je 0x41ffe9
cmp edi, 0xa1
je 0x41ffe9
cmp edi, 0xa3
jne 0x42000a
push dword [ebp - 0x70]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
jne 0x42000a
mov ecx, dword [ebp - 0x80]
push 0
mov eax, dword [ecx]
call dword [eax + 0x18]
mov al, 1
jmp 0x4204bb
cmp edi, 0x112
je 0x42002c
mov eax, dword [ebp - 0x70]
cmp dword [esi + 8], eax
jne 0x42003a
cmp edi, 6
jne 0x42003a
cmp word [ebp + 0x14], 0
jne 0x42003a
cmp dword [ebp - 0x6c], 0
jne 0x42003a
mov eax, dword [esi - 0x6c]
lea ecx, [esi - 0x6c]
push 0
call dword [eax + 0x18]
mov eax, dword [ebp - 0x70]
mov ecx, dword [esi + 8]
cmp ecx, eax
je 0x420054
push eax
push ecx
call dword [sym.imp.USER32.dll_IsChild]
test eax, eax
jne 0x420054
xor al, al
jmp 0x4204bb
mov ecx, dword [esi - 0x10]
test ecx, ecx
je 0x420071
cmp edi, 0x201
jne 0x420071
mov edx, dword [ecx]
lea eax, [esi - 0x6c]
push eax
mov eax, dword [edx]
call eax
test al, al
jne 0x420003
cmp dword [esi - 0xc], 0
je 0x420186
cmp edi, 0x201
jne 0x420186
mov ecx, dword [ebp - 0x6c]
push dword [ebp - 0x78]
movsx eax, cx
mov dword [ebp - 0x9c], eax
mov eax, ecx
shr eax, 0x10
cwde
mov dword [ebp - 0x98], eax
lea eax, [esi - 0x6c]
push eax
mov dword [ebp - 0x94], eax
call fcn.00433bb0
add esp, 8
mov dword [ebp - 0x80], eax
test eax, eax
je 0x4201c2
lea eax, [ebp - 0x4c]
push eax
push dword [esi + 8]
call dword [sym.imp.USER32.dll_GetWindowPlacement]
cmp dword [ebp - 0x44], 1
jne 0x4201c2
mov ecx, dword [esi - 0xc]
lea edx, [esi - 0x6c]
lea edi, [ebp - 0x9c]
push edi
push dword [ebp - 0x80]
mov eax, dword [ecx]
push edx
mov eax, dword [eax]
call eax
mov edi, dword [ebp + 0x10]
test al, al
je 0x4201c2
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x88]
push eax
push dword [ebp - 0x70]
call dword [sym.imp.USER32.dll_ClientToScreen]
mov esi, dword [ebp - 0x94]
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x84]
mov dword [esi + 0xa4], eax
lea eax, [ebp - 0x20]
push eax
push dword [esi + 0x74]
mov dword [esi + 0xa8], ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
push dword [esi + 0x74]
mov dword [esi + 0xac], eax
mov dword [esi + 0xb0], ecx
call dword [sym.imp.USER32.dll_SetCapture]
push dword [esi + 0xb4]
call dword [sym.imp.USER32.dll_SetCursor]
mov dword [esi + 0xb8], eax
mov al, 1
mov byte [esi + 0xa0], 1
jmp 0x4204bb
cmp edi, 0x100
je 0x420196
cmp edi, 0x104
jne 0x4201c2
mov edx, dword [esi + 0x50]
test edx, edx
je 0x4201c2
mov ecx, dword [ebp - 0x6c]
mov eax, dword [ebp + 0x14]
shr ecx, 0x10
and ecx, 0x100
movzx eax, al
or ecx, eax
push ecx
lea ecx, [edx + 0x78]
call fcn.0043dc90
test al, al
jne 0x4202cd
lea eax, [esi + 4]
cmp dword [ebp - 0x78], eax
jne 0x42004d
cmp edi, 0x111
ja 0x420380
je 0x420301
lea ecx, [edi - 5]
cmp ecx, 0x1f
ja case.default.0x4201f3
movzx eax, byte [ecx + 0x4204f4]
jmp dword [eax*4 + 0x4204d8]
mov edx, dword [ebp - 0x74]
mov al, 1
mov dword [edx], 1
jmp 0x4204bb
mov edi, dword [ebp - 0x70]
lea eax, [ebp - 0x64]
push eax
push edi
call dword [sym.imp.USER32.dll_BeginPaint]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x24], edi
lea eax, [esi - 0x6c]
mov dword [ebp - 4], 0
push eax
call fcn.004338b0
mov esi, eax
lea eax, [ebp - 0xa4]
push edi
push eax
call fcn.0041f6b0
add esp, 0xc
mov ecx, dword [eax]
mov dword [ebp - 0x90], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x8c], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x84], eax
lea eax, [ebp - 0x20]
push esi
mov dword [ebp - 0x88], ecx
movups xmm0, xmmword [ebp - 0x90]
push eax
push dword [ebp - 0x68]
movups xmmword [ebp - 0x20], xmm0
call dword [sym.imp.USER32.dll_FillRect]
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_EndPaint]
mov edx, dword [ebp - 0x74]
mov al, 1
mov dword [edx], 1
jmp 0x4204bb
mov eax, dword [esi - 0x6c]
lea ecx, [esi - 0x6c]
call dword [eax + 0xa0]
jmp case.0x4201f3.7
xor eax, eax
lea ecx, [esi - 0x6c]
cmp word [ebp + 0x14], ax
sete al
add eax, 4
push eax
push ecx
call fcn.00431ef0
jmp case.0x4201f3.7
lea ecx, [esi - 0x6c]
call fcn.0042b280
mov edx, dword [ebp - 0x74]
mov al, 1
mov dword [edx], 0
jmp 0x4204bb
mov eax, dword [esi + 0x24]
test eax, eax
jne 0x4202ed
cmp dword [esi + 0x28], eax
je case.0x4201f3.7
mov ecx, dword [ebp - 0x6c]
mov dword [ecx + 0x18], eax
mov eax, dword [esi + 0x28]
mov dword [ecx + 0x1c], eax
lea eax, [esi + 4]
jmp 0x420480
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x42031b
push dword [ebp + 0x14]
add ecx, 0x78
call fcn.0043da50
test al, al
jne 0x420003
mov eax, dword [ebp + 0x14]
movzx edi, ax
shr eax, 0x10
test eax, eax
jne 0x42004d
cmp edi, 1
je 0x420370
cmp edi, 2
jne 0x420349
mov eax, 1
lea ecx, [esi - 0x6c]
push eax
call fcn.0042b3f0
jmp 0x4204bb
mov eax, dword [esi - 0x1c]
test eax, eax
je 0x42004d
push 1
push eax
call fcn.00433e30
add esp, 8
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
cmp edi, eax
jne 0x42004d
xor eax, eax
lea ecx, [esi - 0x6c]
push eax
call fcn.0042b3f0
jmp 0x4204bb
cmp edi, 0x215
ja 0x420435
je 0x42041b
mov eax, edi
sub eax, 0x200
je 0x4203c6
sub eax, 2
jne case.0x4201f3.7
cmp byte [esi + 0x34], al
je case.0x4201f3.7
mov byte [esi + 0x34], al
call dword [sym.imp.USER32.dll_ReleaseCapture]
push dword [esi + 0x4c]
call dword [sym.imp.USER32.dll_SetCursor]
mov al, 1
jmp 0x4204bb
cmp byte [esi + 0x34], 0
mov ecx, dword [ebp - 0x6c]
je 0x4202f9
movsx eax, cx
mov dword [ebp - 0x7c], eax
shr ecx, 0x10
movsx eax, cx
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0x70]
call dword [sym.imp.USER32.dll_ClientToScreen]
mov eax, dword [esi + 0x44]
sub eax, dword [esi + 0x3c]
add eax, dword [ebp - 0x78]
push 1
push 0
push 0
push eax
mov eax, dword [esi + 0x40]
sub eax, dword [esi + 0x38]
add eax, dword [ebp - 0x7c]
push eax
push 0xffffffffffffffff
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
mov al, 1
jmp 0x4204bb
cmp byte [esi + 0x34], 0
je case.default.0x4201f3
push dword [esi + 0x4c]
mov byte [esi + 0x34], 0
call dword [sym.imp.USER32.dll_SetCursor]
mov al, 1
jmp 0x4204bb
cmp edi, 0x31a
je 0x420471
cmp edi, 0x400
jne case.default.0x4201f3
mov ecx, dword [esi - 0x1c]
test ecx, ecx
je case.default.0x4201f3
push 1
push ecx
call fcn.00433e30
add esp, 8
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgCtrlID]
mov edx, dword [ebp - 0x74]
movzx eax, ax
or eax, 0x534b0000
mov dword [edx], eax
mov al, 1
jmp 0x4204bb
mov eax, dword [esi - 0x6c]
lea ecx, [esi - 0x6c]
call dword [eax + 0x54]
lea eax, [esi + 4]
mov ecx, dword [ebp - 0x6c]
test byte [esi - 0x30], 0x10
jne 0x4204a1
mov edx, dword [ebp - 0x74]
push edx
push ecx
push dword [ebp + 0x14]
mov ecx, eax
push edi
push dword [ebp - 0x70]
call fcn.004758b0
test al, al
jne 0x420003
push dword [ebp - 0x74]
lea eax, [esi + 4]
push dword [ebp - 0x6c]
push dword [ebp + 0x14]
push edi
push eax
lea eax, [esi - 0x6c]
push eax
call fcn.00433f20
add esp, 0x18
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00544c5a
mov esp, ebp
pop ebp
ret 0x18