Function at 0x4149f3
Capabilities:
Check http status code

Disassembly:
push 0x40
mov eax, 0x4aab18
call fcn.0048d8e5
mov edi, ecx
mov dword [ebp - 0x1c], edi
xor ebx, ebx
cmp dword [edi + 0x1f6c], ebx
jne 0x414a23
mov eax, dword [edi + 0x1f7c]
mov ecx, dword [0x4db278]
mov eax, dword [ecx + eax*4]
mov dword [edi + 0x1f6c], eax
lea ecx, [ebp - 0x4c]
call fcn.0046f568
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
call fcn.0046df20
push eax
lea ecx, [ebp - 0x14]
call fcn.0046e14b
mov byte [ebp - 4], 2
call fcn.0046df20
push eax
lea ecx, [ebp - 0x18]
call fcn.0046e14b
mov byte [ebp - 4], 3
cmp dword [edi + 0x1f94], ebx
jne 0x41570e
mov eax, dword [edi + 0x1eb4]
call fcn.00459ab1
test eax, eax
je 0x41570e
mov ecx, dword [ebp + 8]
mov eax, 0x96
cmp ecx, eax
jne 0x414b4e
push eax
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [edi + 0x1f6c]
mov eax, ecx
call fcn.0040e0d7
test eax, eax
jne 0x414af9
mov eax, dword [ecx + 0x6c]
mov esi, dword [ecx + 0x68]
mov dword [ebp - 0x3c], eax
call fcn.0040af01
cmp eax, esi
jne 0x414af9
cmp edx, dword [ebp - 0x3c]
jne 0x414af9
mov eax, dword [edi + 0x1f6c]
cmp dword [eax + 0x6c], ebx
mov ecx, dword [eax + 0x68]
jl 0x414af9
jg 0x414acb
cmp ecx, ebx
jbe 0x414af9
mov eax, dword [edi + 0x1eb4]
call fcn.00459ab1
test eax, eax
je 0x41570e
mov edi, dword [edi + 0x1eb4]
push ebx
push ebx
push 0x8f3
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x41570e
mov eax, dword [edi + 0x1f6c]
cmp dword [eax + 0x34], ebx
jne 0x41570e
push eax
call fcn.0040dfa9
cmp eax, ebx
jne 0x41570e
mov dword [ebp + 8], ebx
mov eax, dword [ebp + 8]
cmp eax, 0x28
jge 0x41570e
lea esi, [edi + eax*4 + 0x1eb4]
mov eax, dword [esi]
call fcn.00459ab1
test eax, eax
je 0x414b49
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 0x414b19
cmp ecx, 0xa
jne 0x414b7c
lea eax, [edi + 0x2384]
cmp dword [eax], ebx
je 0x415707
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 0x414aee
cmp ecx, 0xb
jne 0x414ba6
lea eax, [edi + 0x2384]
cmp dword [eax], ebx
je 0x415707
push ecx
push dword [edi + 0x20]
mov dword [eax], ebx
call dword [sym.imp.USER32.dll_KillTimer]
push edi
call fcn.00413b3a
jmp 0x41570e
cmp ecx, 0x3e8
je 0x414bb6
cmp ecx, 0x7d1
jne 0x414c1e
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 0x414c1e
cmp dword [edi + 0x2164], ebx
je 0x414c1e
push 0xfffffffffffffff6
pop esi
cmp dword [edi + 0x2170], esi
je 0x414c1e
mov eax, dword [edi + 0x216c]
cmp eax, dword [edi + 0x2174]
jle 0x414c1e
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 0x414c1e
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 0x414c5e
cmp dword [edi + 0x1f88], ebx
je 0x414cda
cmp dword [0x4db238], ebx
jne 0x414c47
cmp dword [edi + 0x2388], ebx
je 0x414cce
push ebx
push 0xbb8
mov esi, 0x3e7
push esi
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x414c63
mov esi, 0x3e7
cmp dword [ebp + 8], esi
jne 0x414c99
push esi
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
cmp dword [edi + 0x1f88], ebx
je 0x415707
cmp dword [0x4db238], ebx
jne 0x414c92
cmp dword [edi + 0x2388], ebx
je 0x415707
mov esi, edi
call fcn.004149c2
cmp dword [ebp + 8], 0x457
jne 0x414cc1
cmp dword [edi + 0x1f88], ebx
jne 0x415707
lea eax, [edi + 0x21b8]
inc dword [eax]
cmp dword [eax], 2
jl 0x415707
mov dword [eax], ebx
cmp dword [ebp + 8], 0x3e8
jne 0x415410
cmp dword [edi + 0x1f88], ebx
jne 0x415382
mov eax, edi
call fcn.00417b49
push eax
mov esi, edi
call fcn.0041ffdf
lea eax, [ebp - 0x20]
push eax
push edi
call fcn.0041823a
mov ebx, eax
mov byte [ebp - 4], 4
call fcn.0041fe1a
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0040174a
lea eax, [ebp - 0x20]
push eax
mov ecx, edi
call fcn.004194be
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.0040189c
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0040174a
lea eax, [ebp - 0x18]
push eax
mov ecx, edi
call fcn.0046c35b
lea eax, [edi + 0x23c4]
xor ebx, ebx
cmp dword [eax], ebx
je 0x414d6c
mov ecx, dword [edi + 0x1f6c]
cmp dword [ecx + 0x1b0c], 3
jl 0x414d6c
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 0x414dbf
lea esi, [edi + 0x2194]
cmp dword [esi], ebx
jne 0x414d9e
call fcn.004485b8
cmp eax, ebx
je 0x414dbf
and dword [edi + 0x217c], 0
xor ebx, ebx
inc ebx
mov dword [esi], ebx
mov esi, edi
call fcn.00419f89
jmp 0x414dc2
lea ecx, [edi + 0x217c]
mov eax, dword [ecx]
cmp eax, 0x1e
jge 0x414dbf
inc eax
mov dword [ecx], eax
push 5
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x414dbf
mov esi, edi
call fcn.00419f89
xor ebx, ebx
inc ebx
mov ecx, edi
call fcn.0041779a
test eax, eax
je 0x414ef3
mov ecx, dword [edi + 0x1f6c]
lea edx, [ecx + 0x1b0c]
mov eax, dword [edx]
cmp eax, 0xffffffff
je 0x414ef3
inc eax
mov dword [edx], eax
push 0xa
cdq
pop esi
idiv esi
test edx, edx
jne 0x414ef3
mov dword [ecx + 0xc], ebx
mov eax, dword [edi + 0x1f6c]
mov eax, dword [eax + 0x1b0c]
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x24]
push str.Elapsed
push eax
mov dword [0x4db168], ebx
mov dword [0x4db16c], ebx
call fcn.00461468
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x20]
push str.Stats
push eax
mov byte [ebp - 4], 6
call fcn.00461468
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.0044a4a6
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
mov esi, eax
mov ebx, edx
call fcn.0040174a
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.0040174a
lea eax, [ebp - 0x2c]
push str.Elapsed
push eax
call fcn.00461468
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.00461468
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.00449ffc
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0040174a
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.0040174a
mov eax, dword [ebp - 0x3c]
cdq
mov ecx, 0x12c
idiv ecx
test edx, edx
jne 0x414ef0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x1f70]
call fcn.0044af0c
mov edi, dword [ebp - 0x1c]
lea eax, [edi + 0x2390]
mov ecx, dword [eax]
xor esi, esi
cmp ecx, esi
mov dword [0x4db21c], esi
jle 0x414f3a
dec ecx
cmp ecx, esi
mov dword [eax], ecx
jne 0x414f3a
or dword [eax], 0xffffffff
mov eax, dword [edi + 0x1eb4]
cmp eax, esi
je 0x414f3a
cmp dword [eax + 0x208], 0x12c
jle 0x414f3a
mov ecx, dword [edi + 0x1f6c]
cmp dword [ecx + 0x124], esi
je 0x414f3a
call fcn.0044565c
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
call fcn.00403f2c
cmp eax, esi
je 0x414f54
lea eax, [ebp - 0x14]
push eax
mov ebx, edi
call fcn.0041feac
inc dword [edi + 0x21b8]
mov ecx, dword [edi + 0x21b8]
cmp ecx, 8
jge 0x415043
fld qword [0x4bd890]
fcomp qword [edi + 0x22e0]
fnstsw ax
test ah, 0x41
jp 0x414f85
cmp ecx, 6
jge 0x415043
fld qword [0x4bd850]
fcomp qword [edi + 0x22e0]
fnstsw ax
test ah, 0x41
jp 0x414fa1
cmp ecx, 4
jge 0x415043
fld qword [0x4bd888]
fcomp qword [edi + 0x22e0]
fnstsw ax
test ah, 0x41
jp 0x414fbd
cmp ecx, 2
jge 0x415043
cmp ecx, 2
je 0x414fcc
cmp ecx, 4
je 0x414fcc
cmp ecx, 6
jne 0x414fec
cmp dword [edi + 0x1fdc], esi
je 0x414fec
push 1
lea eax, [ebp - 0x3c]
push eax
mov ecx, edi
call fcn.004187a7
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.0040174a
mov eax, dword [edi + 0x1f6c]
call fcn.0040e0d7
test eax, eax
je 0x415412
mov ecx, edi
call fcn.0041779a
test eax, eax
lea eax, [edi + 0x1fa4]
je 0x41529a
cmp dword [eax], esi
je 0x4152be
mov dword [eax], esi
xor ecx, ecx
cmp ecx, 0x28
jge 0x41528e
mov eax, dword [edi + ecx*4 + 0x1eb4]
cmp eax, esi
je 0x415040
cmp dword [eax + 0x11c], esi
jne 0x41528b
inc ecx
jmp 0x415020
mov ecx, edi
mov dword [edi + 0x21b8], esi
call fcn.0041779a
test eax, eax
je 0x415080
push esi
lea eax, [ebp - 0x3c]
push eax
mov ecx, edi
call fcn.004187a7
mov ebx, eax
mov esi, edi
mov byte [ebp - 4], 0xa
call fcn.0041f832
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.0040174a
xor esi, esi
jmp 0x4150de
cmp dword [edi + 0x1fa4], esi
jne 0x4150de
cmp dword [edi + 0x1f88], esi
jne 0x4150de
cmp dword [0x4db238], esi
je 0x4150de
mov ebx, dword [edi + 0x1eb4]
cmp ebx, esi
je 0x4150de
mov ecx, edi
call fcn.004178ae
test eax, eax
jne 0x4150de
cmp dword [ebx + 0x2d0], 0x1e
jle 0x4150de
cmp dword [ebx + 0x41c], esi
jg 0x4150de
push 1
mov ecx, ebx
call fcn.00443ce9
mov eax, dword [edi + 0x1eb4]
mov dword [eax + 0x124], esi
mov ecx, dword [edi + 0x1eb4]
call fcn.00441039
fldz
fcomp qword [edi + 0x22e0]
fnstsw ax
test ah, 0x44
jp 0x4150f7
mov dword [edi + 0x21b8], 6
call fcn.00489565
push 3
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x41510d
mov ecx, edi
call fcn.00415741
call fcn.00489565
push 0xa
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x415184
mov eax, dword [edi + 0x23a0]
cmp eax, esi
jle 0x41517f
lea ebx, [eax - 1]
cmp ebx, esi
jl 0x41517f
lea ecx, [edi + 0x23ac]
push ebx
call fcn.00433a4b
mov dword [ebp - 0x3c], eax
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
cmp eax, dword [ebp - 0x3c]
jbe 0x41517c
lea esi, [edi + 0x2398]
push ebx
mov ecx, esi
call fcn.00433a4b
test eax, eax
je 0x415162
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 4]
push 1
push ebx
mov ecx, esi
call fcn.00471fd5
push 1
push ebx
lea ecx, [edi + 0x23ac]
call fcn.00471fd5
xor esi, esi
dec ebx
jmp 0x415129
call fcn.0040e1cb
call fcn.00489565
and eax, reloc.WS2_32.dll_closesocket
jns 0x415195
dec eax
or eax, 0xfffffffc
inc eax
jne 0x414fec
cmp dword [0x4db238], esi
jne 0x4151af
cmp dword [edi + 0x2388], esi
je 0x414fec
cmp dword [edi + 0x1f88], esi
jne 0x414fec
cmp dword [0x4db234], esi
jne 0x414fec
cmp dword [edi + 0x1fa4], esi
jne 0x414fec
mov eax, dword [edi + 0x1f6c]
call fcn.0040e0d7
test eax, eax
jne 0x414fec
cmp dword [edi + 0x1f68], esi
jne 0x414fec
mov dword [ebp - 0x20], esi
mov eax, dword [ebp - 0x20]
cmp eax, 0x28
jge 0x414fec
lea ebx, [edi + eax*4 + 0x1eb4]
mov eax, dword [ebx]
cmp eax, esi
je 0x415281
cmp dword [eax + 0x284], 0
jne 0x415281
cmp dword [eax + 0x144], 0
jne 0x415281
xor ecx, ecx
cmp dword [eax + 0x210], ecx
setne cl
test ecx, ecx
jne 0x415281
cmp dword [eax + 0x584], ecx
jg 0x415281
cmp dword [eax + 0x41c], ecx
jg 0x415281
mov eax, dword [eax + 0x2d0]
mov esi, dword [0x4db468]
mov dword [ebp - 0x3c], eax
call fcn.00471d19
mov ecx, dword [eax + 4]
push 0x3c
push str.ConnectTimeout
push esi
call fcn.00471162
cmp dword [ebp - 0x3c], eax
jle 0x415281
mov ecx, dword [ebx]
push 1
call fcn.00443ce9
mov eax, dword [ebx]
and dword [eax + 0x124], 0
mov ecx, dword [ebx]
call fcn.00441039
inc dword [ebp - 0x20]
xor esi, esi
jmp 0x4151f5
push esi
jmp 0x415290
push 2
mov ebx, edi
call fcn.004126c0
push esi
jmp 0x4152b5
cmp dword [eax], esi
jne 0x4152be
cmp dword [edi + 0x1f88], esi
jne 0x4152be
xor ecx, ecx
inc ecx
push ecx
mov ebx, edi
mov dword [eax], ecx
call fcn.004126c0
push 6
push 0xffffffffffffff9d
mov ecx, edi
call fcn.0041a76f
mov eax, dword [edi + 0x1f6c]
cmp dword [eax + 0x34], esi
jne 0x415412
cmp dword [edi + 0x1f8c], esi
je 0x415311
cmp dword [edi + 0x1f88], esi
jne 0x415412
xor ebx, ebx
cmp ebx, 0x28
jge 0x415306
lea esi, [edi + ebx*4 + 0x1eb4]
mov eax, dword [esi]
call fcn.00459ab1
test eax, eax
je 0x415301
mov esi, dword [esi]
call fcn.00429984
inc ebx
xor esi, esi
jmp 0x4152e3
mov dword [edi + 0x1f8c], esi
jmp 0x415412
cmp dword [edi + 0x1f88], esi
jne 0x415412
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.00417950
cmp dword [ebp - 0x3c], 0
jl 0x41540d
jg 0x415354
cmp dword [ebp - 0x40], 0
jbe 0x41540d
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x3c]
jl 0x41540d
jg 0x41536e
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x40]
jb 0x41540d
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x1f8c], 1
mov edi, eax
jmp 0x415410
mov eax, dword [edi + 0x1f6c]
cmp dword [eax + 0x34], ebx
je 0x415707
inc dword [edi + 0x21b8]
mov eax, dword [edi + 0x21b8]
and eax, reloc.WS2_32.dll_accept
jns 0x4153a9
dec eax
or eax, 0xfffffffe
inc eax
jne 0x4153c3
push 1
lea eax, [ebp - 0x3c]
push eax
mov ecx, edi
call fcn.004187a7
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.0040174a
cmp dword [edi + 0x21b8], 8
jl 0x4153d2
mov dword [edi + 0x21b8], ebx
call fcn.00489565
push 0xf
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x415707
lea eax, [ebp - 0x3c]
push eax
push edi
call fcn.0041823a
mov ebx, eax
mov esi, edi
mov byte [ebp - 4], 0xb
call fcn.0041fe1a
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.0040174a
jmp 0x415410
mov edi, dword [ebp - 0x1c]
xor esi, esi
cmp dword [ebp + 8], 0xc8
jne 0x415668
cmp dword [edi + 0x1f88], esi
jne 0x415610
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x415604
cmp dword [edi + 0x1f98], esi
jne 0x415604
cmp dword [edi + 0x1f9c], esi
jne 0x415604
cmp dword [edi + 0x1fa4], esi
jne 0x415604
xor ecx, ecx
lea eax, [edi + 0x1fb8]
cmp dword [eax], esi
sete cl
cmp ecx, esi
mov dword [eax], ecx
jne 0x415481
cmp dword [0x4db190], esi
je 0x415707
xor esi, esi
cmp dword [edi + 0x1f54], esi
jne 0x4155ea
mov eax, dword [edi + 0x1eb4]
cmp dword [eax + 0x128], esi
jne 0x4155ea
mov ecx, edi
call fcn.004178ae
test eax, eax
je 0x4154ef
inc dword [edi + 0x21b4]
cmp dword [0x4d7f70], esi
mov eax, dword [edi + 0x21b4]
je 0x4154c3
cmp eax, 2
jmp 0x4154c6
cmp eax, 3
jl 0x4154ce
mov dword [edi + 0x21b4], esi
mov eax, dword [edi + 0x1f6c]
cmp dword [eax + 0x34], esi
mov eax, dword [edi + 0x21b4]
je 0x4155e1
push dword [eax*4 + 0x4dad74]
jmp 0x415658
mov ecx, edi
call fcn.0041779a
test eax, eax
je 0x415595
inc dword [edi + 0x21b4]
mov eax, dword [edi + 0x1f6c]
cmp dword [eax + 0x34], esi
mov ecx, dword [edi + 0x21b4]
je 0x41551a
cmp ecx, 0x17
jmp 0x415525
cmp dword [0x4d7f70], esi
je 0x415533
cmp ecx, 0x13
jl 0x41553e
mov dword [edi + 0x21b4], 3
jmp 0x41553e
cmp ecx, 6
jl 0x41553e
mov dword [edi + 0x21b4], esi
cmp dword [eax + 0x34], esi
je 0x415552
mov eax, dword [edi + 0x21b4]
push dword [eax*4 + 0x4dad80]
jmp 0x41557f
cmp dword [0x4d7f70], esi
jne 0x415572
call fcn.0040e0d7
test eax, eax
je 0x415572
mov eax, dword [edi + 0x21b4]
push dword [eax*4 + 0x4dadf8]
jmp 0x41557f
mov eax, dword [edi + 0x21b4]
push dword [eax*4 + 0x4dae48]
lea eax, [edi + 0x1e58]
call fcn.004174ee
mov dword [edi + 0x1fe4], esi
jmp 0x415707
cmp dword [edi + 0x1f58], esi
jne 0x4155ad
cmp dword [edi + 0x1fe4], 0xf2
jne 0x415707
inc dword [edi + 0x21b4]
mov eax, dword [edi + 0x21b4]
xor ecx, ecx
cmp dword [0x4d7f70], ecx
je 0x4155c8
cmp eax, 2
jmp 0x4155cb
cmp eax, 3
jl 0x4155d3
mov dword [edi + 0x21b4], ecx
mov eax, dword [edi + 0x1f6c]
cmp dword [eax + 0x34], ecx
jmp 0x4154d7
push dword [eax*4 + 0x4dadec]
jmp 0x415658
lea eax, [edi + 0x21b4]
inc dword [eax]
cmp dword [eax], 4
jl 0x4155f9
mov dword [eax], esi
mov eax, dword [eax]
push dword [eax*4 + 0x4daddc]
jmp 0x415658
cmp dword [edi + 0x1f88], esi
je 0x415707
mov eax, dword [edi + 0x1f6c]
cmp dword [eax + 0x34], 0
je 0x415707
xor ecx, ecx
lea eax, [edi + 0x1fb8]
cmp dword [eax], ecx
sete cl
test ecx, ecx
mov dword [eax], ecx
jne 0x41563f
cmp dword [0x4db190], ecx
je 0x415707
lea eax, [edi + 0x21b4]
inc dword [eax]
cmp dword [eax], 8
jl 0x41564f
and dword [eax], 0
mov eax, dword [eax]
push dword [eax*4 + 0x4dad54]
lea eax, [edi + 0x1e58]
call fcn.004174ee
jmp 0x415707
cmp dword [ebp + 8], 0x32
jne 0x4156db
cmp dword [edi + 0x2160], esi
je 0x415707
cmp dword [edi + 0x2164], 0
je 0x415707
mov eax, dword [edi + 0x2170]
add dword [edi + 0x216c], eax
mov ecx, dword [edi + 0x216c]
mov eax, 0xff
cmp ecx, eax
jge 0x4156ac
mov eax, dword [edi + 0x2174]
cmp ecx, eax
jg 0x4156c4
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 0x415707
mov eax, 0x2328
cmp dword [ebp + 8], eax
jne 0x415707
cmp dword [edi + 0x1f88], 0
je 0x415707
cmp dword [0x4db238], 0
je 0x415707
push eax
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
push edi
call fcn.00413b3a
mov ecx, edi
call fcn.0046b278
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040174a
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040174a
or dword [ebp - 4], 0xffffffff
call fcn.0046f57e
call fcn.0048d98a
ret 4