Function at 0x414653
Capabilities:
Check http status code

Disassembly:
push 0x40
mov eax, 0x49ece7
call fcn.00482676
mov edi, ecx
mov dword [ebp - 0x1c], edi
xor ebx, ebx
cmp dword [edi + 0x1f6c], ebx
jne 0x414683
mov eax, dword [edi + 0x1f7c]
mov ecx, dword [0x4cc21c]
mov eax, dword [ecx + eax*4]
mov dword [edi + 0x1f6c], eax
lea ecx, [ebp - 0x4c]
call fcn.00463ff6
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
call fcn.00462b71
push eax
lea ecx, [ebp - 0x14]
call fcn.0040176f
mov byte [ebp - 4], 2
call fcn.00462b71
push eax
lea ecx, [ebp - 0x18]
call fcn.0040176f
mov byte [ebp - 4], 3
cmp dword [edi + 0x1f94], ebx
jne 0x41536e
mov eax, dword [edi + 0x1eb4]
call fcn.00450181
test eax, eax
je 0x41536e
mov ecx, dword [ebp + 8]
mov eax, 0x96
cmp ecx, eax
jne 0x4147ae
push eax
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [edi + 0x1f6c]
mov eax, ecx
call fcn.0040dca8
test eax, eax
jne 0x414759
mov eax, dword [ecx + 0x64]
mov esi, dword [ecx + 0x60]
mov dword [ebp - 0x3c], eax
call fcn.0040abd6
cmp eax, esi
jne 0x414759
cmp edx, dword [ebp - 0x3c]
jne 0x414759
mov eax, dword [edi + 0x1f6c]
cmp dword [eax + 0x64], ebx
mov ecx, dword [eax + 0x60]
jl 0x414759
jg 0x41472b
cmp ecx, ebx
jbe 0x414759
mov eax, dword [edi + 0x1eb4]
call fcn.00450181
test eax, eax
je 0x41536e
mov edi, dword [edi + 0x1eb4]
push ebx
push ebx
push 0x8f3
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x41536e
mov eax, dword [edi + 0x1f6c]
cmp dword [eax + 0x30], ebx
jne 0x41536e
push eax
call fcn.0040db7a
cmp eax, ebx
jne 0x41536e
mov dword [ebp + 8], ebx
mov eax, dword [ebp + 8]
cmp eax, 0x28
jge 0x41536e
lea esi, [edi + eax*4 + 0x1eb4]
mov eax, dword [esi]
call fcn.00450181
test eax, eax
je 0x4147a9
mov eax, dword [esi]
push ebx
push ebx
push 0x8dc
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_PostMessageA]
inc dword [ebp + 8]
jmp 0x414779
cmp ecx, 0xa
jne 0x4147dc
lea eax, [edi + 0x2384]
cmp dword [eax], ebx
je 0x415367
push ecx
push dword [edi + 0x20]
mov dword [eax], ebx
call dword [sym.imp.USER32.dll_KillTimer]
push ebx
push ebx
push 0x474
push dword [edi + 0x20]
jmp 0x41474e
cmp ecx, 0xb
jne 0x414806
lea eax, [edi + 0x2384]
cmp dword [eax], ebx
je 0x415367
push ecx
push dword [edi + 0x20]
mov dword [eax], ebx
call dword [sym.imp.USER32.dll_KillTimer]
push edi
call fcn.0041379a
jmp 0x41536e
cmp ecx, 0x3e8
je 0x414816
cmp ecx, 0x7d1
jne 0x41487e
lea eax, [ebp - 0x38]
push eax
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
cmp dword [edi + 0x2160], ebx
je 0x41487e
cmp dword [edi + 0x2164], ebx
je 0x41487e
push 0xfffffffffffffff6
pop esi
cmp dword [edi + 0x2170], esi
je 0x41487e
mov eax, dword [edi + 0x216c]
cmp eax, dword [edi + 0x2174]
jle 0x41487e
push dword [ebp - 0x3c]
lea eax, [ebp - 0x38]
push dword [ebp - 0x40]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
jne 0x41487e
push ebx
push 0x32
push 0x32
push dword [edi + 0x20]
mov dword [edi + 0x2170], esi
call dword [sym.imp.USER32.dll_SetTimer]
cmp dword [ebp + 8], 0x3e8
jne 0x4148be
cmp dword [edi + 0x1f88], ebx
je 0x41493a
cmp dword [0x4cc1dc], ebx
jne 0x4148a7
cmp dword [edi + 0x2388], ebx
je 0x41492e
push ebx
push 0xbb8
mov esi, 0x3e7
push esi
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x4148c3
mov esi, 0x3e7
cmp dword [ebp + 8], esi
jne 0x4148f9
push esi
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
cmp dword [edi + 0x1f88], ebx
je 0x415367
cmp dword [0x4cc1dc], ebx
jne 0x4148f2
cmp dword [edi + 0x2388], ebx
je 0x415367
mov esi, edi
call fcn.00414622
cmp dword [ebp + 8], 0x457
jne 0x414921
cmp dword [edi + 0x1f88], ebx
jne 0x415367
lea eax, [edi + 0x21b8]
inc dword [eax]
cmp dword [eax], 2
jl 0x415367
mov dword [eax], ebx
cmp dword [ebp + 8], 0x3e8
jne 0x415070
cmp dword [edi + 0x1f88], ebx
jne 0x414fe2
mov eax, edi
call fcn.00417792
push eax
mov esi, edi
call fcn.0041f44b
lea eax, [ebp - 0x20]
push eax
push edi
call fcn.00417e83
mov ebx, eax
mov byte [ebp - 4], 4
call fcn.0041f286
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00401755
lea eax, [ebp - 0x20]
push eax
mov ecx, edi
call fcn.00419107
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.004018cc
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00401755
lea eax, [ebp - 0x18]
push eax
mov ecx, edi
call fcn.00460d6e
lea eax, [edi + 0x23c4]
xor ebx, ebx
cmp dword [eax], ebx
je 0x4149cc
mov ecx, dword [edi + 0x1f6c]
cmp dword [ecx + 0x1b04], 3
jl 0x4149cc
push ebx
push ebx
push 0x8f8
push dword [edi + 0x20]
mov dword [eax], ebx
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [edi + 0x2180]
cmp ecx, ebx
je 0x414a1f
lea esi, [edi + 0x2194]
cmp dword [esi], ebx
jne 0x4149fe
call fcn.0043f1da
cmp eax, ebx
je 0x414a1f
and dword [edi + 0x217c], 0
xor ebx, ebx
inc ebx
mov dword [esi], ebx
mov esi, edi
call fcn.00419bd2
jmp 0x414a22
lea ecx, [edi + 0x217c]
mov eax, dword [ecx]
cmp eax, 0x1e
jge 0x414a1f
inc eax
mov dword [ecx], eax
push 5
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x414a1f
mov esi, edi
call fcn.00419bd2
xor ebx, ebx
inc ebx
mov ecx, edi
call fcn.004173e3
test eax, eax
je 0x414b53
mov ecx, dword [edi + 0x1f6c]
lea edx, [ecx + 0x1b04]
mov eax, dword [edx]
cmp eax, 0xffffffff
je 0x414b53
inc eax
mov dword [edx], eax
push 0xa
cdq
pop esi
idiv esi
test edx, edx
jne 0x414b53
mov dword [ecx + 0xc], ebx
mov eax, dword [edi + 0x1f6c]
mov eax, dword [eax + 0x1b04]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x24]
push str.Elapsed
push eax
mov dword [0x4cc128], ebx
mov dword [0x4cc12c], ebx
call fcn.00457593
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x20]
push str.Stats
push eax
mov byte [ebp - 4], 6
call fcn.00457593
pop ecx
pop ecx
push 0
mov byte [ebp - 4], 7
mov ecx, dword [esi]
push 0
push ecx
push eax
push dword [edi + 0x1f70]
call fcn.00441055
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov esi, eax
mov ebx, edx
call fcn.00401755
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00401755
lea eax, [ebp - 0x2c]
push str.Elapsed
push eax
call fcn.00457593
pop ecx
pop ecx
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x20]
push str.Stats
push eax
mov byte [ebp - 4], 8
call fcn.00457593
pop ecx
pop ecx
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx]
mov eax, dword [eax]
mov edi, dword [edi + 0x1f70]
add esi, 0xa
adc ebx, 0
push ebx
push esi
push ecx
push eax
call fcn.00440bab
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.00401755
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.00401755
mov eax, dword [ebp - 0x3c]
cdq
mov ecx, 0x12c
idiv ecx
test edx, edx
jne 0x414b50
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x1f70]
call fcn.00441abb
mov edi, dword [ebp - 0x1c]
lea eax, [edi + 0x2390]
mov ecx, dword [eax]
xor esi, esi
cmp ecx, esi
mov dword [0x4cc1c0], esi
jle 0x414b9a
dec ecx
cmp ecx, esi
mov dword [eax], ecx
jne 0x414b9a
or dword [eax], 0xffffffff
mov eax, dword [edi + 0x1eb4]
cmp eax, esi
je 0x414b9a
cmp dword [eax + 0x208], 0x12c
jle 0x414b9a
mov ecx, dword [edi + 0x1f6c]
cmp dword [ecx + 0x11c], esi
je 0x414b9a
call fcn.0043c623
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
call fcn.00403c82
cmp eax, esi
je 0x414bb4
lea eax, [ebp - 0x14]
push eax
mov ebx, edi
call fcn.0041f318
inc dword [edi + 0x21b8]
mov ecx, dword [edi + 0x21b8]
cmp ecx, 8
jge 0x414ca3
fld qword [0x4afec8]
fcomp qword [edi + 0x22e0]
fnstsw ax
test ah, 0x41
jp 0x414be5
cmp ecx, 6
jge 0x414ca3
fld qword [0x4afe88]
fcomp qword [edi + 0x22e0]
fnstsw ax
test ah, 0x41
jp 0x414c01
cmp ecx, 4
jge 0x414ca3
fld qword [0x4afec0]
fcomp qword [edi + 0x22e0]
fnstsw ax
test ah, 0x41
jp 0x414c1d
cmp ecx, 2
jge 0x414ca3
cmp ecx, 2
je 0x414c2c
cmp ecx, 4
je 0x414c2c
cmp ecx, 6
jne 0x414c4c
cmp dword [edi + 0x1fdc], esi
je 0x414c4c
push 1
lea eax, [ebp - 0x3c]
push eax
mov ecx, edi
call fcn.004183f0
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.00401755
mov eax, dword [edi + 0x1f6c]
call fcn.0040dca8
test eax, eax
je 0x415072
mov ecx, edi
call fcn.004173e3
test eax, eax
lea eax, [edi + 0x1fa4]
je 0x414efa
cmp dword [eax], esi
je 0x414f1e
mov dword [eax], esi
xor ecx, ecx
cmp ecx, 0x28
jge 0x414eee
mov eax, dword [edi + ecx*4 + 0x1eb4]
cmp eax, esi
je 0x414ca0
cmp dword [eax + 0x11c], esi
jne 0x414eeb
inc ecx
jmp 0x414c80
mov ecx, edi
mov dword [edi + 0x21b8], esi
call fcn.004173e3
test eax, eax
je 0x414ce0
push esi
lea eax, [ebp - 0x3c]
push eax
mov ecx, edi
call fcn.004183f0
mov ebx, eax
mov esi, edi
mov byte [ebp - 4], 0xa
call fcn.0041ec9e
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.00401755
xor esi, esi
jmp 0x414d3e
cmp dword [edi + 0x1fa4], esi
jne 0x414d3e
cmp dword [edi + 0x1f88], esi
jne 0x414d3e
cmp dword [0x4cc1dc], esi
je 0x414d3e
mov ebx, dword [edi + 0x1eb4]
cmp ebx, esi
je 0x414d3e
mov ecx, edi
call fcn.004174f7
test eax, eax
jne 0x414d3e
cmp dword [ebx + 0x2d0], 0x1e
jle 0x414d3e
cmp dword [ebx + 0x41c], esi
jg 0x414d3e
push 1
mov ecx, ebx
call fcn.0043adec
mov eax, dword [edi + 0x1eb4]
mov dword [eax + 0x124], esi
mov ecx, dword [edi + 0x1eb4]
call fcn.00438457
fldz
fcomp qword [edi + 0x22e0]
fnstsw ax
test ah, 0x44
jp 0x414d57
mov dword [edi + 0x21b8], 6
call fcn.0047e380
push 3
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x414d6d
mov ecx, edi
call fcn.004153a1
call fcn.0047e380
push 0xa
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x414de4
mov eax, dword [edi + 0x23a0]
cmp eax, esi
jle 0x414ddf
lea ebx, [eax - 1]
cmp ebx, esi
jl 0x414ddf
lea ecx, [edi + 0x23ac]
push ebx
call fcn.0043e7b7
mov dword [ebp - 0x3c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [ebp - 0x3c]
jbe 0x414ddc
lea esi, [edi + 0x2398]
push ebx
mov ecx, esi
call fcn.0043e7b7
test eax, eax
je 0x414dc2
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 4]
push 1
push ebx
mov ecx, esi
call fcn.0047037a
push 1
push ebx
lea ecx, [edi + 0x23ac]
call fcn.0047037a
xor esi, esi
dec ebx
jmp 0x414d89
call fcn.0040dd9c
call fcn.0047e380
and eax, reloc.WS2_32.dll_closesocket
jns 0x414df5
dec eax
or eax, 0xfffffffc
inc eax
jne 0x414c4c
cmp dword [0x4cc1dc], esi
jne 0x414e0f
cmp dword [edi + 0x2388], esi
je 0x414c4c
cmp dword [edi + 0x1f88], esi
jne 0x414c4c
cmp dword [0x4cc1d8], esi
jne 0x414c4c
cmp dword [edi + 0x1fa4], esi
jne 0x414c4c
mov eax, dword [edi + 0x1f6c]
call fcn.0040dca8
test eax, eax
jne 0x414c4c
cmp dword [edi + 0x1f68], esi
jne 0x414c4c
mov dword [ebp - 0x20], esi
mov eax, dword [ebp - 0x20]
cmp eax, 0x28
jge 0x414c4c
lea ebx, [edi + eax*4 + 0x1eb4]
mov eax, dword [ebx]
cmp eax, esi
je 0x414ee1
cmp dword [eax + 0x284], 0
jne 0x414ee1
cmp dword [eax + 0x144], 0
jne 0x414ee1
xor ecx, ecx
cmp dword [eax + 0x210], ecx
setne cl
test ecx, ecx
jne 0x414ee1
cmp dword [eax + 0x584], ecx
jg 0x414ee1
cmp dword [eax + 0x41c], ecx
jg 0x414ee1
mov eax, dword [eax + 0x2d0]
mov esi, dword [0x4cc408]
mov dword [ebp - 0x3c], eax
call fcn.00466a93
mov ecx, dword [eax + 4]
push 0x3c
push str.ConnectTimeout
push esi
call fcn.00465edc
cmp dword [ebp - 0x3c], eax
jle 0x414ee1
mov ecx, dword [ebx]
push 1
call fcn.0043adec
mov eax, dword [ebx]
and dword [eax + 0x124], 0
mov ecx, dword [ebx]
call fcn.00438457
inc dword [ebp - 0x20]
xor esi, esi
jmp 0x414e55
push esi
jmp 0x414ef0
push 2
mov ebx, edi
call fcn.004122ed
push esi
jmp 0x414f15
cmp dword [eax], esi
jne 0x414f1e
cmp dword [edi + 0x1f88], esi
jne 0x414f1e
xor ecx, ecx
inc ecx
push ecx
mov ebx, edi
mov dword [eax], ecx
call fcn.004122ed
push 6
push 0xffffffffffffff9d
mov ecx, edi
call fcn.0041a3b8
mov eax, dword [edi + 0x1f6c]
cmp dword [eax + 0x30], esi
jne 0x415072
cmp dword [edi + 0x1f8c], esi
je 0x414f71
cmp dword [edi + 0x1f88], esi
jne 0x415072
xor ebx, ebx
cmp ebx, 0x28
jge 0x414f66
lea esi, [edi + ebx*4 + 0x1eb4]
mov eax, dword [esi]
call fcn.00450181
test eax, eax
je 0x414f61
mov esi, dword [esi]
call fcn.00428f23
inc ebx
xor esi, esi
jmp 0x414f43
mov dword [edi + 0x1f8c], esi
jmp 0x415072
cmp dword [edi + 0x1f88], esi
jne 0x415072
push edi
lea edi, [ebp - 0x28]
lea edx, [ebp - 0x30]
lea ebx, [ebp - 0x40]
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
call fcn.00417599
cmp dword [ebp - 0x3c], 0
jl 0x41506d
jg 0x414fb4
cmp dword [ebp - 0x40], 0
jbe 0x41506d
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x3c]
jl 0x41506d
jg 0x414fce
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x40]
jb 0x41506d
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x1f8c], 1
mov edi, eax
jmp 0x415070
mov eax, dword [edi + 0x1f6c]
cmp dword [eax + 0x30], ebx
je 0x415367
inc dword [edi + 0x21b8]
mov eax, dword [edi + 0x21b8]
and eax, reloc.WS2_32.dll_accept
jns 0x415009
dec eax
or eax, 0xfffffffe
inc eax
jne 0x415023
push 1
lea eax, [ebp - 0x3c]
push eax
mov ecx, edi
call fcn.004183f0
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.00401755
cmp dword [edi + 0x21b8], 8
jl 0x415032
mov dword [edi + 0x21b8], ebx
call fcn.0047e380
push 0xf
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x415367
lea eax, [ebp - 0x3c]
push eax
push edi
call fcn.00417e83
mov ebx, eax
mov esi, edi
mov byte [ebp - 4], 0xb
call fcn.0041f286
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.00401755
jmp 0x415070
mov edi, dword [ebp - 0x1c]
xor esi, esi
cmp dword [ebp + 8], 0xc8
jne 0x4152c8
cmp dword [edi + 0x1f88], esi
jne 0x415270
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x415264
cmp dword [edi + 0x1f98], esi
jne 0x415264
cmp dword [edi + 0x1f9c], esi
jne 0x415264
cmp dword [edi + 0x1fa4], esi
jne 0x415264
xor ecx, ecx
lea eax, [edi + 0x1fb8]
cmp dword [eax], esi
sete cl
cmp ecx, esi
mov dword [eax], ecx
jne 0x4150e1
cmp dword [0x4cc150], esi
je 0x415367
xor esi, esi
cmp dword [edi + 0x1f54], esi
jne 0x41524a
mov eax, dword [edi + 0x1eb4]
cmp dword [eax + 0x128], esi
jne 0x41524a
mov ecx, edi
call fcn.004174f7
test eax, eax
je 0x41514f
inc dword [edi + 0x21b4]
cmp dword [0x4c8f60], esi
mov eax, dword [edi + 0x21b4]
je 0x415123
cmp eax, 2
jmp 0x415126
cmp eax, 3
jl 0x41512e
mov dword [edi + 0x21b4], esi
mov eax, dword [edi + 0x1f6c]
cmp dword [eax + 0x30], esi
mov eax, dword [edi + 0x21b4]
je 0x415241
push dword [eax*4 + 0x4cbd1c]
jmp 0x4152b8
mov ecx, edi
call fcn.004173e3
test eax, eax
je 0x4151f5
inc dword [edi + 0x21b4]
mov eax, dword [edi + 0x1f6c]
cmp dword [eax + 0x30], esi
mov ecx, dword [edi + 0x21b4]
je 0x41517a
cmp ecx, 0x17
jmp 0x415185
cmp dword [0x4c8f60], esi
je 0x415193
cmp ecx, 0x13
jl 0x41519e
mov dword [edi + 0x21b4], 3
jmp 0x41519e
cmp ecx, 6
jl 0x41519e
mov dword [edi + 0x21b4], esi
cmp dword [eax + 0x30], esi
je 0x4151b2
mov eax, dword [edi + 0x21b4]
push dword [eax*4 + 0x4cbd28]
jmp 0x4151df
cmp dword [0x4c8f60], esi
jne 0x4151d2
call fcn.0040dca8
test eax, eax
je 0x4151d2
mov eax, dword [edi + 0x21b4]
push dword [eax*4 + 0x4cbda0]
jmp 0x4151df
mov eax, dword [edi + 0x21b4]
push dword [eax*4 + 0x4cbdf0]
lea eax, [edi + 0x1e58]
call fcn.00417137
mov dword [edi + 0x1fe4], esi
jmp 0x415367
cmp dword [edi + 0x1f58], esi
jne 0x41520d
cmp dword [edi + 0x1fe4], 0xf2
jne 0x415367
inc dword [edi + 0x21b4]
mov eax, dword [edi + 0x21b4]
xor ecx, ecx
cmp dword [0x4c8f60], ecx
je 0x415228
cmp eax, 2
jmp 0x41522b
cmp eax, 3
jl 0x415233
mov dword [edi + 0x21b4], ecx
mov eax, dword [edi + 0x1f6c]
cmp dword [eax + 0x30], ecx
jmp 0x415137
push dword [eax*4 + 0x4cbd94]
jmp 0x4152b8
lea eax, [edi + 0x21b4]
inc dword [eax]
cmp dword [eax], 4
jl 0x415259
mov dword [eax], esi
mov eax, dword [eax]
push dword [eax*4 + 0x4cbd84]
jmp 0x4152b8
cmp dword [edi + 0x1f88], esi
je 0x415367
mov eax, dword [edi + 0x1f6c]
cmp dword [eax + 0x30], 0
je 0x415367
xor ecx, ecx
lea eax, [edi + 0x1fb8]
cmp dword [eax], ecx
sete cl
test ecx, ecx
mov dword [eax], ecx
jne 0x41529f
cmp dword [0x4cc150], ecx
je 0x415367
lea eax, [edi + 0x21b4]
inc dword [eax]
cmp dword [eax], 8
jl 0x4152af
and dword [eax], 0
mov eax, dword [eax]
push dword [eax*4 + 0x4cbcfc]
lea eax, [edi + 0x1e58]
call fcn.00417137
jmp 0x415367
cmp dword [ebp + 8], 0x32
jne 0x41533b
cmp dword [edi + 0x2160], esi
je 0x415367
cmp dword [edi + 0x2164], 0
je 0x415367
mov eax, dword [edi + 0x2170]
add dword [edi + 0x216c], eax
mov ecx, dword [edi + 0x216c]
mov eax, 0xff
cmp ecx, eax
jge 0x41530c
mov eax, dword [edi + 0x2174]
cmp ecx, eax
jg 0x415324
and dword [edi + 0x2170], 0
push 0x32
push dword [edi + 0x20]
mov dword [edi + 0x216c], eax
call dword [sym.imp.USER32.dll_KillTimer]
movzx eax, byte [edi + 0x216c]
push 2
push eax
push 0
push dword [edi + 0x20]
call dword [edi + 0x215c]
jmp 0x415367
mov eax, 0x2328
cmp dword [ebp + 8], eax
jne 0x415367
cmp dword [edi + 0x1f88], 0
je 0x415367
cmp dword [0x4cc1dc], 0
je 0x415367
push eax
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
push edi
call fcn.0041379a
mov ecx, edi
call fcn.0045fc50
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.00401755
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.00401755
or dword [ebp - 4], 0xffffffff
call fcn.0046400c
call fcn.0048271b
ret 4