Function at 0x415230
Capabilities:
Check http status code
Create http request
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x439445
mov eax, dword fs:[0]
push eax
mov eax, 0x11d8
call fcn.0041a350
mov eax, dword [0x448080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x1118], eax
mov dword [ebp - 0x1014], eax
mov dword [ebp - 0x1014], eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x1130]
push 7
xorps xmm0, xmm0
mov dword [ebp - 0x1120], 0
push 0x442d94
movups xmmword [ebp - 0x1130], xmm0
mov dword [ebp - 0x111c], 0
call fcn.0040a2f0
push 0
push 0
push 0
push 1
lea ecx, [ebp - 0x1130]
mov byte [ebp - 4], 2
call fcn.0040c100
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov byte [ebp - 4], 1
mov esi, eax
mov ecx, dword [ebp - 0x111c]
mov dword [ebp - 0x1150], esi
cmp ecx, 7
jbe 0x415316
mov edx, dword [ebp - 0x1130]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41530c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416087
push ecx
push edx
call fcn.0041936d
add esp, 8
xorps xmm0, xmm0
test esi, esi
jne 0x415432
push 0x1c
push 0x4426b8
lea ecx, [ebp - 0x1130]
mov dword [ebp - 0x1120], esi
movups xmmword [ebp - 0x1130], xmm0
mov dword [ebp - 0x111c], esi
call fcn.0040a2f0
mov esi, dword [ebp - 0x1118]
lea edx, [ebp - 0x1130]
push ecx
mov ecx, esi
mov byte [ebp - 4], 3
call fcn.004029f0
mov ecx, dword [ebp - 0x111c]
add esp, 4
cmp ecx, 7
jbe 0x4153a1
mov edx, dword [ebp - 0x1130]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x415397
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416087
push ecx
push edx
call fcn.0041936d
add esp, 8
mov ecx, dword [ebp + 0x1c]
cmp ecx, 7
jbe 0x4153db
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4153d1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416087
push ecx
push edx
call fcn.0041936d
add esp, 8
mov ecx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp ecx, 7
jbe 0x415f37
mov edx, dword [ebp + 0x20]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x415423
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416087
push ecx
push edx
call fcn.0041936d
add esp, 8
jmp 0x415f37
push 4
push 0x442da4
lea ecx, [ebp - 0x114c]
mov dword [ebp - 0x113c], 0
movups xmmword [ebp - 0x114c], xmm0
mov dword [ebp - 0x1138], 0
call fcn.0040a2f0
push ecx
lea edx, [ebp - 0x114c]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x11c8]
call fcn.004029f0
add esp, 4
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x11b0]
push 0x14
xorps xmm0, xmm0
mov dword [ebp - 0x11a0], 0
push 0x442bdc
movups xmmword [ebp - 0x11b0], xmm0
mov dword [ebp - 0x119c], 0
call fcn.0040a2f0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1198]
push 7
xorps xmm0, xmm0
mov dword [ebp - 0x1188], 0
push 0x442db0
movups xmmword [ebp - 0x1198], xmm0
mov dword [ebp - 0x1184], 0
call fcn.0040a2f0
push ecx
lea edx, [ebp - 0x1198]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x1180]
call fcn.004029f0
add esp, 4
lea eax, [ebp - 0x11b0]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x1180]
push eax
push dword [ebp - 0x1014]
lea ecx, [ebp - 0x1130]
call fcn.0040b900
mov byte [ebp - 4], 9
lea edx, [ebp + 8]
cmp dword [ebp + 0x1c], 7
mov ecx, dword [ebp - 0x1120]
cmova edx, dword [ebp + 8]
mov eax, dword [ebp - 0x111c]
mov edi, dword [ebp + 0x18]
sub eax, ecx
mov dword [ebp - 0x1134], ecx
cmp edi, eax
ja 0x41558a
cmp dword [ebp - 0x111c], 7
lea eax, [ecx + edi]
lea esi, [ebp - 0x1130]
mov dword [ebp - 0x1120], eax
cmova esi, dword [ebp - 0x1130]
lea eax, [edi + edi]
push eax
push edx
lea ecx, [esi + ecx*2]
push ecx
call fcn.0041aa10
mov eax, dword [ebp - 0x1134]
add esp, 0xc
add eax, edi
xor ecx, ecx
mov word [esi + eax*2], cx
lea eax, [ebp - 0x1130]
jmp 0x41559e
push edi
push edx
push dword [ebp - 0x1014]
lea ecx, [ebp - 0x1130]
push edi
call fcn.0040bd80
movups xmm0, xmmword [eax]
xor ecx, ecx
movups xmmword [ebp - 0x11e4], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x11d4], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
lea eax, [ebp - 0x11c8]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x11e4]
push eax
push dword [ebp - 0x1014]
lea ecx, [ebp - 0x1168]
call fcn.0040b900
mov byte [ebp - 4], 0xb
lea edx, [ebp + 0x20]
cmp dword [ebp + 0x34], 7
mov ecx, dword [ebp - 0x1158]
cmova edx, dword [ebp + 0x20]
mov eax, dword [ebp - 0x1154]
mov edi, dword [ebp + 0x30]
sub eax, ecx
mov dword [ebp - 0x1134], ecx
cmp edi, eax
ja 0x415659
cmp dword [ebp - 0x1154], 7
lea eax, [ecx + edi]
lea esi, [ebp - 0x1168]
mov dword [ebp - 0x1158], eax
cmova esi, dword [ebp - 0x1168]
lea eax, [edi + edi]
push eax
push edx
lea ecx, [esi + ecx*2]
push ecx
call fcn.0041aa10
mov eax, dword [ebp - 0x1134]
add esp, 0xc
add eax, edi
xor ecx, ecx
mov word [esi + eax*2], cx
lea eax, [ebp - 0x1168]
jmp 0x41566d
push edi
push edx
push dword [ebp - 0x1014]
lea ecx, [ebp - 0x1168]
push edi
call fcn.0040bd80
xorps xmm0, xmm0
mov dword [ebp - 0x101c], 0
movups xmmword [ebp - 0x102c], xmm0
mov dword [ebp - 0x1018], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x102c], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x101c], xmm0
mov byte [ebp - 4], 0xd
xor ecx, ecx
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 7
mov word [eax], cx
mov ecx, dword [ebp - 0x1154]
cmp ecx, 7
jbe 0x4156f9
mov edx, dword [ebp - 0x1168]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4156ef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41607d
push ecx
push edx
call fcn.0041936d
add esp, 8
xor eax, eax
mov dword [ebp - 0x1158], 0
mov dword [ebp - 0x1154], 7
mov word [ebp - 0x1168], ax
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x11d0]
cmp ecx, 7
jbe 0x41575a
mov edx, dword [ebp - 0x11e4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x415750
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41607d
push ecx
push edx
call fcn.0041936d
add esp, 8
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x111c]
cmp ecx, 7
jbe 0x41579e
mov edx, dword [ebp - 0x1130]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x415794
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41607d
push ecx
push edx
call fcn.0041936d
add esp, 8
xor eax, eax
mov dword [ebp - 0x1120], 0
mov dword [ebp - 0x111c], 7
mov word [ebp - 0x1130], ax
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x116c]
cmp ecx, 7
jbe 0x4157ff
mov edx, dword [ebp - 0x1180]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4157f5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41607d
push ecx
push edx
call fcn.0041936d
add esp, 8
xor eax, eax
mov dword [ebp - 0x1170], 0
mov dword [ebp - 0x116c], 7
mov word [ebp - 0x1180], ax
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x1184]
cmp ecx, 7
jbe 0x415860
mov edx, dword [ebp - 0x1198]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x415856
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41607d
push ecx
push edx
call fcn.0041936d
add esp, 8
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x119c]
cmp ecx, 7
jbe 0x4158a4
mov edx, dword [ebp - 0x11b0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41589a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41607d
push ecx
push edx
call fcn.0041936d
add esp, 8
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x11b4]
cmp ecx, 7
jbe 0x4158e8
mov edx, dword [ebp - 0x11c8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4158de
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41607d
push ecx
push edx
call fcn.0041936d
add esp, 8
xor eax, eax
mov dword [ebp - 0x11b8], 0
mov dword [ebp - 0x11b4], 7
mov word [ebp - 0x11c8], ax
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x1138]
cmp ecx, 7
jbe 0x415949
mov edx, dword [ebp - 0x114c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41593f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41607d
push ecx
push edx
call fcn.0041936d
add esp, 8
cmp dword [ebp - 0x1018], 7
lea eax, [ebp - 0x102c]
mov edi, dword [ebp - 0x1150]
cmova eax, dword [ebp - 0x102c]
push 0
push 0x80200000
push 0
push 0
push eax
push edi
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov esi, eax
mov dword [ebp - 0x1134], esi
test esi, esi
jne 0x415bde
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov esi, eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push 0xb0
lea eax, [ebp - 0x1114]
push 0
push eax
call fcn.0041af90
add esp, 8
lea ecx, [ebp - 0x1114]
call fcn.00412950
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x114c]
push 0x1f
xorps xmm0, xmm0
mov dword [ebp - 0x113c], 0
push 0x4426f8
movups xmmword [ebp - 0x114c], xmm0
mov dword [ebp - 0x1138], 0
call fcn.0040a2f0
push ecx
lea edx, [ebp - 0x114c]
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x1130]
call fcn.004029f0
mov byte [ebp - 4], 0x17
lea edx, [ebp - 0x1130]
cmp dword [ebp - 0x111c], 7
lea ecx, [ebp - 0x1104]
push dword [ebp - 0x1120]
cmova edx, dword [ebp - 0x1130]
call fcn.0040bb30
add esp, 8
mov ecx, eax
push esi
call fcn.00406fd0
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x111c]
cmp ecx, 7
jbe 0x415a78
mov edx, dword [ebp - 0x1130]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x415a6e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416082
push ecx
push edx
call fcn.0041936d
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0x15
mov ecx, dword [ebp - 0x1138]
mov dword [ebp - 0x1120], 0
mov dword [ebp - 0x111c], 7
mov word [ebp - 0x1130], ax
cmp ecx, 7
jbe 0x415ad9
mov edx, dword [ebp - 0x114c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x415acf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416082
push ecx
push edx
call fcn.0041936d
add esp, 8
mov esi, dword [ebp - 0x1118]
lea ecx, [ebp - 0x10fc]
push esi
call fcn.00413460
lea ecx, [ebp - 0x1114]
call fcn.0040d5d0
mov ecx, dword [ebp - 0x1018]
cmp ecx, 7
jbe 0x415b36
mov edx, dword [ebp - 0x102c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x415b2c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416087
push ecx
push edx
call fcn.0041936d
add esp, 8
mov ecx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x101c], 0
mov dword [ebp - 0x1018], 7
mov word [ebp - 0x102c], ax
cmp ecx, 7
jbe 0x415b8d
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x415b83
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416087
push ecx
push edx
call fcn.0041936d
add esp, 8
mov ecx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp ecx, 7
jbe 0x415f37
mov edx, dword [ebp + 0x20]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x415423
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416087
jmp 0x415423
push 0
lea eax, [ebp - 0x1014]
mov dword [ebp - 0x1048], 0
push eax
lea eax, [ebp - 0x1048]
mov dword [ebp - 0x1014], 4
push eax
push 0x20000013
push esi
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x415f54
cmp dword [ebp - 0x1048], 0xc8
jne 0x415f54
xorps xmm0, xmm0
mov dword [ebp - 0x1034], 0
movups xmmword [ebp - 0x1044], xmm0
mov dword [ebp - 0x1030], 0xf
mov byte [ebp - 0x1044], 0
lea eax, [ebp - 0x104c]
mov byte [ebp - 4], 0x19
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x415d0c
mov edi, dword [ebp - 0x104c]
test edi, edi
je 0x415d06
mov edx, dword [ebp - 0x1030]
mov eax, edx
mov ecx, dword [ebp - 0x1034]
sub eax, ecx
push edi
cmp edi, eax
ja 0x415ccb
lea eax, [ecx + edi]
cmp edx, 0xf
mov dword [ebp - 0x1034], eax
lea esi, [ebp - 0x1044]
cmova esi, dword [ebp - 0x1044]
lea eax, [ebp - 0x1010]
add esi, ecx
push eax
push esi
call fcn.0041aa10
mov byte [esi + edi], 0
add esp, 0xc
mov esi, dword [ebp - 0x1134]
jmp 0x415ce4
lea eax, [ebp - 0x1010]
push eax
push dword [ebp - 0x1014]
lea ecx, [ebp - 0x1044]
push edi
call fcn.0040ab50
lea eax, [ebp - 0x104c]
push eax
push 0x1000
lea eax, [ebp - 0x1010]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x415c71
mov edi, dword [ebp - 0x1150]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
cmp dword [ebp - 0x1030], 0xf
lea eax, [ebp - 0x1044]
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmova eax, dword [ebp - 0x1044]
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call edi
mov esi, eax
mov dword [ebp - 0x1054], 0
xorps xmm0, xmm0
mov dword [ebp - 0x1050], 0
lea ecx, [ebp - 0x1064]
movups xmmword [ebp - 0x1064], xmm0
lea eax, [esi - 1]
push eax
push 0
call fcn.0040a1b0
cmp dword [ebp - 0x1050], 7
lea ecx, [ebp - 0x1064]
push esi
cmova ecx, dword [ebp - 0x1064]
lea eax, [ebp - 0x1044]
cmp dword [ebp - 0x1030], 0xf
push ecx
cmova eax, dword [ebp - 0x1044]
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call edi
mov eax, dword [ebp - 0x1118]
xorps xmm0, xmm0
mov ecx, dword [ebp - 0x1030]
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
movups xmm0, xmmword [ebp - 0x1064]
mov dword [eax + 0x14], 0
movups xmmword [eax], xmm0
movq xmm0, qword [ebp - 0x1054]
movq qword [eax + 0x10], xmm0
xor eax, eax
mov dword [ebp - 0x1054], 0
mov dword [ebp - 0x1050], 7
mov word [ebp - 0x1064], ax
cmp ecx, 0xf
jbe 0x415e31
mov edx, dword [ebp - 0x1044]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x415e27
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416087
push ecx
push edx
call fcn.0041936d
add esp, 8
mov ecx, dword [ebp - 0x1018]
mov dword [ebp - 0x1034], 0
mov dword [ebp - 0x1030], 0xf
mov byte [ebp - 0x1044], 0
cmp ecx, 7
jbe 0x415e8c
mov edx, dword [ebp - 0x102c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x415e82
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416087
push ecx
push edx
call fcn.0041936d
add esp, 8
mov ecx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x101c], 0
mov dword [ebp - 0x1018], 7
mov word [ebp - 0x102c], ax
cmp ecx, 7
jbe 0x415ee3
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x415ed9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416087
push ecx
push edx
call fcn.0041936d
add esp, 8
mov ecx, dword [ebp + 0x34]
xor eax, eax
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 7
mov word [ebp + 8], ax
cmp ecx, 7
jbe 0x415f31
mov edx, dword [ebp + 0x20]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x415f27
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416087
push ecx
push edx
call fcn.0041936d
add esp, 8
mov esi, dword [ebp - 0x1118]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00419325
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push edi
call esi
push 0x25
xorps xmm0, xmm0
mov dword [ebp - 0x113c], 0
push 0x442738
lea ecx, [ebp - 0x114c]
mov dword [ebp - 0x1138], 0
movups xmmword [ebp - 0x114c], xmm0
call fcn.0040a2f0
mov esi, dword [ebp - 0x1118]
lea edx, [ebp - 0x114c]
push ecx
mov ecx, esi
mov byte [ebp - 4], 0x18
call fcn.004029f0
mov ecx, dword [ebp - 0x1138]
add esp, 4
cmp ecx, 7
jbe 0x415feb
mov edx, dword [ebp - 0x114c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x415fe1
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416087
push ecx
push edx
call fcn.0041936d
add esp, 8
mov ecx, dword [ebp - 0x1018]
cmp ecx, 7
jbe 0x416027
mov edx, dword [ebp - 0x102c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x41601d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416087
push ecx
push edx
call fcn.0041936d
add esp, 8
mov ecx, dword [ebp + 0x1c]
xor eax, eax
mov dword [ebp - 0x101c], 0
mov dword [ebp - 0x1018], 7
mov word [ebp - 0x102c], ax
cmp ecx, 7
jbe 0x415b8d
mov edx, dword [ebp + 8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x415b83
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x416087
jmp 0x415b83
call fcn.00421825
call fcn.00421825
call fcn.00421825
int3