Function at 0x414a98
Capabilities:
Check http status code

Disassembly:
push 0x40
mov eax, 0x4ab4e5
call fcn.0048e205
mov edi, ecx
mov dword [ebp - 0x1c], edi
xor ebx, ebx
cmp dword [edi + 0x1f6c], ebx
jne 0x414ac8
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.0046fe4a
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
call fcn.0046e7df
push eax
lea ecx, [ebp - 0x14]
call fcn.00401764
mov byte [ebp - 4], 2
call fcn.0046e7df
push eax
lea ecx, [ebp - 0x18]
call fcn.00401764
mov byte [ebp - 4], 3
cmp dword [edi + 0x1f94], ebx
jne 0x4157b3
mov eax, dword [edi + 0x1eb4]
call fcn.00459eff
test eax, eax
je 0x4157b3
mov ecx, dword [ebp + 8]
mov eax, 0x96
cmp ecx, eax
jne 0x414bf3
push eax
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [edi + 0x1f6c]
mov eax, ecx
call fcn.0040e120
test eax, eax
jne 0x414b9e
mov eax, dword [ecx + 0x6c]
mov esi, dword [ecx + 0x68]
mov dword [ebp - 0x3c], eax
call fcn.0040af4a
cmp eax, esi
jne 0x414b9e
cmp edx, dword [ebp - 0x3c]
jne 0x414b9e
mov eax, dword [edi + 0x1f6c]
cmp dword [eax + 0x6c], ebx
mov ecx, dword [eax + 0x68]
jl 0x414b9e
jg 0x414b70
cmp ecx, ebx
jbe 0x414b9e
mov eax, dword [edi + 0x1eb4]
call fcn.00459eff
test eax, eax
je 0x4157b3
mov edi, dword [edi + 0x1eb4]
push ebx
push ebx
push 0x8f3
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x4157b3
mov eax, dword [edi + 0x1f6c]
cmp dword [eax + 0x34], ebx
jne 0x4157b3
push eax
call fcn.0040dff2
cmp eax, ebx
jne 0x4157b3
mov dword [ebp + 8], ebx
mov eax, dword [ebp + 8]
cmp eax, 0x28
jge 0x4157b3
lea esi, [edi + eax*4 + 0x1eb4]
mov eax, dword [esi]
call fcn.00459eff
test eax, eax
je 0x414bee
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 0x414bbe
cmp ecx, 0xa
jne 0x414c21
lea eax, [edi + 0x2384]
cmp dword [eax], ebx
je 0x4157ac
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 0x414b93
cmp ecx, 0xb
jne 0x414c4b
lea eax, [edi + 0x2384]
cmp dword [eax], ebx
je 0x4157ac
push ecx
push dword [edi + 0x20]
mov dword [eax], ebx
call dword [sym.imp.USER32.dll_KillTimer]
push edi
call fcn.00413bdf
jmp 0x4157b3
cmp ecx, 0x3e8
je 0x414c5b
cmp ecx, 0x7d1
jne 0x414cc3
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 0x414cc3
cmp dword [edi + 0x2164], ebx
je 0x414cc3
push 0xfffffffffffffff6
pop esi
cmp dword [edi + 0x2170], esi
je 0x414cc3
mov eax, dword [edi + 0x216c]
cmp eax, dword [edi + 0x2174]
jle 0x414cc3
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 0x414cc3
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 0x414d03
cmp dword [edi + 0x1f88], ebx
je 0x414d7f
cmp dword [0x4db238], ebx
jne 0x414cec
cmp dword [edi + 0x2388], ebx
je 0x414d73
push ebx
push 0xbb8
mov esi, 0x3e7
push esi
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x414d08
mov esi, 0x3e7
cmp dword [ebp + 8], esi
jne 0x414d3e
push esi
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
cmp dword [edi + 0x1f88], ebx
je 0x4157ac
cmp dword [0x4db238], ebx
jne 0x414d37
cmp dword [edi + 0x2388], ebx
je 0x4157ac
mov esi, edi
call fcn.00414a67
cmp dword [ebp + 8], 0x457
jne 0x414d66
cmp dword [edi + 0x1f88], ebx
jne 0x4157ac
lea eax, [edi + 0x21b8]
inc dword [eax]
cmp dword [eax], 2
jl 0x4157ac
mov dword [eax], ebx
cmp dword [ebp + 8], 0x3e8
jne 0x4154b5
cmp dword [edi + 0x1f88], ebx
jne 0x415427
mov eax, edi
call fcn.00417be6
push eax
mov esi, edi
call fcn.0042022a
lea eax, [ebp - 0x20]
push eax
push edi
call fcn.004182d7
mov ebx, eax
mov byte [ebp - 4], 4
call fcn.00420065
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.0041955b
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 5
call fcn.004018c1
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.0046cc1a
lea eax, [edi + 0x23c4]
xor esi, esi
cmp dword [eax], esi
je 0x414e11
mov ecx, dword [edi + 0x1f6c]
cmp dword [ecx + 0x1b0c], 3
jl 0x414e11
push esi
push esi
push 0x8f8
push dword [edi + 0x20]
mov dword [eax], esi
call dword [sym.imp.USER32.dll_PostMessageA]
mov ecx, dword [edi + 0x2180]
cmp ecx, esi
je 0x414e64
lea ebx, [edi + 0x2194]
cmp dword [ebx], esi
jne 0x414e43
call fcn.00448a43
cmp eax, esi
je 0x414e64
and dword [edi + 0x217c], 0
xor esi, esi
inc esi
mov ecx, edi
mov dword [ebx], esi
call fcn.0041a1aa
jmp 0x414e67
lea ecx, [edi + 0x217c]
mov eax, dword [ecx]
cmp eax, 0x1e
jge 0x414e64
inc eax
mov dword [ecx], eax
push 5
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x414e64
mov ecx, edi
call fcn.0041a1aa
xor esi, esi
inc esi
mov ecx, edi
call fcn.00417837
test eax, eax
je 0x414f98
mov ecx, dword [edi + 0x1f6c]
lea edx, [ecx + 0x1b0c]
mov eax, dword [edx]
cmp eax, 0xffffffff
je 0x414f98
inc eax
mov dword [edx], eax
push 0xa
cdq
pop ebx
idiv ebx
test edx, edx
jne 0x414f98
mov dword [ecx + 0xc], esi
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], esi
mov dword [0x4db16c], esi
call fcn.00461ac5
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x20]
push str.Stats
push eax
mov byte [ebp - 4], 6
call fcn.00461ac5
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.0044a929
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.00461ac5
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.00461ac5
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.0044a47f
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 0x414f95
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x1f70]
call fcn.0044b38f
mov edi, dword [ebp - 0x1c]
lea eax, [edi + 0x2390]
mov ecx, dword [eax]
xor esi, esi
cmp ecx, esi
mov dword [0x4db21c], esi
jle 0x414fdf
dec ecx
cmp ecx, esi
mov dword [eax], ecx
jne 0x414fdf
or dword [eax], 0xffffffff
mov eax, dword [edi + 0x1eb4]
cmp eax, esi
je 0x414fdf
cmp dword [eax + 0x208], 0x12c
jle 0x414fdf
mov ecx, dword [edi + 0x1f6c]
cmp dword [ecx + 0x124], esi
je 0x414fdf
call fcn.004459c4
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
call fcn.00403f56
cmp eax, esi
je 0x414ff9
lea eax, [ebp - 0x14]
push eax
mov ebx, edi
call fcn.004200f7
inc dword [edi + 0x21b8]
mov ecx, dword [edi + 0x21b8]
cmp ecx, 8
jge 0x4150e8
fld qword [0x4bd8a0]
fcomp qword [edi + 0x22e0]
fnstsw ax
test ah, 0x41
jp 0x41502a
cmp ecx, 6
jge 0x4150e8
fld qword [0x4bd860]
fcomp qword [edi + 0x22e0]
fnstsw ax
test ah, 0x41
jp 0x415046
cmp ecx, 4
jge 0x4150e8
fld qword [0x4bd898]
fcomp qword [edi + 0x22e0]
fnstsw ax
test ah, 0x41
jp 0x415062
cmp ecx, 2
jge 0x4150e8
cmp ecx, 2
je 0x415071
cmp ecx, 4
je 0x415071
cmp ecx, 6
jne 0x415091
cmp dword [edi + 0x1fdc], esi
je 0x415091
push 1
lea eax, [ebp - 0x3c]
push eax
mov ecx, edi
call fcn.00418844
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.0040174a
mov eax, dword [edi + 0x1f6c]
call fcn.0040e120
test eax, eax
je 0x4154b7
mov ecx, edi
call fcn.00417837
test eax, eax
lea eax, [edi + 0x1fa4]
je 0x41533f
cmp dword [eax], esi
je 0x415363
mov dword [eax], esi
xor ecx, ecx
cmp ecx, 0x28
jge 0x415333
mov eax, dword [edi + ecx*4 + 0x1eb4]
cmp eax, esi
je 0x4150e5
cmp dword [eax + 0x11c], esi
jne 0x415330
inc ecx
jmp 0x4150c5
mov ecx, edi
mov dword [edi + 0x21b8], esi
call fcn.00417837
test eax, eax
je 0x415125
push esi
lea eax, [ebp - 0x3c]
push eax
mov ecx, edi
call fcn.00418844
mov ebx, eax
mov esi, edi
mov byte [ebp - 4], 0xa
call fcn.0041fa7d
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.0040174a
xor esi, esi
jmp 0x415183
cmp dword [edi + 0x1fa4], esi
jne 0x415183
cmp dword [edi + 0x1f88], esi
jne 0x415183
cmp dword [0x4db238], esi
je 0x415183
mov ebx, dword [edi + 0x1eb4]
cmp ebx, esi
je 0x415183
mov ecx, edi
call fcn.0041794b
test eax, eax
jne 0x415183
cmp dword [ebx + 0x2d0], 0x1e
jle 0x415183
cmp dword [ebx + 0x41c], esi
jg 0x415183
push 1
mov ecx, ebx
call fcn.00444051
mov eax, dword [edi + 0x1eb4]
mov dword [eax + 0x124], esi
mov ecx, dword [edi + 0x1eb4]
call fcn.004413a1
fldz
fcomp qword [edi + 0x22e0]
fnstsw ax
test ah, 0x44
jp 0x41519c
mov dword [edi + 0x21b8], 6
call fcn.00489e85
push 3
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x4151b2
mov ecx, edi
call fcn.004157e6
call fcn.00489e85
push 0xa
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x415229
mov eax, dword [edi + 0x23a0]
cmp eax, esi
jle 0x415224
lea ebx, [eax - 1]
cmp ebx, esi
jl 0x415224
lea ecx, [edi + 0x23ac]
push ebx
call fcn.00433db3
mov dword [ebp - 0x3c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [ebp - 0x3c]
jbe 0x415221
lea esi, [edi + 0x2398]
push ebx
mov ecx, esi
call fcn.00433db3
test eax, eax
je 0x415207
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 4]
push 1
push ebx
mov ecx, esi
call fcn.0047be23
push 1
push ebx
lea ecx, [edi + 0x23ac]
call fcn.0047be23
xor esi, esi
dec ebx
jmp 0x4151ce
call fcn.0040e214
call fcn.00489e85
and eax, reloc.WS2_32.dll_closesocket
jns 0x41523a
dec eax
or eax, 0xfffffffc
inc eax
jne 0x415091
cmp dword [0x4db238], esi
jne 0x415254
cmp dword [edi + 0x2388], esi
je 0x415091
cmp dword [edi + 0x1f88], esi
jne 0x415091
cmp dword [0x4db234], esi
jne 0x415091
cmp dword [edi + 0x1fa4], esi
jne 0x415091
mov eax, dword [edi + 0x1f6c]
call fcn.0040e120
test eax, eax
jne 0x415091
cmp dword [edi + 0x1f68], esi
jne 0x415091
mov dword [ebp - 0x20], esi
mov eax, dword [ebp - 0x20]
cmp eax, 0x28
jge 0x415091
lea ebx, [edi + eax*4 + 0x1eb4]
mov eax, dword [ebx]
cmp eax, esi
je 0x415326
cmp dword [eax + 0x284], 0
jne 0x415326
cmp dword [eax + 0x144], 0
jne 0x415326
xor ecx, ecx
cmp dword [eax + 0x210], ecx
setne cl
test ecx, ecx
jne 0x415326
cmp dword [eax + 0x584], ecx
jg 0x415326
cmp dword [eax + 0x41c], ecx
jg 0x415326
mov eax, dword [eax + 0x2d0]
mov esi, dword [0x4db468]
mov dword [ebp - 0x3c], eax
call fcn.0047261a
mov ecx, dword [eax + 4]
push 0x3c
push str.ConnectTimeout
push esi
call fcn.00471a63
cmp dword [ebp - 0x3c], eax
jle 0x415326
mov ecx, dword [ebx]
push 1
call fcn.00444051
mov eax, dword [ebx]
and dword [eax + 0x124], 0
mov ecx, dword [ebx]
call fcn.004413a1
inc dword [ebp - 0x20]
xor esi, esi
jmp 0x41529a
push esi
jmp 0x415335
push 2
mov ebx, edi
call fcn.0041270c
push esi
jmp 0x41535a
cmp dword [eax], esi
jne 0x415363
cmp dword [edi + 0x1f88], esi
jne 0x415363
xor ecx, ecx
inc ecx
push ecx
mov ebx, edi
mov dword [eax], ecx
call fcn.0041270c
push 6
push 0xffffffffffffff9d
mov ecx, edi
call fcn.0041a9bc
mov eax, dword [edi + 0x1f6c]
cmp dword [eax + 0x34], esi
jne 0x4154b7
cmp dword [edi + 0x1f8c], esi
je 0x4153b6
cmp dword [edi + 0x1f88], esi
jne 0x4154b7
xor ebx, ebx
cmp ebx, 0x28
jge 0x4153ab
lea esi, [edi + ebx*4 + 0x1eb4]
mov eax, dword [esi]
call fcn.00459eff
test eax, eax
je 0x4153a6
mov esi, dword [esi]
call fcn.00429be5
inc ebx
xor esi, esi
jmp 0x415388
mov dword [edi + 0x1f8c], esi
jmp 0x4154b7
cmp dword [edi + 0x1f88], esi
jne 0x4154b7
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.004179ed
cmp dword [ebp - 0x3c], 0
jl 0x4154b2
jg 0x4153f9
cmp dword [ebp - 0x40], 0
jbe 0x4154b2
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x3c]
jl 0x4154b2
jg 0x415413
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x40]
jb 0x4154b2
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x1f8c], 1
mov edi, eax
jmp 0x4154b5
mov eax, dword [edi + 0x1f6c]
cmp dword [eax + 0x34], ebx
je 0x4157ac
inc dword [edi + 0x21b8]
mov eax, dword [edi + 0x21b8]
and eax, reloc.WS2_32.dll_accept
jns 0x41544e
dec eax
or eax, 0xfffffffe
inc eax
jne 0x415468
push 1
lea eax, [ebp - 0x3c]
push eax
mov ecx, edi
call fcn.00418844
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.0040174a
cmp dword [edi + 0x21b8], 8
jl 0x415477
mov dword [edi + 0x21b8], ebx
call fcn.00489e85
push 0xf
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x4157ac
lea eax, [ebp - 0x3c]
push eax
push edi
call fcn.004182d7
mov ebx, eax
mov esi, edi
mov byte [ebp - 4], 0xb
call fcn.00420065
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.0040174a
jmp 0x4154b5
mov edi, dword [ebp - 0x1c]
xor esi, esi
cmp dword [ebp + 8], 0xc8
jne 0x41570d
cmp dword [edi + 0x1f88], esi
jne 0x4156b5
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x4156a9
cmp dword [edi + 0x1f98], esi
jne 0x4156a9
cmp dword [edi + 0x1f9c], esi
jne 0x4156a9
cmp dword [edi + 0x1fa4], esi
jne 0x4156a9
xor ecx, ecx
lea eax, [edi + 0x1fb8]
cmp dword [eax], esi
sete cl
cmp ecx, esi
mov dword [eax], ecx
jne 0x415526
cmp dword [0x4db190], esi
je 0x4157ac
xor esi, esi
cmp dword [edi + 0x1f54], esi
jne 0x41568f
mov eax, dword [edi + 0x1eb4]
cmp dword [eax + 0x128], esi
jne 0x41568f
mov ecx, edi
call fcn.0041794b
test eax, eax
je 0x415594
inc dword [edi + 0x21b4]
cmp dword [0x4d7f70], esi
mov eax, dword [edi + 0x21b4]
je 0x415568
cmp eax, 2
jmp 0x41556b
cmp eax, 3
jl 0x415573
mov dword [edi + 0x21b4], esi
mov eax, dword [edi + 0x1f6c]
cmp dword [eax + 0x34], esi
mov eax, dword [edi + 0x21b4]
je 0x415686
push dword [eax*4 + 0x4dad74]
jmp 0x4156fd
mov ecx, edi
call fcn.00417837
test eax, eax
je 0x41563a
inc dword [edi + 0x21b4]
mov eax, dword [edi + 0x1f6c]
cmp dword [eax + 0x34], esi
mov ecx, dword [edi + 0x21b4]
je 0x4155bf
cmp ecx, 0x17
jmp 0x4155ca
cmp dword [0x4d7f70], esi
je 0x4155d8
cmp ecx, 0x13
jl 0x4155e3
mov dword [edi + 0x21b4], 3
jmp 0x4155e3
cmp ecx, 6
jl 0x4155e3
mov dword [edi + 0x21b4], esi
cmp dword [eax + 0x34], esi
je 0x4155f7
mov eax, dword [edi + 0x21b4]
push dword [eax*4 + 0x4dad80]
jmp 0x415624
cmp dword [0x4d7f70], esi
jne 0x415617
call fcn.0040e120
test eax, eax
je 0x415617
mov eax, dword [edi + 0x21b4]
push dword [eax*4 + 0x4dadf8]
jmp 0x415624
mov eax, dword [edi + 0x21b4]
push dword [eax*4 + 0x4dae48]
lea eax, [edi + 0x1e58]
call fcn.0041758b
mov dword [edi + 0x1fe4], esi
jmp 0x4157ac
cmp dword [edi + 0x1f58], esi
jne 0x415652
cmp dword [edi + 0x1fe4], 0xf2
jne 0x4157ac
inc dword [edi + 0x21b4]
mov eax, dword [edi + 0x21b4]
xor ecx, ecx
cmp dword [0x4d7f70], ecx
je 0x41566d
cmp eax, 2
jmp 0x415670
cmp eax, 3
jl 0x415678
mov dword [edi + 0x21b4], ecx
mov eax, dword [edi + 0x1f6c]
cmp dword [eax + 0x34], ecx
jmp 0x41557c
push dword [eax*4 + 0x4dadec]
jmp 0x4156fd
lea eax, [edi + 0x21b4]
inc dword [eax]
cmp dword [eax], 4
jl 0x41569e
mov dword [eax], esi
mov eax, dword [eax]
push dword [eax*4 + 0x4daddc]
jmp 0x4156fd
cmp dword [edi + 0x1f88], esi
je 0x4157ac
mov eax, dword [edi + 0x1f6c]
cmp dword [eax + 0x34], 0
je 0x4157ac
xor ecx, ecx
lea eax, [edi + 0x1fb8]
cmp dword [eax], ecx
sete cl
test ecx, ecx
mov dword [eax], ecx
jne 0x4156e4
cmp dword [0x4db190], ecx
je 0x4157ac
lea eax, [edi + 0x21b4]
inc dword [eax]
cmp dword [eax], 8
jl 0x4156f4
and dword [eax], 0
mov eax, dword [eax]
push dword [eax*4 + 0x4dad54]
lea eax, [edi + 0x1e58]
call fcn.0041758b
jmp 0x4157ac
cmp dword [ebp + 8], 0x32
jne 0x415780
cmp dword [edi + 0x2160], esi
je 0x4157ac
cmp dword [edi + 0x2164], 0
je 0x4157ac
mov eax, dword [edi + 0x2170]
add dword [edi + 0x216c], eax
mov ecx, dword [edi + 0x216c]
mov eax, 0xff
cmp ecx, eax
jge 0x415751
mov eax, dword [edi + 0x2174]
cmp ecx, eax
jg 0x415769
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 0x4157ac
mov eax, 0x2328
cmp dword [ebp + 8], eax
jne 0x4157ac
cmp dword [edi + 0x1f88], 0
je 0x4157ac
cmp dword [0x4db238], 0
je 0x4157ac
push eax
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
push edi
call fcn.00413bdf
mov ecx, edi
call fcn.0046bb53
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.0046fe60
call fcn.0048e2aa
ret 4