Function at 0x1005d280
Capabilities:
Check http status code
Connect to http server
Create http request
Get http response content encoding
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b66a4
mov eax, dword fs:[0]
push eax
push ebx
mov eax, 0x2230
call fcn.10088a40
mov eax, dword [0x100e7e80]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x220c], edx
mov esi, ecx
mov dword [ebp - 0x21ec], esi
mov eax, dword [ebx + 8]
lea ecx, [ebp - 0x2150]
push esi
mov dword [ebp - 0x21e8], eax
mov dword [ebp - 0x21d8], 0
mov dword [ebp - 0x21dc], 0
call fcn.10002280
push esi
lea ecx, [ebp - 0x2198]
mov dword [ebp - 4], 0
call fcn.10002280
mov byte [ebp - 4], 1
mov ecx, esi
cmp dword [esi + 0x14], 7
jbe 0x1005d31d
mov ecx, dword [esi]
mov edx, dword [esi + 0x10]
push 5
push str.https
push 0
call fcn.100051d0
add esp, 0xc
mov dword [ebp - 0x219c], eax
xorps xmm0, xmm0
mov dword [ebp - 0x2218], 0
lea ecx, [ebp - 0x2228]
mov dword [ebp - 0x2214], 0
movups xmmword [ebp - 0x2228], xmm0
push 3
push 0x100d0010
call fcn.10002390
cmp dword [ebp - 0x2214], 7
lea edx, [ebp - 0x2228]
mov eax, dword [ebp - 0x2140]
lea ecx, [ebp - 0x2150]
cmova edx, dword [ebp - 0x2228]
cmp dword [ebp - 0x213c], 7
mov esi, dword [ebp - 0x2218]
cmova ecx, dword [ebp - 0x2150]
mov dword [ebp - 0x21e4], edx
mov dword [ebp - 0x21e0], ecx
cmp esi, eax
ja 0x1005d3e1
test esi, esi
jne 0x1005d3b5
xor edi, edi
mov edi, esi
jmp 0x1005d3e4
sub eax, esi
mov edi, ecx
inc eax
lea eax, [ecx + eax*2]
mov dword [ebp - 0x21d8], eax
sub eax, edi
sar eax, 1
je 0x1005d3e1
movzx ecx, word [edx]
nop dword [eax]
cmp word [edi], cx
je 0x1005d4b1
add edi, 2
sub eax, 1
jne 0x1005d3d0
or edi, 0xffffffff
mov eax, dword [ebp - 0x2214]
cmp eax, 7
jbe 0x1005d424
mov edx, dword [ebp - 0x2228]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005d41a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005e04e
push ecx
push edx
call fcn.10087edd
add esp, 8
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x2230], 0
push 0x100cbd70
lea ecx, [ebp - 0x2240]
mov dword [ebp - 0x222c], 0
movups xmmword [ebp - 0x2240], xmm0
call fcn.10002390
cmp dword [ebp - 0x222c], 7
lea edx, [ebp - 0x2240]
mov eax, dword [ebp - 0x2140]
lea esi, [ebp - 0x2150]
cmova edx, dword [ebp - 0x2240]
cmp dword [ebp - 0x213c], 7
mov ecx, dword [ebp - 0x2230]
cmova esi, dword [ebp - 0x2150]
mov dword [ebp - 0x21e4], edx
mov dword [ebp - 0x21e0], esi
cmp ecx, eax
ja 0x1005d541
sub eax, ecx
cmp edi, eax
ja 0x1005d541
test ecx, ecx
jne 0x1005d50c
mov esi, edi
jmp 0x1005d808
test edi, edi
je 0x1005d3e1
mov ecx, edx
mov edx, edi
test esi, esi
je 0x1005d4d4
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x1005d4f2
add edx, 2
add ecx, 2
sub esi, 1
jne 0x1005d4c1
sub edi, dword [ebp - 0x21e0]
sar edi, 1
cmp edi, 0xffffffff
je 0x1005d3e4
mov esi, dword [ebp - 0x2218]
add edi, esi
jmp 0x1005d3e4
mov edx, dword [ebp - 0x21e4]
add edi, 2
mov esi, dword [ebp - 0x2218]
mov eax, dword [ebp - 0x21d8]
jmp 0x1005d3c3
inc eax
lea eax, [esi + eax*2]
mov dword [ebp - 0x21d8], eax
lea esi, [esi + edi*2]
nop dword [eax]
sub eax, esi
sar eax, 1
je 0x1005d541
movzx ecx, word [edx]
nop dword [eax]
cmp word [esi], cx
je 0x1005d7c7
add esi, 2
sub eax, 1
jne 0x1005d530
or esi, 0xffffffff
mov eax, dword [ebp - 0x222c]
cmp eax, 7
jbe 0x1005d584
mov edx, dword [ebp - 0x2240]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005d57a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005e04e
push ecx
push edx
call fcn.10087edd
add esp, 8
mov edx, dword [ebp - 0x21ec]
xorps xmm0, xmm0
movups xmmword [ebp - 0x2204], xmm0
mov dword [ebp - 0x21f4], 0
mov dword [ebp - 0x21f0], 0
mov ecx, dword [edx + 0x10]
cmp ecx, edi
jb 0x1005e03f
mov eax, esi
sub ecx, edi
sub eax, edi
dec eax
cmp ecx, eax
cmovb eax, ecx
cmp dword [edx + 0x14], 7
mov ecx, edx
jbe 0x1005d5c9
mov ecx, dword [edx]
push eax
lea eax, [ecx + edi*2]
push eax
lea ecx, [ebp - 0x2204]
call fcn.10002390
lea eax, [ebp - 0x2204]
mov byte [ebp - 4], 2
push eax
lea ecx, [ebp - 0x2138]
call fcn.10002280
lea eax, [ebp - 0x2138]
push eax
lea ecx, [ebp - 0x2150]
call fcn.10006a20
mov ecx, dword [ebp - 0x2124]
cmp ecx, 7
jbe 0x1005d641
mov edx, dword [ebp - 0x2138]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005d637
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005e04e
push ecx
push edx
call fcn.10087edd
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x21f0]
cmp ecx, 7
jbe 0x1005d685
mov edx, dword [ebp - 0x2204]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005d67b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005e04e
push ecx
push edx
call fcn.10087edd
add esp, 8
mov edx, dword [ebp - 0x21ec]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x2188]
sub eax, esi
mov dword [ebp - 0x21f4], 0
movups xmmword [ebp - 0x2204], xmm0
mov ecx, dword [edx + 0x10]
mov dword [ebp - 0x21f0], 0
cmp ecx, esi
jb 0x1005e03f
sub ecx, esi
cmp ecx, eax
cmovb eax, ecx
cmp dword [edx + 0x14], 7
jbe 0x1005d6cb
mov edx, dword [edx]
push eax
lea eax, [edx + esi*2]
push eax
lea ecx, [ebp - 0x2204]
call fcn.10002390
mov dword [ebp - 0x21d8], 0xc
lea eax, [ebp - 0x2204]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x2138]
call fcn.10002280
lea eax, [ebp - 0x2138]
push eax
lea ecx, [ebp - 0x2198]
call fcn.10006a20
mov ecx, dword [ebp - 0x2124]
cmp ecx, 7
jbe 0x1005d74d
mov edx, dword [ebp - 0x2138]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005d743
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005e04e
push ecx
push edx
call fcn.10087edd
add esp, 8
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x21f0]
cmp ecx, 7
jbe 0x1005d791
mov edx, dword [ebp - 0x2204]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005d787
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005e04e
push ecx
push edx
call fcn.10087edd
add esp, 8
mov esi, dword [ebp - 0x21e8]
xor edi, edi
mov dword [ebp - 0x21e4], 0
test esi, esi
je 0x1005d82c
cmp dword [esi + 0x10], edi
je 0x1005d82c
push ecx
lea eax, [ebp - 0x2138]
mov ecx, esi
push eax
call fcn.100607a0
lea ecx, [edi + 0xd]
jmp 0x1005d85f
test esi, esi
je 0x1005d541
mov eax, dword [ebp - 0x2230]
mov ecx, edx
mov dword [ebp - 0x211c], eax
mov edx, esi
test eax, eax
je 0x1005d7fa
mov ax, word [edx]
cmp ax, word [ecx]
jne 0x1005d818
add edx, 2
add ecx, 2
sub dword [ebp - 0x211c], 1
jne 0x1005d7e3
sub esi, dword [ebp - 0x21e0]
mov ecx, dword [ebp - 0x2230]
sar esi, 1
cmp esi, 0xffffffff
je 0x1005d544
add esi, ecx
jmp 0x1005d544
mov edx, dword [ebp - 0x21e4]
add esi, 2
mov eax, dword [ebp - 0x21d8]
jmp 0x1005d520
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x21f4], edi
push 0x100cb995
lea ecx, [ebp - 0x2204]
mov dword [ebp - 0x21f0], edi
movups xmmword [ebp - 0x2204], xmm0
call fcn.10003020
lea eax, [ebp - 0x2204]
mov ecx, 0xe
mov dword [ebp - 0x2158], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x2168], xmm0
mov dword [ebp - 0x2154], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x2168], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x2158], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov dword [ebp - 4], 5
test cl, 2
je 0x1005d8fc
mov eax, dword [ebp - 0x21f0]
and ecx, 0xfffffffd
mov dword [ebp - 0x21d8], ecx
cmp eax, 0xf
jbe 0x1005d8fc
mov edx, dword [ebp - 0x2204]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005d8ec
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005e044
push ecx
push edx
call fcn.10087edd
mov ecx, dword [ebp - 0x21d8]
add esp, 8
mov byte [ebp - 4], 6
test cl, 1
je 0x1005d95a
mov ecx, dword [ebp - 0x2124]
cmp ecx, 0xf
jbe 0x1005d93f
mov edx, dword [ebp - 0x2138]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005d935
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005e044
push ecx
push edx
call fcn.10087edd
add esp, 8
mov dword [ebp - 0x2128], 0
mov dword [ebp - 0x2124], 0xf
mov byte [ebp - 0x2138], 0
test esi, esi
je 0x1005d969
cmp dword [esi + 0x10], 0
mov edx, str.Content_Type:_application_x_www_form_urlencoded_r_n
jne 0x1005d96e
mov edx, 0x100cc844
mov ecx, edx
mov dword [ebp - 0x2170], 0
xorps xmm0, xmm0
mov dword [ebp - 0x216c], 0
movups xmmword [ebp - 0x2180], xmm0
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1005d991
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2180]
call fcn.10002390
mov eax, dword [ebp - 0x21e8]
mov byte [ebp - 4], 7
test eax, eax
je 0x1005d9c8
add eax, 0x18
cmp dword [eax + 0x14], 7
jbe 0x1005d9cd
mov eax, dword [eax]
jmp 0x1005d9cd
mov eax, 0x100cc844
push 0
push 0
push 0
push 0
push eax
call dword [sym.imp.WININET.dll_InternetOpenW]
mov edx, eax
mov dword [ebp - 0x2210], edx
test edx, edx
je 0x1005de96
cmp dword [ebp - 0x213c], 7
lea ecx, [ebp - 0x2150]
push 0
cmova ecx, dword [ebp - 0x2150]
mov eax, 0x50
cmp dword [ebp - 0x219c], 0xffffffff
mov esi, 0x1bb
push 0
push 3
push 0
push 0
cmovne eax, esi
movzx eax, ax
push eax
push ecx
push edx
call dword [sym.imp.WININET.dll_InternetConnectW]
mov esi, eax
mov dword [ebp - 0x21e4], esi
test esi, esi
je 0x1005de96
mov eax, dword [ebp - 0x21e8]
test eax, eax
je 0x1005da4f
cmp dword [eax + 0x10], 0
mov edx, str.POST
jne 0x1005da54
mov edx, 0x100d0088
cmp dword [ebp - 0x2184], 7
lea ecx, [ebp - 0x2198]
push 1
cmova ecx, dword [ebp - 0x2198]
mov eax, 0x4400100
cmp dword [ebp - 0x219c], 0xffffffff
mov edi, 0x4c00100
cmovne eax, edi
push eax
push 0
push 0
push 0
push ecx
push edx
push esi
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edi, eax
mov dword [ebp - 0x21d8], edi
test edi, edi
je 0x1005de96
mov edx, dword [ebp - 0x2158]
test edx, edx
je 0x1005dabe
cmp dword [ebp - 0x2154], 0xf
lea eax, [ebp - 0x2168]
cmova eax, dword [ebp - 0x2168]
jmp 0x1005dac0
xor eax, eax
cmp dword [ebp - 0x2170], 0
je 0x1005dadf
cmp dword [ebp - 0x216c], 7
lea ecx, [ebp - 0x2180]
cmova ecx, dword [ebp - 0x2180]
jmp 0x1005dae1
xor ecx, ecx
push edx
push eax
push 0xffffffffffffffff
push ecx
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestW]
test eax, eax
je 0x1005de96
mov esi, dword [sym.imp.WININET.dll_HttpQueryInfoW]
lea eax, [ebp - 0x211c]
push 0
push eax
lea eax, [ebp - 0x2120]
mov dword [ebp - 0x2120], 0
push eax
push 0x20000013
push edi
mov dword [ebp - 0x211c], 4
call esi
mov ecx, dword [ebp - 0x21e8]
mov eax, dword [ebp - 0x2120]
test ecx, ecx
je 0x1005db3a
mov dword [ecx + 0x30], eax
cmp eax, 0xc8
jne 0x1005de96
xor eax, eax
push 0xfe
push eax
mov word [ebp - 0x118], ax
lea eax, [ebp - 0x116]
push eax
call fcn.10089e40
add esp, 0xc
mov dword [ebp - 0x211c], 0xff
lea eax, [ebp - 0x211c]
push 0
push eax
lea eax, [ebp - 0x118]
push eax
push 0x1d
push edi
call esi
xorps xmm0, xmm0
mov dword [ebp - 0x21f4], 0
lea ecx, [ebp - 0x118]
mov dword [ebp - 0x21f0], 0
movups xmmword [ebp - 0x2204], xmm0
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1005dbb0
sub ecx, edx
lea eax, [ebp - 0x118]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x2204]
call fcn.10002390
mov edi, dword [ebp - 0x21f0]
lea ecx, [ebp - 0x2204]
mov esi, dword [ebp - 0x2204]
cmp edi, 7
mov edx, dword [ebp - 0x21f4]
push 4
push str.gzip
cmova ecx, esi
push 0
call fcn.100051d0
add esp, 0xc
mov dword [ebp - 0x21ec], eax
cmp edi, 7
jbe 0x1005dc3b
lea ecx, [edi*2 + 2]
mov eax, esi
cmp ecx, 0x1000
jb 0x1005dc31
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005e049
push ecx
push esi
call fcn.10087edd
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x2128], 0
movups xmmword [ebp - 0x2138], xmm0
mov dword [ebp - 0x2124], 0xf
mov byte [ebp - 0x2138], 0
push 0x1000
lea eax, [ebp - 0x1118]
mov byte [ebp - 4], 8
push 0
push eax
call fcn.10089e40
add esp, 0xc
mov dword [ebp - 0x219c], 0
xor esi, esi
lea eax, [ebp - 0x21d4]
push 0x38
push esi
push eax
call fcn.10089e40
add esp, 0xc
cmp dword [ebp - 0x21ec], 0xffffffff
je 0x1005dcb6
push 0x38
push str.1.2.11
push 0x1f
lea eax, [ebp - 0x21d4]
push eax
call fcn.10081c40
mov edi, dword [ebp - 0x21d8]
lea eax, [ebp - 0x219c]
push eax
push 0x1000
lea eax, [ebp - 0x2118]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1005de8a
nop
mov eax, dword [ebp - 0x219c]
test eax, eax
je 0x1005de76
cmp dword [ebp - 0x21ec], 0xffffffff
je 0x1005dde9
mov dword [ebp - 0x21d0], eax
lea eax, [ebp - 0x2118]
mov dword [ebp - 0x21d4], eax
nop dword [eax]
lea eax, [ebp - 0x1118]
mov dword [ebp - 0x2208], esi
mov dword [ebp - 0x21c8], eax
lea eax, [ebp - 0x21d4]
push 0
push eax
mov dword [ebp - 0x21c4], 0x1000
call fcn.100804b0
cmp eax, 0xfffffffc
je 0x1005dd51
cmp eax, 0xfffffffd
je 0x1005dd51
cmp eax, 2
je 0x1005dd51
mov eax, dword [ebp - 0x21c4]
jmp 0x1005dd5a
or eax, 0xffffffff
mov dword [ebp - 0x21c4], eax
mov edi, 0x1000
sub edi, eax
add esi, edi
lea eax, [esi + 2]
push eax
call fcn.10087f43
mov ecx, dword [ebp - 0x21dc]
add esp, 4
mov dword [ebp - 0x21e0], eax
test ecx, ecx
je 0x1005dda3
push dword [ebp - 0x2208]
push ecx
push eax
call fcn.10089860
add esp, 0xc
push dword [ebp - 0x21dc]
call fcn.10087f3e
mov eax, dword [ebp - 0x21e0]
add esp, 4
push edi
lea ecx, [ebp - 0x1118]
sub eax, edi
push ecx
add eax, esi
push eax
call fcn.10089860
mov edi, dword [ebp - 0x21e0]
lea eax, [ebp - 0x1118]
add esp, 0xc
mov dword [ebp - 0x21dc], edi
push 0x1000
push 0
push eax
call fcn.10089e40
add esp, 0xc
cmp dword [ebp - 0x21c4], 0
je 0x1005dd10
jmp 0x1005de4e
add esi, eax
lea eax, [esi + 2]
push eax
call fcn.10087f43
mov edi, dword [ebp - 0x21dc]
add esp, 4
mov ecx, eax
mov dword [ebp - 0x2208], ecx
test edi, edi
je 0x1005de25
mov eax, esi
sub eax, dword [ebp - 0x219c]
push eax
push edi
push ecx
call fcn.10089860
add esp, 0xc
push edi
call fcn.10087f3e
add esp, 4
mov ecx, dword [ebp - 0x219c]
lea eax, [ebp - 0x2118]
mov edi, dword [ebp - 0x2208]
push ecx
push eax
mov eax, edi
sub eax, ecx
add eax, esi
push eax
call fcn.10089860
add esp, 0xc
mov dword [ebp - 0x21dc], edi
mov edi, dword [ebp - 0x21d8]
lea eax, [ebp - 0x219c]
push eax
push 0x1000
lea eax, [ebp - 0x2118]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x1005dce0
mov eax, dword [ebp - 0x21dc]
test eax, eax
je 0x1005de8a
test esi, esi
je 0x1005de8a
mov word [esi + eax], 0
mov eax, dword [ebp - 0x220c]
test eax, eax
je 0x1005de96
mov dword [eax], esi
mov esi, dword [ebp - 0x21e8]
test esi, esi
je 0x1005dea9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esi + 0x34], eax
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
test edi, edi
je 0x1005deb6
push edi
call esi
mov eax, dword [ebp - 0x21e4]
test eax, eax
je 0x1005dec3
push eax
call esi
mov eax, dword [ebp - 0x2210]
test eax, eax
je 0x1005ded0
push eax
call esi
mov ecx, dword [ebp - 0x216c]
cmp ecx, 7
jbe 0x1005df10
mov edx, dword [ebp - 0x2180]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005df06
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005e04e
push ecx
push edx
call fcn.10087edd
add esp, 8
mov ecx, dword [ebp - 0x2154]
xor eax, eax
mov dword [ebp - 0x2170], 0
mov dword [ebp - 0x216c], 7
mov word [ebp - 0x2180], ax
cmp ecx, 0xf
jbe 0x1005df67
mov edx, dword [ebp - 0x2168]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1005df5d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005e04e
push ecx
push edx
call fcn.10087edd
add esp, 8
mov ecx, dword [ebp - 0x2184]
mov dword [ebp - 0x2158], 0
mov dword [ebp - 0x2154], 0xf
mov byte [ebp - 0x2168], 0
cmp ecx, 7
jbe 0x1005dfc2
mov edx, dword [ebp - 0x2198]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005dfb8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005e04e
push ecx
push edx
call fcn.10087edd
add esp, 8
mov ecx, dword [ebp - 0x213c]
xor eax, eax
mov dword [ebp - 0x2188], 0
mov dword [ebp - 0x2184], 7
mov word [ebp - 0x2198], ax
cmp ecx, 7
jbe 0x1005e01b
mov edx, dword [ebp - 0x2150]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x1005e011
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005e04e
push ecx
push edx
call fcn.10087edd
add esp, 8
mov eax, dword [ebp - 0x21dc]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10087ecf
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10002ea0
call fcn.1008d13f
call fcn.1008d13f
call fcn.1008d13f
int3