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

Disassembly:
push 0xffffffffffffffff
push 0x4637b5
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x2c]
call fcn.004226d0
lea esi, [edi + 0xec]
mov ecx, esi
mov dword [esp + 0x8c], 0
call fcn.004230b0
lea ebx, [edi + 0x10c]
mov ecx, ebx
call fcn.004230b0
mov ecx, dword [esp + 0x94]
sub esp, 0xc
mov eax, esp
mov dword [esp + 0x24], esp
push eax
mov dword [edi + 0xd8], ecx
call fcn.00425cb0
call fcn.0040d7b0
add esp, 0xc
cmp eax, 8
jne 0x417571
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x3d
push ecx
mov ecx, 0x4935e4
call fcn.0041bf60
mov ecx, esi
call fcn.00423020
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x24], esp
push 0x46b710
call fcn.00422570
mov ecx, ebx
call fcn.00423020
jmp 0x417761
mov ecx, dword [edi + 0xd8]
xor esi, esi
call fcn.00425f10
test eax, eax
jle 0x417761
mov bl, 3
mov ecx, dword [edi + 0xd8]
push esi
call fcn.00425ef0
mov ecx, eax
call fcn.004240f0
test eax, eax
jne 0x41774b
mov ecx, dword [edi + 0xd8]
sub esp, 0xc
mov edx, esp
mov dword [esp + 0x24], esp
push edx
push esi
call fcn.00425ef0
mov ecx, eax
call fcn.00424100
lea ecx, [edi + 0x10c]
call fcn.00423020
mov ecx, dword [edi + 0xd8]
push esi
xor ebp, ebp
call fcn.00425ef0
mov ecx, eax
call fcn.00424170
test eax, eax
jle 0x41774b
jmp 0x4175f0
mov ecx, dword [edi + 0xd8]
lea eax, [esp + 0x44]
push eax
push ebp
push esi
call fcn.00425ef0
mov ecx, eax
call fcn.00424150
mov ecx, eax
call fcn.00429610
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x90], 1
call fcn.00422540
lea ecx, [esp + 0x44]
mov byte [esp + 0x8c], 0
call fcn.004222c0
mov ecx, dword [edi + 0xd8]
push ebp
push esi
call fcn.00425ef0
mov ecx, eax
call fcn.00424150
mov ecx, eax
call fcn.00429600
cmp eax, 8
jne 0x41772d
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x24]
call fcn.004224b0
lea ecx, [esp + 0x20]
mov byte [esp + 0x8c], 2
call fcn.004222b0
cmp eax, 2
jle 0x4176a1
lea ecx, [esp + 0x20]
call fcn.004222b0
sub eax, 2
push eax
push 2
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x2c]
call fcn.00422860
lea ecx, [esp + 0x38]
call fcn.004222c0
sub esp, 0xc
lea eax, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.004224b0
lea ecx, [esp + 0x5c]
push ecx
mov ecx, 0x4935e4
call fcn.0041c210
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x90], bl
call fcn.00422540
lea ecx, [esp + 0x50]
mov byte [esp + 0x8c], 2
call fcn.004222c0
push 0x469780
lea ecx, [esp + 0x24]
call fcn.004222f0
sub esp, 0xc
test al, al
mov ecx, esp
mov dword [esp + 0x24], esp
je 0x417707
lea edx, [esp + 0x38]
push edx
jmp 0x41770c
lea eax, [esp + 0x2c]
push eax
call fcn.004224b0
lea ecx, [edi + 0xec]
call fcn.00423020
lea ecx, [esp + 0x20]
mov byte [esp + 0x8c], 0
call fcn.004222c0
mov ecx, dword [edi + 0xd8]
push esi
add ebp, 1
call fcn.00425ef0
mov ecx, eax
call fcn.00424170
cmp ebp, eax
jl 0x4175f0
mov ecx, dword [edi + 0xd8]
add esi, 1
call fcn.00425f10
cmp esi, eax
jl 0x417588
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x24], esp
push 0xc
push ecx
call fcn.0040d2b0
add esp, 8
mov ecx, 0x493500
call fcn.00419ec0
mov esi, eax
xor ebx, ebx
mov ecx, esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebx
call fcn.00425f10
test eax, eax
jle 0x4179b5
lea ebx, [ebx]
push ebx
mov ecx, esi
call fcn.00425ef0
mov ebp, eax
mov ecx, ebp
call fcn.004240f0
cmp eax, 0xd
jne 0x41799b
mov ecx, ebp
mov byte [esp + 0x13], 0
xor ebx, ebx
call fcn.00424170
test eax, eax
jle 0x41799b
lea edx, [esp + 0x50]
push edx
push ebx
mov ecx, ebp
call fcn.00424150
mov ecx, eax
call fcn.00429610
push eax
lea ecx, [esp + 0x30]
mov byte [esp + 0x90], 4
call fcn.00422540
lea ecx, [esp + 0x50]
mov byte [esp + 0x8c], 0
call fcn.004222c0
push ebx
mov ecx, ebp
call fcn.00424150
mov ecx, eax
call fcn.00429600
sub eax, 0x31
je 0x417958
sub eax, 1
jne 0x417989
cmp byte [esp + 0x13], 1
jne 0x417989
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x38]
push eax
push ecx
mov ecx, esi
call fcn.00425ef0
mov ecx, eax
call fcn.00424100
mov edx, dword [esp + 0x3c]
push edx
call fcn.00447092
add esp, 4
lea ecx, [esp + 0x38]
mov esi, eax
call fcn.004222c0
sub esp, 0xc
lea ecx, [esi + esi*2]
mov esi, esp
mov dword [esp + 0x28], esp
call fcn.00416e80
lea ecx, [edi + 0x10c]
call fcn.00423020
lea eax, [esp + 0x2c]
push eax
lea ecx, [esp + 0x24]
call fcn.004224b0
lea ecx, [esp + 0x20]
mov byte [esp + 0x8c], 5
call fcn.004222b0
cmp eax, 2
jle 0x4178c9
lea ecx, [esp + 0x20]
call fcn.004222b0
sub eax, 2
push eax
push 2
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esp + 0x2c]
call fcn.00422860
lea ecx, [esp + 0x5c]
call fcn.004222c0
sub esp, 0xc
lea edx, [esp + 0x2c]
mov ecx, esp
mov dword [esp + 0x28], esp
push edx
call fcn.004224b0
lea eax, [esp + 0x74]
push eax
mov ecx, 0x4935e4
call fcn.0041c210
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x90], 6
call fcn.00422540
lea ecx, [esp + 0x68]
mov byte [esp + 0x8c], 5
call fcn.004222c0
push 0x469780
lea ecx, [esp + 0x24]
call fcn.004222f0
sub esp, 0xc
test al, al
mov ecx, esp
mov dword [esp + 0x28], esp
je 0x417930
lea edx, [esp + 0x38]
push edx
jmp 0x417935
lea eax, [esp + 0x2c]
push eax
call fcn.004224b0
lea ecx, [edi + 0xec]
call fcn.00423020
lea ecx, [esp + 0x20]
mov byte [esp + 0x8c], 0
call fcn.004222c0
jmp 0x417985
lea ecx, [esp + 0x2c]
push ecx
lea ecx, [esp + 0x48]
call fcn.004224b0
mov edx, dword [esp + 0x48]
push edx
call fcn.00447092
add esp, 4
lea ecx, [esp + 0x44]
mov esi, eax
call fcn.004222c0
test esi, esi
setne byte [esp + 0x13]
mov esi, dword [esp + 0x18]
mov ecx, ebp
add ebx, 1
call fcn.00424170
cmp ebx, eax
jl 0x4177d0
mov ebx, dword [esp + 0x14]
add ebx, 1
mov ecx, esi
mov dword [esp + 0x14], ebx
call fcn.00425f10
cmp ebx, eax
jl 0x4177a0
mov ecx, dword [edi + 0x20]
lea eax, [esp + 0x74]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov ecx, dword [edi + 0xe8]
mov esi, dword [edi + 0x108]
mov eax, dword [esp + 0x80]
sub eax, dword [esp + 0x78]
add ecx, 4
imul ecx, esi
sub eax, ecx
cdq
sub eax, edx
mov ebx, eax
sar ebx, 1
xor ebp, ebp
test esi, esi
mov dword [esp + 0x14], 1
jle 0x417a4c
xor esi, esi
test esi, esi
jl 0x417b52
cmp ebp, dword [edi + 0xfc]
jge 0x417b52
mov ecx, dword [edi + 0xf8]
add ecx, esi
call fcn.004222b0
cmp eax, dword [esp + 0x14]
jle 0x417a3e
cmp ebp, dword [edi + 0xfc]
jge 0x417b52
mov ecx, dword [edi + 0xf8]
add ecx, esi
call fcn.004222b0
mov dword [esp + 0x14], eax
add ebp, 1
add esi, 0xc
cmp ebp, dword [edi + 0x108]
jl 0x4179fa
mov edx, dword [edi + 0xe4]
imul edx, dword [esp + 0x14]
mov eax, dword [esp + 0x7c]
sub eax, edx
sub eax, dword [edi + 0xe0]
xor esi, esi
sub eax, dword [esp + 0x74]
cdq
sub eax, edx
sar eax, 1
cmp dword [edi + 0x108], esi
mov dword [esp + 0x18], eax
jle 0x417b23
xor ebp, ebp
test ebp, ebp
jl 0x417b52
cmp esi, dword [edi + 0xfc]
jge 0x417b52
mov eax, dword [edi + 0xf8]
sub esp, 0xc
add eax, ebp
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.004224b0
cmp esi, dword [edi + 0x11c]
mov eax, dword [esp + 0x24]
push 1
push ebx
mov byte [esp + 0xa0], 7
push eax
jge 0x417b52
mov eax, dword [edi + 0x118]
add eax, ebp
push eax
lea ecx, [esp + 0x60]
call fcn.004224b0
mov ecx, dword [esp + 0x60]
push ecx
call fcn.00447092
add esp, 4
lea ecx, [esp + 0x5c]
mov dword [esp + 0x2c], eax
call fcn.004222c0
mov edx, dword [esp + 0x2c]
push edx
mov ecx, edi
mov byte [esp + 0xa8], 0
call fcn.00417220
mov eax, dword [edi + 0xe8]
add esi, 1
add ebp, 0xc
cmp esi, dword [edi + 0x108]
lea ebx, [ebx + eax + 4]
jl 0x417a80
lea ecx, [esp + 0x2c]
mov dword [esp + 0x8c], 0xffffffff
call fcn.004222c0
mov ecx, dword [esp + 0x84]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x80
ret 4
call fcn.0042bad0
int3