Function at 0x414815
Capabilities:
Check http status code

Disassembly:
push 0x40
mov eax, 0x4a8c12
call fcn.0048bd85
mov edi, ecx
mov dword [ebp - 0x1c], edi
xor ebx, ebx
cmp dword [edi + 0x1f6c], ebx
jne 0x414845
mov eax, dword [edi + 0x1f7c]
mov ecx, dword [0x4d923c]
mov eax, dword [ecx + eax*4]
mov dword [edi + 0x1f6c], eax
lea ecx, [ebp - 0x4c]
call fcn.0046d9dc
mov dword [ebp - 4], ebx
mov byte [ebp - 4], 1
call fcn.0046c34c
push eax
lea ecx, [ebp - 0x14]
call fcn.00401764
mov byte [ebp - 4], 2
call fcn.0046c34c
push eax
lea ecx, [ebp - 0x18]
call fcn.00401764
mov byte [ebp - 4], 3
cmp dword [edi + 0x1f94], ebx
jne 0x415530
mov eax, dword [edi + 0x1eb4]
call fcn.004583f3
test eax, eax
je 0x415530
mov ecx, dword [ebp + 8]
mov eax, 0x96
cmp ecx, eax
jne 0x414970
push eax
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [edi + 0x1f6c]
mov eax, ecx
call fcn.0040de6a
test eax, eax
jne 0x41491b
mov eax, dword [ecx + 0x64]
mov esi, dword [ecx + 0x60]
mov dword [ebp - 0x3c], eax
call fcn.0040ad98
cmp eax, esi
jne 0x41491b
cmp edx, dword [ebp - 0x3c]
jne 0x41491b
mov eax, dword [edi + 0x1f6c]
cmp dword [eax + 0x64], ebx
mov ecx, dword [eax + 0x60]
jl 0x41491b
jg 0x4148ed
cmp ecx, ebx
jbe 0x41491b
mov eax, dword [edi + 0x1eb4]
call fcn.004583f3
test eax, eax
je 0x415530
mov edi, dword [edi + 0x1eb4]
push ebx
push ebx
push 0x8f3
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_PostMessageA]
jmp 0x415530
mov eax, dword [edi + 0x1f6c]
cmp dword [eax + 0x30], ebx
jne 0x415530
push eax
call fcn.0040dd3c
cmp eax, ebx
jne 0x415530
mov dword [ebp + 8], ebx
mov eax, dword [ebp + 8]
cmp eax, 0x28
jge 0x415530
lea esi, [edi + eax*4 + 0x1eb4]
mov eax, dword [esi]
call fcn.004583f3
test eax, eax
je 0x41496b
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 0x41493b
cmp ecx, 0xa
jne 0x41499e
lea eax, [edi + 0x2384]
cmp dword [eax], ebx
je 0x415529
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 0x414910
cmp ecx, 0xb
jne 0x4149c8
lea eax, [edi + 0x2384]
cmp dword [eax], ebx
je 0x415529
push ecx
push dword [edi + 0x20]
mov dword [eax], ebx
call dword [sym.imp.USER32.dll_KillTimer]
push edi
call fcn.0041395c
jmp 0x415530
cmp ecx, 0x3e8
je 0x4149d8
cmp ecx, 0x7d1
jne 0x414a40
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 0x414a40
cmp dword [edi + 0x2164], ebx
je 0x414a40
push 0xfffffffffffffff6
pop esi
cmp dword [edi + 0x2170], esi
je 0x414a40
mov eax, dword [edi + 0x216c]
cmp eax, dword [edi + 0x2174]
jle 0x414a40
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 0x414a40
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 0x414a80
cmp dword [edi + 0x1f88], ebx
je 0x414afc
cmp dword [0x4d91fc], ebx
jne 0x414a69
cmp dword [edi + 0x2388], ebx
je 0x414af0
push ebx
push 0xbb8
mov esi, 0x3e7
push esi
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x414a85
mov esi, 0x3e7
cmp dword [ebp + 8], esi
jne 0x414abb
push esi
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
cmp dword [edi + 0x1f88], ebx
je 0x415529
cmp dword [0x4d91fc], ebx
jne 0x414ab4
cmp dword [edi + 0x2388], ebx
je 0x415529
mov esi, edi
call fcn.004147e4
cmp dword [ebp + 8], 0x457
jne 0x414ae3
cmp dword [edi + 0x1f88], ebx
jne 0x415529
lea eax, [edi + 0x21b8]
inc dword [eax]
cmp dword [eax], 2
jl 0x415529
mov dword [eax], ebx
cmp dword [ebp + 8], 0x3e8
jne 0x415232
cmp dword [edi + 0x1f88], ebx
jne 0x4151a4
mov eax, edi
call fcn.00417957
push eax
mov esi, edi
call fcn.0041f631
lea eax, [ebp - 0x20]
push eax
push edi
call fcn.00418048
mov ebx, eax
mov byte [ebp - 4], 4
call fcn.0041f46c
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.004192cc
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.0046a787
lea eax, [edi + 0x23c4]
xor ebx, ebx
cmp dword [eax], ebx
je 0x414b8e
mov ecx, dword [edi + 0x1f6c]
cmp dword [ecx + 0x1b04], 3
jl 0x414b8e
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 0x414be1
lea esi, [edi + 0x2194]
cmp dword [esi], ebx
jne 0x414bc0
call fcn.004474e2
cmp eax, ebx
je 0x414be1
and dword [edi + 0x217c], 0
xor ebx, ebx
inc ebx
mov dword [esi], ebx
mov esi, edi
call fcn.00419d97
jmp 0x414be4
lea ecx, [edi + 0x217c]
mov eax, dword [ecx]
cmp eax, 0x1e
jge 0x414be1
inc eax
mov dword [ecx], eax
push 5
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x414be1
mov esi, edi
call fcn.00419d97
xor ebx, ebx
inc ebx
mov ecx, edi
call fcn.004175a8
test eax, eax
je 0x414d15
mov ecx, dword [edi + 0x1f6c]
lea edx, [ecx + 0x1b04]
mov eax, dword [edx]
cmp eax, 0xffffffff
je 0x414d15
inc eax
mov dword [edx], eax
push 0xa
cdq
pop esi
idiv esi
test edx, edx
jne 0x414d15
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 [0x4d9140], ebx
mov dword [0x4d9144], ebx
call fcn.0045f8c4
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x20]
push str.Stats
push eax
mov byte [ebp - 4], 6
call fcn.0045f8c4
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.0044935d
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.0045f8c4
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.0045f8c4
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.00448eb3
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 0x414d12
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax + 0x1f70]
call fcn.00449dc3
mov edi, dword [ebp - 0x1c]
lea eax, [edi + 0x2390]
mov ecx, dword [eax]
xor esi, esi
cmp ecx, esi
mov dword [0x4d91e0], esi
jle 0x414d5c
dec ecx
cmp ecx, esi
mov dword [eax], ecx
jne 0x414d5c
or dword [eax], 0xffffffff
mov eax, dword [edi + 0x1eb4]
cmp eax, esi
je 0x414d5c
cmp dword [eax + 0x208], 0x12c
jle 0x414d5c
mov ecx, dword [edi + 0x1f6c]
cmp dword [ecx + 0x11c], esi
je 0x414d5c
call fcn.00444954
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
call fcn.00403e83
cmp eax, esi
je 0x414d76
lea eax, [ebp - 0x14]
push eax
mov ebx, edi
call fcn.0041f4fe
inc dword [edi + 0x21b8]
mov ecx, dword [edi + 0x21b8]
cmp ecx, 8
jge 0x414e65
fld qword [0x4bb5a0]
fcomp qword [edi + 0x22e0]
fnstsw ax
test ah, 0x41
jp 0x414da7
cmp ecx, 6
jge 0x414e65
fld qword [0x4bb560]
fcomp qword [edi + 0x22e0]
fnstsw ax
test ah, 0x41
jp 0x414dc3
cmp ecx, 4
jge 0x414e65
fld qword [0x4bb598]
fcomp qword [edi + 0x22e0]
fnstsw ax
test ah, 0x41
jp 0x414ddf
cmp ecx, 2
jge 0x414e65
cmp ecx, 2
je 0x414dee
cmp ecx, 4
je 0x414dee
cmp ecx, 6
jne 0x414e0e
cmp dword [edi + 0x1fdc], esi
je 0x414e0e
push 1
lea eax, [ebp - 0x3c]
push eax
mov ecx, edi
call fcn.004185b5
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.0040174a
mov eax, dword [edi + 0x1f6c]
call fcn.0040de6a
test eax, eax
je 0x415234
mov ecx, edi
call fcn.004175a8
test eax, eax
lea eax, [edi + 0x1fa4]
je 0x4150bc
cmp dword [eax], esi
je 0x4150e0
mov dword [eax], esi
xor ecx, ecx
cmp ecx, 0x28
jge 0x4150b0
mov eax, dword [edi + ecx*4 + 0x1eb4]
cmp eax, esi
je 0x414e62
cmp dword [eax + 0x11c], esi
jne 0x4150ad
inc ecx
jmp 0x414e42
mov ecx, edi
mov dword [edi + 0x21b8], esi
call fcn.004175a8
test eax, eax
je 0x414ea2
push esi
lea eax, [ebp - 0x3c]
push eax
mov ecx, edi
call fcn.004185b5
mov ebx, eax
mov esi, edi
mov byte [ebp - 4], 0xa
call fcn.0041ee84
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.0040174a
xor esi, esi
jmp 0x414f00
cmp dword [edi + 0x1fa4], esi
jne 0x414f00
cmp dword [edi + 0x1f88], esi
jne 0x414f00
cmp dword [0x4d91fc], esi
je 0x414f00
mov ebx, dword [edi + 0x1eb4]
cmp ebx, esi
je 0x414f00
mov ecx, edi
call fcn.004176bc
test eax, eax
jne 0x414f00
cmp dword [ebx + 0x2d0], 0x1e
jle 0x414f00
cmp dword [ebx + 0x41c], esi
jg 0x414f00
push 1
mov ecx, ebx
call fcn.0044310b
mov eax, dword [edi + 0x1eb4]
mov dword [eax + 0x124], esi
mov ecx, dword [edi + 0x1eb4]
call fcn.00440470
fldz
fcomp qword [edi + 0x22e0]
fnstsw ax
test ah, 0x44
jp 0x414f19
mov dword [edi + 0x21b8], 6
call fcn.00487a05
push 3
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x414f2f
mov ecx, edi
call fcn.00415563
call fcn.00487a05
push 0xa
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x414fa6
mov eax, dword [edi + 0x23a0]
cmp eax, esi
jle 0x414fa1
lea ebx, [eax - 1]
cmp ebx, esi
jl 0x414fa1
lea ecx, [edi + 0x23ac]
push ebx
call fcn.00432e4f
mov dword [ebp - 0x3c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [ebp - 0x3c]
jbe 0x414f9e
lea esi, [edi + 0x2398]
push ebx
mov ecx, esi
call fcn.00432e4f
test eax, eax
je 0x414f84
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 4]
push 1
push ebx
mov ecx, esi
call fcn.00470270
push 1
push ebx
lea ecx, [edi + 0x23ac]
call fcn.00470270
xor esi, esi
dec ebx
jmp 0x414f4b
call fcn.0040df5e
call fcn.00487a05
and eax, reloc.WS2_32.dll_closesocket
jns 0x414fb7
dec eax
or eax, 0xfffffffc
inc eax
jne 0x414e0e
cmp dword [0x4d91fc], esi
jne 0x414fd1
cmp dword [edi + 0x2388], esi
je 0x414e0e
cmp dword [edi + 0x1f88], esi
jne 0x414e0e
cmp dword [0x4d91f8], esi
jne 0x414e0e
cmp dword [edi + 0x1fa4], esi
jne 0x414e0e
mov eax, dword [edi + 0x1f6c]
call fcn.0040de6a
test eax, eax
jne 0x414e0e
cmp dword [edi + 0x1f68], esi
jne 0x414e0e
mov dword [ebp - 0x20], esi
mov eax, dword [ebp - 0x20]
cmp eax, 0x28
jge 0x414e0e
lea ebx, [edi + eax*4 + 0x1eb4]
mov eax, dword [ebx]
cmp eax, esi
je 0x4150a3
cmp dword [eax + 0x284], 0
jne 0x4150a3
cmp dword [eax + 0x144], 0
jne 0x4150a3
xor ecx, ecx
cmp dword [eax + 0x210], ecx
setne cl
test ecx, ecx
jne 0x4150a3
cmp dword [eax + 0x584], ecx
jg 0x4150a3
cmp dword [eax + 0x41c], ecx
jg 0x4150a3
mov eax, dword [eax + 0x2d0]
mov esi, dword [0x4d9428]
mov dword [ebp - 0x3c], eax
call fcn.004701ac
mov ecx, dword [eax + 4]
push 0x3c
push str.ConnectTimeout
push esi
call fcn.0046f5f5
cmp dword [ebp - 0x3c], eax
jle 0x4150a3
mov ecx, dword [ebx]
push 1
call fcn.0044310b
mov eax, dword [ebx]
and dword [eax + 0x124], 0
mov ecx, dword [ebx]
call fcn.00440470
inc dword [ebp - 0x20]
xor esi, esi
jmp 0x415017
push esi
jmp 0x4150b2
push 2
mov ebx, edi
call fcn.004124af
push esi
jmp 0x4150d7
cmp dword [eax], esi
jne 0x4150e0
cmp dword [edi + 0x1f88], esi
jne 0x4150e0
xor ecx, ecx
inc ecx
push ecx
mov ebx, edi
mov dword [eax], ecx
call fcn.004124af
push 6
push 0xffffffffffffff9d
mov ecx, edi
call fcn.0041a599
mov eax, dword [edi + 0x1f6c]
cmp dword [eax + 0x30], esi
jne 0x415234
cmp dword [edi + 0x1f8c], esi
je 0x415133
cmp dword [edi + 0x1f88], esi
jne 0x415234
xor ebx, ebx
cmp ebx, 0x28
jge 0x415128
lea esi, [edi + ebx*4 + 0x1eb4]
mov eax, dword [esi]
call fcn.004583f3
test eax, eax
je 0x415123
mov esi, dword [esi]
call fcn.00429109
inc ebx
xor esi, esi
jmp 0x415105
mov dword [edi + 0x1f8c], esi
jmp 0x415234
cmp dword [edi + 0x1f88], esi
jne 0x415234
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.0041775e
cmp dword [ebp - 0x3c], 0
jl 0x41522f
jg 0x415176
cmp dword [ebp - 0x40], 0
jbe 0x41522f
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x3c]
jl 0x41522f
jg 0x415190
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x40]
jb 0x41522f
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x1f8c], 1
mov edi, eax
jmp 0x415232
mov eax, dword [edi + 0x1f6c]
cmp dword [eax + 0x30], ebx
je 0x415529
inc dword [edi + 0x21b8]
mov eax, dword [edi + 0x21b8]
and eax, reloc.WS2_32.dll_accept
jns 0x4151cb
dec eax
or eax, 0xfffffffe
inc eax
jne 0x4151e5
push 1
lea eax, [ebp - 0x3c]
push eax
mov ecx, edi
call fcn.004185b5
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.0040174a
cmp dword [edi + 0x21b8], 8
jl 0x4151f4
mov dword [edi + 0x21b8], ebx
call fcn.00487a05
push 0xf
cdq
pop ecx
idiv ecx
test edx, edx
jne 0x415529
lea eax, [ebp - 0x3c]
push eax
push edi
call fcn.00418048
mov ebx, eax
mov esi, edi
mov byte [ebp - 4], 0xb
call fcn.0041f46c
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x3c]
add ecx, 0xfffffff0
call fcn.0040174a
jmp 0x415232
mov edi, dword [ebp - 0x1c]
xor esi, esi
cmp dword [ebp + 8], 0xc8
jne 0x41548a
cmp dword [edi + 0x1f88], esi
jne 0x415432
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_IsIconic]
test eax, eax
jne 0x415426
cmp dword [edi + 0x1f98], esi
jne 0x415426
cmp dword [edi + 0x1f9c], esi
jne 0x415426
cmp dword [edi + 0x1fa4], esi
jne 0x415426
xor ecx, ecx
lea eax, [edi + 0x1fb8]
cmp dword [eax], esi
sete cl
cmp ecx, esi
mov dword [eax], ecx
jne 0x4152a3
cmp dword [0x4d9168], esi
je 0x415529
xor esi, esi
cmp dword [edi + 0x1f54], esi
jne 0x41540c
mov eax, dword [edi + 0x1eb4]
cmp dword [eax + 0x128], esi
jne 0x41540c
mov ecx, edi
call fcn.004176bc
test eax, eax
je 0x415311
inc dword [edi + 0x21b4]
cmp dword [0x4d5f70], esi
mov eax, dword [edi + 0x21b4]
je 0x4152e5
cmp eax, 2
jmp 0x4152e8
cmp eax, 3
jl 0x4152f0
mov dword [edi + 0x21b4], esi
mov eax, dword [edi + 0x1f6c]
cmp dword [eax + 0x30], esi
mov eax, dword [edi + 0x21b4]
je 0x415403
push dword [eax*4 + 0x4d8d34]
jmp 0x41547a
mov ecx, edi
call fcn.004175a8
test eax, eax
je 0x4153b7
inc dword [edi + 0x21b4]
mov eax, dword [edi + 0x1f6c]
cmp dword [eax + 0x30], esi
mov ecx, dword [edi + 0x21b4]
je 0x41533c
cmp ecx, 0x17
jmp 0x415347
cmp dword [0x4d5f70], esi
je 0x415355
cmp ecx, 0x13
jl 0x415360
mov dword [edi + 0x21b4], 3
jmp 0x415360
cmp ecx, 6
jl 0x415360
mov dword [edi + 0x21b4], esi
cmp dword [eax + 0x30], esi
je 0x415374
mov eax, dword [edi + 0x21b4]
push dword [eax*4 + 0x4d8d40]
jmp 0x4153a1
cmp dword [0x4d5f70], esi
jne 0x415394
call fcn.0040de6a
test eax, eax
je 0x415394
mov eax, dword [edi + 0x21b4]
push dword [eax*4 + 0x4d8db8]
jmp 0x4153a1
mov eax, dword [edi + 0x21b4]
push dword [eax*4 + 0x4d8e08]
lea eax, [edi + 0x1e58]
call fcn.004172fc
mov dword [edi + 0x1fe4], esi
jmp 0x415529
cmp dword [edi + 0x1f58], esi
jne 0x4153cf
cmp dword [edi + 0x1fe4], 0xf2
jne 0x415529
inc dword [edi + 0x21b4]
mov eax, dword [edi + 0x21b4]
xor ecx, ecx
cmp dword [0x4d5f70], ecx
je 0x4153ea
cmp eax, 2
jmp 0x4153ed
cmp eax, 3
jl 0x4153f5
mov dword [edi + 0x21b4], ecx
mov eax, dword [edi + 0x1f6c]
cmp dword [eax + 0x30], ecx
jmp 0x4152f9
push dword [eax*4 + 0x4d8dac]
jmp 0x41547a
lea eax, [edi + 0x21b4]
inc dword [eax]
cmp dword [eax], 4
jl 0x41541b
mov dword [eax], esi
mov eax, dword [eax]
push dword [eax*4 + 0x4d8d9c]
jmp 0x41547a
cmp dword [edi + 0x1f88], esi
je 0x415529
mov eax, dword [edi + 0x1f6c]
cmp dword [eax + 0x30], 0
je 0x415529
xor ecx, ecx
lea eax, [edi + 0x1fb8]
cmp dword [eax], ecx
sete cl
test ecx, ecx
mov dword [eax], ecx
jne 0x415461
cmp dword [0x4d9168], ecx
je 0x415529
lea eax, [edi + 0x21b4]
inc dword [eax]
cmp dword [eax], 8
jl 0x415471
and dword [eax], 0
mov eax, dword [eax]
push dword [eax*4 + 0x4d8d14]
lea eax, [edi + 0x1e58]
call fcn.004172fc
jmp 0x415529
cmp dword [ebp + 8], 0x32
jne 0x4154fd
cmp dword [edi + 0x2160], esi
je 0x415529
cmp dword [edi + 0x2164], 0
je 0x415529
mov eax, dword [edi + 0x2170]
add dword [edi + 0x216c], eax
mov ecx, dword [edi + 0x216c]
mov eax, 0xff
cmp ecx, eax
jge 0x4154ce
mov eax, dword [edi + 0x2174]
cmp ecx, eax
jg 0x4154e6
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 0x415529
mov eax, 0x2328
cmp dword [ebp + 8], eax
jne 0x415529
cmp dword [edi + 0x1f88], 0
je 0x415529
cmp dword [0x4d91fc], 0
je 0x415529
push eax
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_KillTimer]
push edi
call fcn.0041395c
mov ecx, edi
call fcn.004696a6
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.0046d9f2
call fcn.0048be2a
ret 4