Function at 0x41a3f0
Capabilities:
Check http status code
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x2ec
mov eax, dword [0x5aeb30]
xor eax, esp
mov dword [esp + 0x2e8], eax
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [esi + 0xf88]
xor eax, eax
test edi, edi
jle 0x41a453
mov ecx, edi
lea edx, [esi + 0xf68]
mov dword [esp + 0x10], ecx
jmp 0x41a430
mov ecx, dword [edx]
lea ebx, [ecx*8]
sub ebx, ecx
cmp byte [esi + ebx*4 + 0x170], 0
je 0x41a446
inc eax
add edx, 4
dec dword [esp + 0x10]
jne 0x41a430
test eax, eax
jne 0x41a45d
mov eax, edi
imul eax, edi
sub eax, 9
jmp 0x41a46d
mov ecx, edi
sub ecx, eax
imul ecx, ecx
imul eax, eax
lea edx, [eax + eax*4]
lea eax, [ecx + edx*2]
mov dword [esp + 0x20], eax
test eax, eax
js 0x41a49c
push eax
lea eax, [esi + 0xfb4]
push 0x58a174
push eax
call fcn.00403cd0
add esp, 0xc
push 0x1a
lea ecx, [esi + 0xfb8]
push 0x58a17c
call fcn.004042c0
cmp dword [esi + 0xf88], 0
mov dword [esi + 0x10c], 1
mov dword [esp + 0x10], 0
jle 0x41a611
lea ecx, [esi + 0xf68]
mov dword [esp + 0xc], ecx
jmp 0x41a4d0
push 3
push str..wavclear2.wav
call dword [sym.imp.winmm.dll_sndPlaySoundW]
mov edx, dword [esp + 0xc]
mov eax, dword [edx]
lea ecx, [eax*8]
sub ecx, eax
cmp byte [esi + ecx*4 + 0x170], 1
jne 0x41a4fc
inc dword [esi + 0x112c]
mov eax, dword [esi + 0xf8c]
mov edi, dword [eax - 0xc]
mov ebx, 1
cmp edi, ebx
jge 0x41a514
mov ebx, edi
test edi, edi
jle 0x41a581
sub edi, ebx
cmp dword [eax - 4], 1
jle 0x41a52b
mov edx, dword [eax - 0xc]
push edx
lea ecx, [esi + 0xf8c]
call fcn.004040f0
mov eax, dword [esi + 0xf8c]
lea ecx, [edi + edi + 2]
push ecx
lea edx, [eax + ebx*2]
push edx
push ecx
push eax
call fcn.00534acf
add esp, 0x10
cmp eax, 0x50
ja case.0x41a554.1
movzx eax, byte [eax + 0x41afd4]
jmp dword [eax*4 + 0x41afc4]
test edi, edi
js 0x41a6f3
mov eax, dword [esi + 0xf8c]
cmp edi, dword [eax - 8]
jg 0x41a6f3
mov dword [eax - 0xc], edi
mov ecx, dword [esi + 0xf8c]
xor edx, edx
mov word [ecx + edi*2], dx
mov edi, 4
cmp edi, 9
jne 0x41a5a6
mov eax, dword [esp + 0xc]
mov eax, dword [eax]
add eax, 0xd
lea ecx, [eax*8]
sub ecx, eax
mov dword [esi + ecx*4], 0
jmp 0x41a5bb
mov edx, dword [esp + 0xc]
mov eax, dword [edx]
add eax, 0xd
lea ecx, [eax*8]
sub ecx, eax
mov dword [esi + ecx*4], edi
mov eax, dword [esp + 0x20]
test eax, eax
jle 0x41a5cc
inc dword [esi + 0x1130]
dec eax
jmp 0x41a5d5
jns 0x41a5d9
dec dword [esi + 0x1130]
inc eax
mov dword [esp + 0x20], eax
inc dword [esi + 0x10c]
push str.1111
call fcn.00417a40
push 3
call dword [sym.imp.kernel32.dll_Sleep]
inc edi
cmp edi, 0xa
jl 0x41a586
mov eax, dword [esp + 0x10]
add dword [esp + 0xc], 4
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [esi + 0xf88]
jl 0x41a4d0
xor eax, eax
xor ebx, ebx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
cmp dword [esi + 0xf88], eax
jle 0x41a725
mov edx, dword [esi + 0xf88]
lea ecx, [esi + 0xf68]
mov dword [esp + 0x10], edx
lea ecx, [ecx]
mov eax, dword [ecx]
lea edx, [eax*8]
sub edx, eax
mov edi, dword [esi + edx*4 + 0x15c]
lea eax, [esi + edx*4]
mov dword [esp + 0x14], eax
cmp edi, 0xa
jle 0x41a704
mov eax, dword [ecx]
lea edx, [eax*8]
sub edx, eax
lea eax, [esi + edx*4]
mov edx, dword [eax + 0x158]
mov eax, dword [eax + 0x15c]
lea edx, [edx + edx*4]
lea edx, [eax + edx*4]
mov eax, dword [esi + edx*4 + 0xc44]
add eax, 0xd
lea edx, [eax*8]
sub edx, eax
cmp dword [esi + edx*4], 1
jne 0x41a6fd
mov eax, dword [ecx]
lea edx, [eax*8]
sub edx, eax
lea eax, [esi + edx*4]
mov edx, dword [eax + 0x158]
mov eax, dword [eax + 0x15c]
lea edx, [edx + edx*4]
lea edx, [eax + edx*4]
mov eax, dword [esi + edx*4 + 0xc44]
mov dword [esp + ebx*4 + 0x50], eax
inc ebx
jmp 0x41a714
call fcn.00437a33
call fcn.00437a6b
push 0x80070057
call fcn.00404270
mov eax, dword [esp + 0x14]
cmp edi, 0xa
jne 0x41a714
mov edx, dword [eax + 0x158]
mov dword [esp + edx*4 + 0x28], 1
add ecx, 4
dec dword [esp + 0x10]
jne 0x41a660
mov dword [esp + 0xc], ebx
mov ebx, dword [esi + 0xf88]
dec ebx
js 0x41a97a
lea edi, [esi + ebx*4 + 0xf68]
lea esp, [esp]
mov eax, dword [edi]
add eax, 0xd
lea ecx, [eax*8]
sub ecx, eax
mov dword [esi + ecx*4], 3
call fcn.005355f4
cdq
mov ecx, 9
idiv ecx
mov eax, dword [edi]
lea ecx, [eax*8]
sub ecx, eax
inc edx
mov dword [esi + ecx*4 + 0x168], edx
call fcn.005355f4
cdq
mov ecx, 0x1e
idiv ecx
test edx, edx
jne 0x41a79c
mov eax, dword [edi]
lea edx, [eax*8]
sub edx, eax
mov dword [esi + edx*4 + 0x168], 0
mov eax, dword [esi + 0x1124]
shl eax, 4
cmp dword [eax + 0x589c70], 0xffffffff
jle 0x41a7f2
cmp dword [eax + 0x589c7c], 0
jle 0x41a7f2
mov eax, dword [esi + 0x1124]
shl eax, 4
mov dword [esp + 0x10], eax
call fcn.005355f4
mov ecx, dword [esp + 0x10]
cdq
idiv dword [ecx + 0x589c7c]
test edx, edx
jne 0x41a7f2
mov eax, dword [edi]
lea edx, [eax*8]
sub edx, eax
mov eax, ecx
mov ecx, dword [eax + 0x589c70]
mov dword [esi + edx*4 + 0x168], ecx
mov eax, dword [esi + 0x1124]
shl eax, 4
mov ecx, dword [eax + 0x589c74]
cmp dword [esi + 0x1128], ecx
jge 0x41a898
cmp dword [eax + 0x589c78], ecx
jge 0x41a898
mov eax, dword [eax + 0x589c70]
cmp eax, 0xffffffff
jle 0x41a84d
mov ecx, dword [edi]
lea edx, [ecx*8]
sub edx, ecx
cmp eax, dword [esi + edx*4 + 0x168]
lea ecx, [esi + edx*4]
jne 0x41a84a
mov byte [ecx + 0x170], 1
inc dword [esi + 0x1128]
jmp 0x41a8ab
cmp eax, 0xffffffff
jne 0x41a883
call fcn.005355f4
mov ecx, dword [esi + 0x1124]
shl ecx, 4
cdq
idiv dword [ecx + 0x589c7c]
test edx, edx
jne 0x41a883
mov eax, dword [edi]
lea edx, [eax*8]
sub edx, eax
mov byte [esi + edx*4 + 0x170], 1
inc dword [esi + 0x1128]
jmp 0x41a8ab
mov eax, dword [edi]
lea ecx, [eax*8]
sub ecx, eax
mov byte [esi + ecx*4 + 0x170], 0
jmp 0x41a8ab
mov eax, dword [edi]
lea edx, [eax*8]
sub edx, eax
mov byte [esi + edx*4 + 0x170], 0
mov eax, dword [edi]
lea ecx, [eax*8]
sub ecx, eax
mov edx, dword [esi + ecx*4 + 0x158]
inc dword [esi + edx*4 + 0xfbc]
lea eax, [esi + edx*4 + 0xfbc]
mov eax, dword [edi]
lea ecx, [eax*8]
sub ecx, eax
lea eax, [esi + ecx*4]
mov ecx, dword [eax + 0x158]
mov eax, dword [eax + 0x15c]
lea edx, [ecx + ecx*4]
lea ecx, [eax + edx*4]
mov dword [esi + ecx*4 + 0xc48], 0xffffffff
mov eax, dword [edi]
lea edx, [eax*8]
sub edx, eax
mov ecx, dword [esi + edx*4 + 0x158]
lea eax, [esi + edx*4]
mov edx, 0xa
sub edx, dword [esi + ecx*4 + 0xfbc]
sub edi, 4
mov dword [eax + 0x15c], edx
mov eax, dword [edi + 4]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + ecx*4 + 0x15c]
lea ecx, [esi + ecx*4]
sub eax, 0xa
mov edx, eax
shl edx, 4
sub edx, eax
add edx, edx
add edx, edx
mov dword [ecx + 0x164], edx
mov eax, dword [edi + 4]
lea ecx, [eax*8]
sub ecx, eax
dec ebx
mov edx, dword [esi + ecx*4 + 0x158]
lea ecx, [esi + ecx*4]
mov ecx, dword [ecx + 0x15c]
lea edx, [edx + edx*4]
lea edx, [ecx + edx*4]
mov dword [esi + edx*4 + 0xc48], eax
jns 0x41a740
push 0x19
call dword [sym.imp.kernel32.dll_Sleep]
mov eax, dword [esp + 0xc]
mov ecx, 1
cmp dword [esp + 0x28], ecx
jne 0x41a9a1
mov edx, dword [esi + 0xc6c]
mov dword [esp + eax*4 + 0x50], edx
add eax, ecx
mov dword [esp + 0xc], eax
cmp dword [esp + 0x2c], ecx
jne 0x41a9b7
mov edx, dword [esi + 0xcbc]
mov dword [esp + eax*4 + 0x50], edx
add eax, ecx
mov dword [esp + 0xc], eax
cmp dword [esp + 0x30], ecx
jne 0x41a9cd
mov edx, dword [esi + 0xd0c]
mov dword [esp + eax*4 + 0x50], edx
add eax, ecx
mov dword [esp + 0xc], eax
cmp dword [esp + 0x34], ecx
jne 0x41a9e3
mov edx, dword [esi + 0xd5c]
mov dword [esp + eax*4 + 0x50], edx
add eax, ecx
mov dword [esp + 0xc], eax
cmp dword [esp + 0x38], ecx
jne 0x41a9f9
mov edx, dword [esi + 0xdac]
mov dword [esp + eax*4 + 0x50], edx
add eax, ecx
mov dword [esp + 0xc], eax
cmp dword [esp + 0x3c], ecx
jne 0x41aa0f
mov edx, dword [esi + 0xdfc]
mov dword [esp + eax*4 + 0x50], edx
add eax, ecx
mov dword [esp + 0xc], eax
cmp dword [esp + 0x40], ecx
jne 0x41aa25
mov edx, dword [esi + 0xe4c]
mov dword [esp + eax*4 + 0x50], edx
add eax, ecx
mov dword [esp + 0xc], eax
cmp dword [esp + 0x44], ecx
jne 0x41aa3b
mov edx, dword [esi + 0xe9c]
mov dword [esp + eax*4 + 0x50], edx
add eax, ecx
mov dword [esp + 0xc], eax
cmp dword [esp + 0x48], ecx
jne 0x41aa51
mov edx, dword [esi + 0xeec]
mov dword [esp + eax*4 + 0x50], edx
add eax, ecx
mov dword [esp + 0xc], eax
cmp dword [esp + 0x4c], ecx
jne 0x41aa67
mov edx, dword [esi + 0xf3c]
mov dword [esp + eax*4 + 0x50], edx
add eax, ecx
mov dword [esp + 0xc], eax
xor edx, edx
lea eax, [esi + 0xfbc]
mov dword [esp + 0x24], edx
mov dword [esp + 0x14], eax
cmp dword [eax], 0
jle 0x41ab65
mov ecx, dword [esp + 0x24]
mov edi, 0x13
lea ecx, [esi + ecx*4 + 0xfe4]
mov dword [esp + 0x10], edi
mov eax, edi
mov dword [esp + 0x1c], ecx
lea ebx, [ebx]
or ecx, 0xffffffff
cmp edi, 2
jl 0x41aacf
cmp edi, 0x13
je 0x41aac5
lea ebx, [edx + edi]
cmp dword [esi + ebx*4 + 0xc4c], ecx
jne 0x41aac5
lea ebx, [edx + edi + 0x312]
cmp dword [esi + ebx*4], ecx
jne 0x41aacb
dec edi
cmp edi, 2
jge 0x41aaa8
mov dword [esp + 0x10], edi
cmp eax, 0xa
jl 0x41aaf7
cmp eax, 0x13
je 0x41aae5
lea ebx, [edx + eax]
cmp dword [esi + ebx*4 + 0xc4c], ecx
je 0x41aaf1
lea ebx, [edx + eax + 0x312]
cmp dword [esi + ebx*4], ecx
je 0x41aaf7
dec eax
cmp eax, 0xa
jge 0x41aad4
mov ebx, dword [esp + 0x1c]
lea ecx, [edx + edi + 0x312]
mov edi, dword [esi + ecx*4]
mov dword [ebx], edi
inc dword [esp + 0x24]
add dword [esp + 0x1c], 4
lea ecx, [esi + ecx*4]
add edi, 0xd
lea ebx, [edi*8]
sub ebx, edi
mov dword [esi + ebx*4], 3
mov ebx, dword [ecx]
lea edi, [edx + eax + 0x312]
mov dword [esi + edi*4], ebx
lea edi, [esi + edi*4]
mov dword [ecx], 0xffffffff
mov edi, dword [edi]
lea ecx, [edi*8]
sub ecx, edi
mov edi, dword [esp + 0x10]
mov ebx, eax
sub ebx, edi
add dword [esi + ecx*4 + 0x15c], ebx
lea ecx, [esi + ecx*4 + 0x15c]
cmp eax, 0xa
jg 0x41aaa0
mov eax, dword [esp + 0x14]
add eax, 4
add edx, 0x14
mov dword [esp + 0x14], eax
cmp edx, 0xc8
jl 0x41aa77
push 0x13c
mov eax, 1
lea edx, [esp + 0x78]
push 0
mov ecx, 0x50
lea edi, [esp + 0x1b8]
push edx
mov dword [esi + 0x108], eax
rep stosd dword es:[edi], eax
mov dword [esp + 0x7c], 0
call fcn.00536390
add esp, 0xc
mov edi, dword [esp + 0x24]
dec edi
mov byte [esp + 0x1b], 1
js 0x41aed3
lea ecx, [esi + edi*4 + 0xfe4]
jmp 0x41abd0
mov eax, dword [ecx]
lea edx, [eax + 0xd]
lea ebx, [edx*8]
sub ebx, edx
cmp dword [esi + ebx*4], 3
jne 0x41acd5
lea edx, [eax*8]
sub edx, eax
cmp dword [esi + edx*4 + 0x15c], 0x13
lea eax, [esi + edx*4]
mov dword [esp + 0x14], eax
je 0x41ac56
mov eax, dword [ecx]
lea edx, [eax*8]
sub edx, eax
mov ebx, dword [esi + edx*4 + 0x15c]
lea eax, [esi + edx*4]
mov edx, dword [eax + 0x158]
mov eax, dword [eax + 0x164]
lea edx, [edx + edx*4]
lea edx, [ebx + edx*4]
mov edx, dword [esi + edx*4 + 0xc4c]
lea ebx, [edx*8]
sub ebx, edx
add eax, 0x3c
cmp eax, dword [esi + ebx*4 + 0x164]
jl 0x41ac67
mov eax, dword [esp + 0x14]
cmp dword [eax + 0x15c], 0x13
jne 0x41acd5
mov edx, dword [eax + 0x164]
add edx, 0x3c
cmp edx, 0x258
jge 0x41acd5
mov eax, dword [ecx]
lea edx, [eax*8]
sub edx, eax
lea eax, [esi + edx*4 + 0x164]
mov edx, dword [esp + edi*4 + 0x1b0]
add dword [eax], edx
mov eax, dword [esp + edi*4 + 0x70]
mov byte [esp + 0x1b], 0
cmp eax, 5
jge 0x41ac98
inc edx
inc eax
mov dword [esp + edi*4 + 0x70], eax
jmp 0x41acce
mov eax, dword [ecx]
lea ebx, [eax*8]
sub ebx, eax
lea eax, [esi + ebx*4]
mov dword [esp + 0x14], eax
mov eax, dword [eax + 0x15c]
sub eax, 0xa
mov ebx, eax
shl ebx, 4
sub ebx, eax
mov eax, dword [esp + 0x14]
add ebx, ebx
add ebx, ebx
sub ebx, dword [eax + 0x164]
cmp ebx, 0xf
jg 0x41acd5
dec edx
mov dword [esp + edi*4 + 0x1b0], edx
sub ecx, 4
dec edi
jns 0x41abd0
cmp byte [esp + 0x1b], 0
jne 0x41aed3
mov edi, dword [esp + 0xc]
xor edx, edx
test edi, edi
jle 0x41ad5e
jmp 0x41ad00
mov eax, dword [esp + edx*4 + 0x50]
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [esi + ecx*4 + 0x15c]
lea ecx, [esi + ecx*4]
sub eax, 0xa
mov ebx, eax
shl ebx, 4
sub ebx, eax
mov eax, dword [ecx + 0x164]
add ebx, ebx
add ebx, ebx
inc eax
cmp ebx, eax
je 0x41ad37
inc edx
cmp edx, edi
jl 0x41ad00
jmp 0x41ad5e
call fcn.005355f4
and eax, 0x80000001
jns 0x41ad48
dec eax
or eax, 0xfffffffe
inc eax
push 3
je 0x41ad53
push str..wavhit1.wav
jmp 0x41ad58
push str..wavhit2.wav
call dword [sym.imp.winmm.dll_sndPlaySoundW]
mov eax, dword [esp + 0x20]
test eax, eax
jle 0x41ad6f
inc dword [esi + 0x1130]
dec eax
jmp 0x41ad78
jns 0x41ad7c
dec dword [esi + 0x1130]
inc eax
mov dword [esp + 0x20], eax
inc dword [esi + 0x10c]
push str.1110
call fcn.00417a40
push 1
call dword [sym.imp.kernel32.dll_Sleep]
mov eax, dword [esi + 0x108]
test eax, eax
jle 0x41adaa
cmp eax, 0x10
jge 0x41adaa
inc eax
mov dword [esi + 0x108], eax
cmp dword [esi + 0x108], 0x10
jne 0x41abb4
lea eax, [esi + 0xfb0]
mov dword [esi + 0x108], 0
mov dword [esp + 0x14], 8
mov dword [esp + 0x1c], eax
jmp 0x41add9
mov eax, dword [esp + 0x1c]
mov edx, dword [eax - 4]
mov eax, dword [eax]
sub eax, 0x10
lea edi, [edx - 0x10]
mov dword [esp + 0x10], eax
cmp edi, eax
je 0x41ae96
cmp dword [eax + 0xc], 0
jl 0x41ae88
mov ecx, dword [edi]
cmp ecx, dword [eax]
jne 0x41ae88
mov edx, dword [ecx]
mov eax, dword [edx + 0x10]
call eax
cmp dword [edi + 0xc], 0
lea ecx, [edi + 0xc]
jl 0x41ae25
cmp eax, dword [edi]
jne 0x41ae25
mov ebx, edi
mov edx, 1
lock xadd dword [ecx], edx
jmp 0x41ae5c
mov ecx, dword [edi + 4]
mov edx, dword [eax]
mov edx, dword [edx]
push 2
push ecx
mov ecx, eax
call edx
mov ebx, eax
test ebx, ebx
je 0x41aece
mov eax, dword [edi + 4]
mov dword [ebx + 4], eax
mov eax, dword [edi + 4]
lea eax, [eax + eax + 2]
push eax
add edi, 0x10
push edi
push eax
lea ecx, [ebx + 0x10]
push ecx
call fcn.00534a5a
add esp, 0x10
mov eax, dword [esp + 0x10]
add eax, 0xc
or edx, 0xffffffff
lock xadd dword [eax], edx
dec edx
test edx, edx
jg 0x41ae7d
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x1c]
add ebx, 0x10
mov dword [ecx], ebx
jmp 0x41ae96
mov eax, dword [edx - 0xc]
mov ecx, dword [esp + 0x1c]
push eax
push edx
call fcn.004042c0
mov eax, dword [esp + 0x14]
sub dword [esp + 0x1c], 4
dec eax
mov dword [esp + 0x14], eax
cmp eax, 1
jge 0x41add5
push 0
lea ecx, [esi + 0xf90]
push 0x588420
call fcn.004042c0
push str.1010
call fcn.00417a40
jmp 0x41abb4
call fcn.00404180
mov edx, dword [esp + 0x24]
xor edi, edi
cmp edx, edi
jle 0x41aefe
lea ecx, [esi + 0xfe4]
mov eax, dword [ecx]
add eax, 0xd
lea ebx, [eax*8]
sub ebx, eax
add ecx, 4
dec edx
mov dword [esi + ebx*4], 1
jne 0x41aee3
xor edx, edx
cmp dword [esi + 0xf88], edi
jle 0x41af35
lea ecx, [esi + 0xf68]
mov eax, dword [ecx]
add eax, 0xd
lea ebx, [eax*8]
sub ebx, eax
mov dword [esi + ebx*4], 1
mov dword [ecx], 0xffffffff
inc edx
add ecx, 4
cmp edx, dword [esi + 0xf88]
jl 0x41af0e
mov ecx, dword [esp + 0x20]
mov dword [esi + 0xfbc], edi
mov dword [esi + 0xfc0], edi
mov dword [esi + 0xfc4], edi
mov dword [esi + 0xfc8], edi
mov dword [esi + 0xfcc], edi
mov dword [esi + 0xfd0], edi
mov dword [esi + 0xfd4], edi
mov dword [esi + 0xfd8], edi
mov dword [esi + 0xfdc], edi
mov dword [esi + 0xfe0], edi
add dword [esi + 0x1130], ecx
push str.0100
mov dword [esi + 0x10c], edi
mov dword [esi + 0xf88], edi
call fcn.00417a40
mov edx, dword [esi + 0x1124]
mov eax, dword [esi + 0x112c]
shl edx, 4
cmp eax, dword [edx + 0x589c74]
jne 0x41afae
push esi
call fcn.0041b030
mov ecx, dword [esp + 0x2f4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00534a4b
mov esp, ebp
pop ebp
ret