Function at 0x10003020
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Initialize winsock library
Receive data
Receive data on socket
Resolve dns
Send data
Send data on socket
Send http request
Send http request with host header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1002681b
mov eax, dword fs:[0]
push eax
sub esp, 0x6e0
mov eax, dword [0x1003604c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
xorps xmm0, xmm0
mov dword [ebp - 0x638], 0
movups xmmword [ebp - 0x440], xmm0
mov dword [ebp - 0x63c], edi
mov dword [ebp - 0x634], edi
mov dword [ebp - 0x430], 0
mov dword [ebp - 0x42c], 0xf
mov byte [ebp - 0x440], 0
mov dword [ebp - 4], 0
movups xmmword [ebp - 0x428], xmm0
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 0xf
mov byte [ebp - 0x428], 0
push 0
push 0x10032574
mov byte [ebp - 4], 1
call fcn.10001e40
cmp eax, 0xffffffff
je 0x10003c9d
add eax, 3
mov ecx, esi
push eax
push 0x10032578
mov dword [ebp - 0x62c], eax
call fcn.10001e40
mov ecx, dword [esi + 0x10]
mov edx, eax
mov eax, dword [ebp - 0x62c]
xorps xmm0, xmm0
mov dword [ebp - 0x630], edx
mov dword [ebp - 0x478], 0
mov dword [ebp - 0x474], 0
movups xmmword [ebp - 0x488], xmm0
cmp edx, 0xffffffff
je 0x10003258
cmp ecx, eax
jb 0x10003d6a
sub ecx, eax
sub edx, eax
cmp ecx, edx
cmovb edx, ecx
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x10003138
mov ecx, dword [esi]
add eax, ecx
lea ecx, [ebp - 0x488]
push edx
push eax
call fcn.10001f60
mov ecx, dword [ebp - 0x42c]
cmp ecx, 0x10
jb 0x10003181
mov edx, dword [ebp - 0x440]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003177
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003d60
push ecx
push edx
call fcn.10008af8
add esp, 8
movups xmm0, xmmword [ebp - 0x488]
mov eax, dword [esi + 0x10]
mov ecx, dword [ebp - 0x630]
movups xmmword [ebp - 0x440], xmm0
movq xmm0, qword [ebp - 0x478]
movq qword [ebp - 0x430], xmm0
xorps xmm0, xmm0
mov dword [ebp - 0x478], 0
mov dword [ebp - 0x474], 0
movups xmmword [ebp - 0x488], xmm0
cmp eax, ecx
jb 0x10003d6a
sub eax, ecx
or edx, 0xffffffff
cmp eax, edx
cmovb edx, eax
cmp dword [esi + 0x14], 0x10
jb 0x100031e0
mov esi, dword [esi]
lea eax, [esi + ecx]
push edx
push eax
lea ecx, [ebp - 0x488]
call fcn.10001f60
mov ecx, dword [ebp - 0x414]
mov eax, 6
mov dword [ebp - 0x630], eax
cmp ecx, 0x10
jb 0x10003235
mov edx, dword [ebp - 0x428]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000322b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003d60
push ecx
push edx
call fcn.10008af8
add esp, 8
movups xmm0, xmmword [ebp - 0x488]
movups xmmword [ebp - 0x428], xmm0
movq xmm0, qword [ebp - 0x478]
movq qword [ebp - 0x418], xmm0
jmp 0x100033f6
cmp ecx, eax
jb 0x10003d6a
sub ecx, eax
or edx, 0xffffffff
cmp ecx, edx
cmovb edx, ecx
cmp dword [esi + 0x14], 0x10
jb 0x10003272
mov esi, dword [esi]
push edx
add eax, esi
lea ecx, [ebp - 0x488]
push eax
call fcn.10001f60
mov ecx, dword [ebp - 0x42c]
mov eax, 8
mov dword [ebp - 0x630], eax
cmp ecx, 0x10
jb 0x100032c6
mov edx, dword [ebp - 0x440]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100032bc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003d60
push ecx
push edx
call fcn.10008af8
add esp, 8
movups xmm0, xmmword [ebp - 0x488]
mov ecx, dword [ebp - 0x414]
mov dword [ebp - 0x634], ecx
movups xmmword [ebp - 0x440], xmm0
movq xmm0, qword [ebp - 0x478]
movq qword [ebp - 0x430], xmm0
cmp ecx, 1
jb 0x10003319
cmp ecx, 0x10
mov dword [ebp - 0x418], 1
lea eax, [ebp - 0x428]
cmovae eax, dword [ebp - 0x428]
mov word [eax], 0x2f
jmp 0x100033f6
mov edx, ecx
mov eax, closesocket
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x1000335c
mov ecx, closesocket
mov dword [ebp - 0x62c], closesocket
add ecx, 0x23
push ecx
call fcn.10008ac8
add esp, 4
test eax, eax
je 0x10003d60
mov ecx, dword [ebp - 0x62c]
lea esi, [eax + 0x23]
and esi, 0xffffffe0
mov dword [esi - 4], eax
jmp 0x1000339f
lea eax, [edx + ecx]
mov ecx, 0xf
cmp eax, ecx
cmova ecx, eax
mov dword [ebp - 0x62c], ecx
lea eax, [ecx + 1]
cmp eax, 0x1000
jb 0x10003386
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x10003d65
jmp 0x1000333a
test eax, eax
je 0x1000339d
push eax
call fcn.10008ac8
mov ecx, dword [ebp - 0x62c]
add esp, 4
mov esi, eax
jmp 0x1000339f
xor esi, esi
mov eax, dword [ebp - 0x634]
mov dword [ebp - 0x418], 1
mov dword [ebp - 0x414], ecx
mov word [esi], 0x2f
cmp eax, 0x10
jb 0x100033f0
mov edx, dword [ebp - 0x428]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x100033e6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003d60
push ecx
push edx
call fcn.10008af8
add esp, 8
mov dword [ebp - 0x428], esi
lea eax, [ebp - 0x628]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x100034f8
mov edx, str.Failed_to_initialize_Winsock
mov ecx, 0x10037118
call fcn.10005180
push eax
call fcn.10005420
add esp, 4
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov ecx, dword [ebp - 0x414]
cmp ecx, 0x10
jb 0x10003484
mov edx, dword [ebp - 0x428]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000347a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003d60
push ecx
push edx
call fcn.10008af8
add esp, 8
mov ecx, dword [ebp - 0x42c]
mov byte [ebp - 0x428], 0
mov dword [ebp - 0x414], 0xf
mov dword [ebp - 0x418], 0
cmp ecx, 0x10
jb 0x100034d9
mov edx, dword [ebp - 0x440]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100034cf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003d60
push ecx
push edx
call fcn.10008af8
add esp, 8
mov eax, edi
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.100088b8
mov esp, ebp
pop ebp
ret 4
push 6
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, eax
mov dword [ebp - 0x634], esi
cmp esi, 0xffffffff
jne 0x10003534
mov edx, str.Failed_to_create_socket
mov ecx, 0x10037118
call fcn.10005180
push eax
call fcn.10005420
add esp, 4
call dword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x10003428
mov eax, 2
push 0x50
mov word [ebp - 0x498], ax
call dword [sym.imp.WS2_32.dll_htons]
cmp dword [ebp - 0x42c], 0x10
mov word [ebp - 0x496], ax
lea eax, [ebp - 0x440]
cmovae eax, dword [ebp - 0x440]
push eax
call dword [sym.imp.WS2_32.dll_gethostbyname]
mov ecx, eax
test ecx, ecx
jne 0x100035bb
mov edx, str.Failed_to_resolve_host:
mov ecx, 0x10037118
call fcn.10005180
cmp dword [ebp - 0x42c], 0x10
lea edx, [ebp - 0x440]
push dword [ebp - 0x430]
cmovae edx, dword [ebp - 0x440]
mov ecx, eax
call fcn.10005900
push eax
call fcn.10005420
add esp, 8
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x10003428
movsx eax, word [ecx + 0xa]
push eax
mov eax, dword [ecx + 0xc]
push dword [eax]
lea eax, [ebp - 0x494]
push eax
call fcn.1000a120
add esp, 0xc
lea eax, [ebp - 0x498]
push 0x10
push eax
push esi
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x10003613
mov edx, str.Failed_to_connect_to_server
mov ecx, 0x10037118
call fcn.10005180
push eax
call fcn.10005420
add esp, 4
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x10003428
mov dword [ebp - 0x6ec], 0x10032718
mov dword [ebp - 0x6dc], 0x100326b0
mov dword [ebp - 0x67c], 0
mov dword [ebp - 0x65c], 0
mov dword [ebp - 0x658], 0
mov dword [ebp - 0x654], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x684]
mov eax, dword [ebp - 0x630]
xorps xmm0, xmm0
or eax, 0x10
mov dword [ebp - method.std::basic_istream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov dword [ebp - 0x630], eax
mov dword [ebp - 0x638], eax
lea eax, [ebp - 0x6d4]
push 0
push eax
mov dword [ebp - 0x688], 0x50
movlpd qword [ebp - 0x6e4], xmm0
call fcn.10004ef0
mov eax, dword [ebp - 0x6dc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x6dc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0x6e0], eax
mov eax, dword [ebp - 0x6ec]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_iostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_iostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x6ec]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x20]
mov dword [ebp + ecx - 0x6f0], eax
mov dword [ebp - 4], 7
mov eax, dword [ebp - 0x6ec]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0x6ec]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x6f0], eax
lea ecx, [ebp - 0x6d4]
call fcn.10004cf0
mov dword [ebp - method.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.virtual_0], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x69c], 0
mov dword [ebp - 0x698], 0
mov edx, str.GET
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x6dc]
call fcn.10005180
cmp dword [ebp - 0x414], 0x10
lea edx, [ebp - 0x428]
push dword [ebp - 0x418]
cmovae edx, dword [ebp - 0x428]
mov ecx, eax
call fcn.10005900
mov edx, str._HTTP_1.1_r_n
mov ecx, eax
call fcn.10005180
mov edx, str.Host:
lea ecx, [ebp - 0x6dc]
call fcn.10005180
cmp dword [ebp - 0x42c], 0x10
lea edx, [ebp - 0x440]
push dword [ebp - 0x430]
cmovae edx, dword [ebp - 0x440]
mov ecx, eax
call fcn.10005900
add esp, 8
mov edx, 0x10032614
mov ecx, eax
call fcn.10005180
mov edx, str.Connection:_close_r_n_r_n
lea ecx, [ebp - 0x6dc]
call fcn.10005180
mov byte [ebp - 4], 9
xorps xmm0, xmm0
mov eax, dword [ebp - 0x630]
or eax, 0x200
mov dword [ebp - 0x460], 0
mov dword [ebp - 0x638], eax
mov eax, dword [ebp - 0x698]
and al, 0x22
mov dword [ebp - 0x45c], 0xf
movq qword [ebp - 0x47c], xmm0
mov dword [ebp - 0x474], 0
movups xmmword [ebp - 0x470], xmm0
mov byte [ebp - 0x470], 0
cmp al, 2
je 0x1000384e
mov eax, dword [ebp - 0x6b4]
mov ecx, dword [eax]
test ecx, ecx
je 0x1000384e
mov eax, dword [ebp - 0x6c4]
cmp ecx, dword [ebp - 0x69c]
cmovb ecx, dword [ebp - 0x69c]
mov edx, dword [eax]
sub ecx, edx
jmp 0x10003883
test byte [ebp - 0x698], 4
jne 0x10003877
mov eax, dword [ebp - 0x6b8]
mov ecx, dword [eax]
test ecx, ecx
je 0x10003877
mov eax, dword [ebp - 0x6c8]
mov edx, dword [eax]
sub ecx, edx
mov eax, dword [ebp - 0x6a8]
add ecx, dword [eax]
jmp 0x10003883
mov ecx, dword [ebp - 0x478]
mov edx, dword [ebp - 0x47c]
test edx, edx
je 0x10003894
push ecx
push edx
lea ecx, [ebp - 0x470]
call fcn.10004dc0
mov dword [ebp - 4], 0xa
lea eax, [ebp - 0x470]
cmp dword [ebp - 0x45c], 0x10
push 0
push dword [ebp - 0x460]
cmovae eax, dword [ebp - 0x470]
push eax
push esi
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
jne 0x10003974
mov edx, str.Failed_to_send_HTTP_request
mov ecx, 0x10037118
call fcn.10005180
push eax
call fcn.10005420
add esp, 4
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
mov ecx, dword [ebp - 0x45c]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
cmp ecx, 0x10
jb 0x10003949
mov edx, dword [ebp - 0x470]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000393f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003d60
push ecx
push edx
call fcn.10008af8
add esp, 8
lea ecx, [ebp - 0x6ec]
mov dword [ebp - 0x460], 0
mov dword [ebp - 0x45c], 0xf
mov byte [ebp - 0x470], 0
call fcn.10003d70
jmp 0x1000344a
xorps xmm0, xmm0
mov dword [ebp - 0x448], 0
movups xmmword [ebp - 0x458], xmm0
mov dword [ebp - 0x444], 0xf
mov byte [ebp - 0x458], 0
push 0
push 0x400
lea eax, [ebp - 0x410]
mov byte [ebp - 4], 0xb
push eax
push esi
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0x62c], eax
test eax, eax
jle 0x10003a59
mov edi, eax
mov edx, dword [ebp - 0x444]
mov eax, edx
mov ecx, dword [ebp - 0x448]
sub eax, ecx
push edi
cmp edi, eax
ja 0x10003a0e
lea eax, [ecx + edi]
cmp edx, 0x10
mov dword [ebp - 0x448], eax
lea esi, [ebp - 0x458]
cmovae esi, dword [ebp - 0x458]
lea eax, [ebp - 0x410]
add esi, ecx
push eax
push esi
call fcn.1000a120
mov byte [esi + edi], 0
add esp, 0xc
mov esi, dword [ebp - 0x634]
jmp 0x10003a2e
lea eax, [ebp - 0x410]
mov byte [ebp - 0x62c], 0
push eax
push dword [ebp - 0x62c]
lea ecx, [ebp - 0x458]
push edi
call fcn.10002040
push 0
push 0x400
lea eax, [ebp - 0x410]
push eax
push esi
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
test edi, edi
jg 0x100039c2
mov dword [ebp - 0x62c], edi
mov edi, dword [ebp - 0x63c]
cmp eax, 0xffffffff
jne 0x10003a76
mov edx, str.Error_receiving_response
mov ecx, 0x10037118
call fcn.10005180
push eax
call fcn.10005420
add esp, 4
push esi
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
push 0
push str._r_n_r_n
lea ecx, [ebp - 0x458]
call fcn.10001e40
cmp eax, 0xffffffff
je 0x10003ba9
lea edx, [eax + 4]
xorps xmm0, xmm0
mov eax, dword [ebp - 0x448]
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
cmp eax, edx
jb 0x10003d6a
sub eax, edx
mov ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x444], 0x10
lea eax, [ebp - 0x458]
cmovae eax, dword [ebp - 0x458]
push ecx
add eax, edx
mov ecx, edi
push eax
call fcn.10001f60
mov ecx, dword [ebp - 0x444]
cmp ecx, 0x10
jb 0x10003b29
mov edx, dword [ebp - 0x458]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003b1f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003d60
push ecx
push edx
call fcn.10008af8
add esp, 8
mov ecx, dword [ebp - 0x45c]
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0xf
mov byte [ebp - 0x458], 0
cmp ecx, 0x10
jb 0x10003b7e
mov edx, dword [ebp - 0x470]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003b74
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003d60
push ecx
push edx
call fcn.10008af8
add esp, 8
lea ecx, [ebp - 0x6ec]
mov dword [ebp - 0x460], 0
mov dword [ebp - 0x45c], 0xf
mov byte [ebp - 0x470], 0
call fcn.10003d70
jmp 0x1000344a
mov edx, str.No_content_found_in_response
mov ecx, 0x10037118
call fcn.10005180
push eax
call fcn.10005420
mov ecx, dword [ebp - 0x444]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
add esp, 4
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
cmp ecx, 0x10
jb 0x10003c1d
mov edx, dword [ebp - 0x458]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003c13
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003d60
push ecx
push edx
call fcn.10008af8
add esp, 8
mov ecx, dword [ebp - 0x45c]
mov dword [ebp - 0x448], 0
mov dword [ebp - 0x444], 0xf
mov byte [ebp - 0x458], 0
cmp ecx, 0x10
jb 0x10003c72
mov edx, dword [ebp - 0x470]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003c68
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003d60
push ecx
push edx
call fcn.10008af8
add esp, 8
lea ecx, [ebp - 0x6ec]
mov dword [ebp - 0x460], 0
mov dword [ebp - 0x45c], 0xf
mov byte [ebp - 0x470], 0
call fcn.10003d70
jmp 0x1000344a
mov edx, str.Invalid_URL_format
mov ecx, 0x10037118
call fcn.10005180
push eax
call fcn.10005420
mov ecx, dword [ebp - 0x414]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
add esp, 4
mov dword [edi + 0x14], 0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
cmp ecx, 0x10
jb 0x10003d0d
mov edx, dword [ebp - 0x428]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10003d03
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003d60
push ecx
push edx
call fcn.10008af8
add esp, 8
mov ecx, dword [ebp - 0x42c]
mov dword [ebp - 0x418], 0
mov dword [ebp - 0x414], 0xf
mov byte [ebp - 0x428], 0
cmp ecx, 0x10
jb 0x100034d9
mov edx, dword [ebp - 0x440]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100034cf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x100034cf
call fcn.1000ff40
call fcn.10001230
call fcn.10001f50
int3