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

Disassembly:
push 0xffffffffffffffff
push 0x463100
mov eax, dword fs:[0]
push eax
sub esp, 0x74
push ebx
push ebp
push esi
push edi
mov eax, dword [0x486904]
xor eax, esp
push eax
lea eax, [esp + 0x88]
mov dword fs:[0], eax
mov edi, ecx
lea ecx, [esp + 0x30]
call fcn.00421640
lea esi, [edi + 0xec]
mov ecx, esi
mov dword [esp + 0x90], 0
call fcn.00422420
lea ebx, [edi + 0x10c]
mov ecx, ebx
call fcn.00422420
mov ecx, dword [esp + 0x98]
sub esp, 0xc
mov eax, esp
mov dword [esp + 0x28], esp
push eax
mov dword [edi + 0xd8], ecx
call fcn.00424510
call fcn.0040df50
add esp, 0xc
cmp eax, 8
jne 0x4174ef
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x3d
push ecx
mov ecx, 0x493610
call fcn.0041b840
mov ecx, esi
call fcn.00422390
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x28], esp
push 0x46b468
call fcn.004214e0
mov ecx, ebx
call fcn.00422390
jmp 0x4176e1
mov ecx, dword [edi + 0xd8]
xor esi, esi
call fcn.00424740
test eax, eax
jle 0x4176e1
mov bl, 3
mov ecx, dword [edi + 0xd8]
push esi
call fcn.00424720
mov ecx, eax
call fcn.00422c70
test eax, eax
jne 0x4176cb
mov ecx, dword [edi + 0xd8]
sub esp, 0xc
mov edx, esp
mov dword [esp + 0x28], esp
push edx
push esi
call fcn.00424720
mov ecx, eax
call fcn.00424510
lea ecx, [edi + 0x10c]
call fcn.00422390
mov ecx, dword [edi + 0xd8]
push esi
xor ebp, ebp
call fcn.00424720
mov ecx, eax
call fcn.00422ca0
test eax, eax
jle 0x4176cb
jmp 0x417570
mov ecx, dword [edi + 0xd8]
lea eax, [esp + 0x48]
push eax
push ebp
push esi
call fcn.00424720
mov ecx, eax
call fcn.00422c80
mov ecx, eax
call fcn.00427fd0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x94], 1
call fcn.004214b0
lea ecx, [esp + 0x48]
mov byte [esp + 0x90], 0
call fcn.004212c0
mov ecx, dword [edi + 0xd8]
push ebp
push esi
call fcn.00424720
mov ecx, eax
call fcn.00422c80
mov ecx, eax
call fcn.00427fc0
cmp eax, 8
jne 0x4176ad
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x28]
call fcn.00421420
lea ecx, [esp + 0x24]
mov byte [esp + 0x90], 2
call fcn.004212b0
cmp eax, 2
jle 0x417621
lea ecx, [esp + 0x24]
call fcn.004212b0
sub eax, 2
push eax
push 2
lea edx, [esp + 0x44]
push edx
lea ecx, [esp + 0x30]
call fcn.004217b0
lea ecx, [esp + 0x3c]
call fcn.004212c0
sub esp, 0xc
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x28], esp
push eax
call fcn.00421420
lea ecx, [esp + 0x60]
push ecx
mov ecx, 0x493610
call fcn.0041baf0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x94], bl
call fcn.004214b0
lea ecx, [esp + 0x54]
mov byte [esp + 0x90], 2
call fcn.004212c0
push 0x469790
lea ecx, [esp + 0x28]
call fcn.004212f0
sub esp, 0xc
test al, al
mov ecx, esp
mov dword [esp + 0x28], esp
je 0x417687
lea edx, [esp + 0x3c]
push edx
jmp 0x41768c
lea eax, [esp + 0x30]
push eax
call fcn.00421420
lea ecx, [edi + 0xec]
call fcn.00422390
lea ecx, [esp + 0x24]
mov byte [esp + 0x90], 0
call fcn.004212c0
mov ecx, dword [edi + 0xd8]
push esi
add ebp, 1
call fcn.00424720
mov ecx, eax
call fcn.00422ca0
cmp ebp, eax
jl 0x417570
mov ecx, dword [edi + 0xd8]
add esi, 1
call fcn.00424740
cmp esi, eax
jl 0x417506
sub esp, 0xc
mov ecx, esp
mov dword [esp + 0x28], esp
push 0xc
push ecx
call fcn.0040da50
add esp, 8
mov ecx, 0x493528
call fcn.0041a410
mov esi, eax
xor ebx, ebx
mov ecx, esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], ebx
call fcn.00424740
test eax, eax
jle 0x417935
lea ebx, [ebx]
push ebx
mov ecx, esi
call fcn.00424720
mov ebp, eax
mov ecx, ebp
call fcn.00422c70
cmp eax, 0xd
jne 0x41791b
mov ecx, ebp
mov byte [esp + 0x17], 0
xor ebx, ebx
call fcn.00422ca0
test eax, eax
jle 0x41791b
lea edx, [esp + 0x54]
push edx
push ebx
mov ecx, ebp
call fcn.00422c80
mov ecx, eax
call fcn.00427fd0
push eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x94], 4
call fcn.004214b0
lea ecx, [esp + 0x54]
mov byte [esp + 0x90], 0
call fcn.004212c0
push ebx
mov ecx, ebp
call fcn.00422c80
mov ecx, eax
call fcn.00427fc0
sub eax, 0x31
je 0x4178d8
sub eax, 1
jne 0x417909
cmp byte [esp + 0x17], 1
jne 0x417909
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x3c]
push eax
push ecx
mov ecx, esi
call fcn.00424720
mov ecx, eax
call fcn.00424510
mov edx, dword [esp + 0x40]
push edx
call fcn.00446858
add esp, 4
lea ecx, [esp + 0x3c]
mov esi, eax
call fcn.004212c0
sub esp, 0xc
lea ecx, [esi + esi*2]
mov esi, esp
mov dword [esp + 0x2c], esp
call fcn.00402dd0
lea ecx, [edi + 0x10c]
call fcn.00422390
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x28]
call fcn.00421420
lea ecx, [esp + 0x24]
mov byte [esp + 0x90], 5
call fcn.004212b0
cmp eax, 2
jle 0x417849
lea ecx, [esp + 0x24]
call fcn.004212b0
sub eax, 2
push eax
push 2
lea ecx, [esp + 0x68]
push ecx
lea ecx, [esp + 0x30]
call fcn.004217b0
lea ecx, [esp + 0x60]
call fcn.004212c0
sub esp, 0xc
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x2c], esp
push edx
call fcn.00421420
lea eax, [esp + 0x78]
push eax
mov ecx, 0x493610
call fcn.0041baf0
push eax
lea ecx, [esp + 0x28]
mov byte [esp + 0x94], 6
call fcn.004214b0
lea ecx, [esp + 0x6c]
mov byte [esp + 0x90], 5
call fcn.004212c0
push 0x469790
lea ecx, [esp + 0x28]
call fcn.004212f0
sub esp, 0xc
test al, al
mov ecx, esp
mov dword [esp + 0x2c], esp
je 0x4178b0
lea edx, [esp + 0x3c]
push edx
jmp 0x4178b5
lea eax, [esp + 0x30]
push eax
call fcn.00421420
lea ecx, [edi + 0xec]
call fcn.00422390
lea ecx, [esp + 0x24]
mov byte [esp + 0x90], 0
call fcn.004212c0
jmp 0x417905
lea ecx, [esp + 0x30]
push ecx
lea ecx, [esp + 0x4c]
call fcn.00421420
mov edx, dword [esp + 0x4c]
push edx
call fcn.00446858
add esp, 4
lea ecx, [esp + 0x48]
mov esi, eax
call fcn.004212c0
test esi, esi
setne byte [esp + 0x17]
mov esi, dword [esp + 0x1c]
mov ecx, ebp
add ebx, 1
call fcn.00422ca0
cmp ebx, eax
jl 0x417750
mov ebx, dword [esp + 0x18]
add ebx, 1
mov ecx, esi
mov dword [esp + 0x18], ebx
call fcn.00424740
cmp ebx, eax
jl 0x417720
mov ecx, dword [edi + 0x20]
lea eax, [esp + 0x78]
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 + 0x84]
sub eax, dword [esp + 0x7c]
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 + 0x18], 1
jle 0x4179cc
xor esi, esi
test esi, esi
jl 0x417ad6
cmp ebp, dword [edi + 0xfc]
jge 0x417ad6
mov ecx, dword [edi + 0xf8]
add ecx, esi
call fcn.004212b0
cmp eax, dword [esp + 0x18]
jle 0x4179be
cmp ebp, dword [edi + 0xfc]
jge 0x417ad6
mov ecx, dword [edi + 0xf8]
add ecx, esi
call fcn.004212b0
mov dword [esp + 0x18], eax
add ebp, 1
add esi, 0xc
cmp ebp, dword [edi + 0x108]
jl 0x41797a
mov edx, dword [edi + 0xe4]
imul edx, dword [esp + 0x18]
mov eax, dword [esp + 0x80]
sub eax, edx
sub eax, dword [edi + 0xe0]
xor esi, esi
sub eax, dword [esp + 0x78]
cdq
sub eax, edx
sar eax, 1
cmp dword [edi + 0x108], esi
mov dword [esp + 0x1c], eax
jle 0x417aa6
xor ebp, ebp
test ebp, ebp
jl 0x417ad6
cmp esi, dword [edi + 0xfc]
jge 0x417ad6
mov eax, dword [edi + 0xf8]
sub esp, 0xc
add eax, ebp
mov ecx, esp
mov dword [esp + 0x2c], esp
push eax
call fcn.00421420
cmp esi, dword [edi + 0x11c]
mov eax, dword [esp + 0x28]
push 1
push ebx
mov byte [esp + 0xa4], 7
push eax
jge 0x417ad6
mov eax, dword [edi + 0x118]
add eax, ebp
push eax
lea ecx, [esp + 0x64]
call fcn.00421420
mov ecx, dword [esp + 0x64]
push ecx
call fcn.00446858
add esp, 4
lea ecx, [esp + 0x60]
mov dword [esp + 0x30], eax
call fcn.004212c0
mov edx, dword [esp + 0x30]
push edx
mov ecx, edi
mov byte [esp + 0xac], 0
call fcn.004171b0
mov eax, dword [edi + 0xe8]
add esi, 1
add ebp, 0xc
cmp esi, dword [edi + 0x108]
lea ebx, [ebx + eax + 4]
jl 0x417a03
lea ecx, [esp + 0x30]
mov dword [esp + 0x90], 0xffffffff
call fcn.004212c0
mov ecx, dword [esp + 0x88]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x80
ret 4
call fcn.0042a61f
int3