Function at 0x402130
Capabilities:
Check http status code
Initialize winhttp library
Prepare http request
Read http header
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x414594
mov eax, dword fs:[0]
push eax
sub esp, 0x13c
mov eax, dword [0x41c040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0xe4], edx
mov dword [ebp - 0xdc], 0
call fcn.004020a0
test al, al
jne 0x40219c
mov edx, 0x41638c
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
push 0x406e50
call fcn.00406c30
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
jmp 0x4024ff
push 0
push 0
push 0
push 0
push str.DataUploader_1.0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov edi, eax
mov dword [ebp - 0xec], edi
test edi, edi
jne 0x4021c2
mov edx, 0x4163cc
jmp 0x40217f
push 0
push 0x1f91
push str.127.0.0.1
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpConnect]
mov dword [ebp - 0xe0], eax
test eax, eax
jne 0x402208
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, 0x4163f8
push 0x406e50
call fcn.00406c30
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push edi
call dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
jmp 0x4024ff
push 0
push 0
push 0
push 0
push str._api_cut_data_store
push str.POST
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpOpenRequest]
mov esi, eax
mov dword [ebp - 0xe8], esi
test esi, esi
jne 0x402260
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, 0x416440
push 0x406e50
call fcn.00406c30
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push dword [ebp - 0xe0]
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call esi
push edi
call esi
jmp 0x4024ff
xorps xmm0, xmm0
lea eax, [ebp - 0x74]
movups xmmword [ebp - 0x74], xmm0
mov dword [ebp - 0xdc], eax
mov byte [ebp - 0x74], 0
movq qword [ebp - 0x6c], xmm0
mov ecx, eax
mov dword [ebp - 4], 0
call fcn.00412f40
mov dword [ebp - 0x64], 0
xorps xmm0, xmm0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x5c]
movups xmmword [ebp - 0x5c], xmm0
mov dword [ebp - 0xdc], eax
mov byte [ebp - 0x5c], 0
movq qword [ebp - 0x54], xmm0
mov edx, 0x41c0a4
mov byte [ebp - 4], 2
mov ecx, eax
call fcn.00412fd0
mov dword [ebp - 0x4c], 0
lea eax, [ebp - 0x44]
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x74]
push eax
push ecx
lea ecx, [ebp - 0xa4]
call fcn.00403d60
xorps xmm0, xmm0
lea eax, [ebp - 0x11c]
movups xmmword [ebp - 0x11c], xmm0
mov dword [ebp - 0xdc], eax
mov byte [ebp - 0x11c], 0
movq qword [ebp - 0x114], xmm0
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.00413060
mov dword [ebp - 0x10c], 0
xorps xmm0, xmm0
lea eax, [ebp - 0x104]
movups xmmword [ebp - 0x104], xmm0
mov dword [ebp - 0xdc], eax
mov byte [ebp - 0x104], 0
movq qword [ebp - 0xfc], xmm0
mov edx, dword [ebp - 0xe4]
mov ecx, eax
mov byte [ebp - 4], 7
call fcn.00412fd0
mov dword [ebp - 0xf4], 0
lea eax, [ebp - 0xec]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x11c]
push eax
push ecx
lea ecx, [ebp - 0x8c]
call fcn.00403d60
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0xa
push eax
lea ecx, [ebp - 0xa4]
push ecx
sub esp, 8
lea ecx, [ebp - 0xcc]
call fcn.004040a0
push 0x402c40
mov byte [ebp - 4], 0xc
push 2
push 0x18
lea eax, [ebp - 0xa4]
push eax
call fcn.004131e5
push 0x402c40
push 2
push 0x18
lea eax, [ebp - 0x11c]
mov byte [ebp - 4], 0xd
push eax
call fcn.004131e5
push 0x402c40
push 2
push 0x18
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0xe
push eax
call fcn.004131e5
sub esp, 0x10
lea eax, [ebp - 0x44]
lea ecx, [ebp - 0xcc]
push eax
call fcn.00403d90
push str.Content_Type:_application_json_r_n
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 0xf
call fcn.00404380
mov byte [ebp - 4], 0x10
lea edx, [ebp - 0x44]
cmp dword [ebp - 0x30], 0xf
lea ecx, [ebp - 0x2c]
mov eax, dword [ebp - 0x34]
cmova edx, dword [ebp - 0x44]
cmp dword [ebp - 0x18], 7
push 0
cmova ecx, dword [ebp - 0x2c]
push eax
push eax
push edx
push dword [ebp - 0x1c]
push ecx
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
test eax, eax
jne 0x40251d
push 0x406e50
mov edx, 0x4164b4
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.00406c30
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
push esi
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call esi
push dword [ebp - 0xe0]
call esi
push edi
call esi
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x40249e
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402494
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402bb9
push ecx
push edx
call fcn.0041354b
add esp, 8
mov ecx, dword [ebp - 0x30]
xor eax, eax
mov word [ebp - 0x2c], ax
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], eax
cmp ecx, 0xf
jbe 0x4024e2
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4024d8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402bb9
push ecx
push edx
call fcn.0041354b
add esp, 8
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.00404050
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004131a2
mov esp, ebp
pop ebp
ret
push 0
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReceiveResponse]
test eax, eax
jne 0x402539
push 0x406e50
mov edx, 0x4164c8
jmp 0x40243d
push 0
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xd4], 0
push eax
lea eax, [ebp - 0xd4]
mov dword [ebp - 0xa8], 4
push eax
push 0
push 0x20000013
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
mov edx, str.HTTP_Status_Code:
push 0x406e50
push dword [ebp - 0xd4]
call fcn.00406c30
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov eax, dword [ebp - 0xd4]
cmp eax, 0xc8
je 0x4025c6
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.HTTP
push 0x406e50
push eax
call fcn.00406c30
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int_]
jmp 0x402448
lea eax, [ebp - 0xd0]
mov dword [ebp - 0xd0], 0
push eax
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
mov eax, dword [ebp - 0xd0]
test eax, eax
je 0x402b29
inc eax
push eax
call fcn.00413559
mov ecx, dword [ebp - 0xd0]
inc ecx
mov dword [ebp - 0xe4], eax
push ecx
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
mov dword [ebp - 0xac], 0
lea eax, [ebp - 0xac]
push eax
push dword [ebp - 0xd0]
push dword [ebp - 0xe4]
push esi
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x402b1b
push dword [ebp - 0xe4]
lea ecx, [ebp - 0x5c]
call fcn.00404660
push 0
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 0xf
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmova eax, dword [ebp - 0x5c]
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call edi
mov esi, eax
mov dword [ebp - 0x7c], 0
push esi
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
push ecx
lea ecx, [ebp - 0x8c]
movups xmmword [ebp - 0x8c], xmm0
call fcn.00407830
cmp dword [ebp - 0x78], 7
lea ecx, [ebp - 0x8c]
push esi
cmova ecx, dword [ebp - 0x8c]
lea eax, [ebp - 0x5c]
cmp dword [ebp - 0x48], 0xf
push ecx
cmova eax, dword [ebp - 0x5c]
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call edi
mov byte [ebp - 4], 0x12
mov edx, str.Response_Data:
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.00406f20
cmp dword [ebp - 0x78], 7
lea edx, [ebp - 0x8c]
push dword [ebp - 0x7c]
cmova edx, dword [ebp - 0x8c]
mov ecx, eax
call fcn.0040ba40
add esp, 4
mov ecx, eax
push 0x407150
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
push 0
push 1
sub esp, 0x28
mov byte [ebp - 4], 0x13
mov eax, esp
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0xbc]
mov dword [eax + 0x24], 0
call fcn.00407180
add esp, 0x30
push str.status
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 0x14
call fcn.00404660
mov byte [ebp - 4], 0x15
cmp byte [ebp - 0xbc], 1
mov dword [ebp - 0xdc], 3
jne 0x4027a9
mov esi, dword [ebp - 0xb4]
lea eax, [ebp - 0x104]
push eax
lea eax, [ebp - 0x12c]
mov ecx, esi
push eax
call fcn.0040c280
mov edi, dword [ebp - 0x124]
cmp byte [edi + 0xd], 0
jne 0x4027a9
lea eax, [edi + 0x10]
push eax
lea eax, [ebp - 0x104]
push eax
call fcn.0040ea70
test al, al
jne 0x4027a9
cmp edi, dword [esi]
je 0x4027a9
push ecx
lea ecx, [ebp - 0xbc]
call fcn.004072a0
mov al, byte [eax]
cmp al, 5
je 0x4027a0
cmp al, 6
jne 0x4027a9
mov byte [ebp - 0xd5], 1
jmp 0x4027b0
mov byte [ebp - 0xd5], 0
mov dword [ebp - 4], 0x14
mov ecx, dword [ebp - 0xf0]
cmp ecx, 0xf
jbe 0x4027f3
mov edx, dword [ebp - 0x104]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4027e9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4027e9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0041354b
add esp, 8
cmp byte [ebp - 0xd5], 0
je 0x402a26
push ecx
lea ecx, [ebp - 0xbc]
call fcn.004072a0
mov ecx, eax
mov al, byte [ecx]
movzx edx, al
cmp edx, 9
ja case.0x40281c.0
jmp dword [edx*4 + 0x402c0c]
cmp al, 6
jne 0x40282e
lea esi, [ecx + 8]
mov esi, dword [esi]
jmp 0x40286d
xor esi, esi
mov esi, dword [esi]
jmp 0x40286d
cmp al, 5
je 0x402842
cmp al, 6
je 0x402842
xor esi, esi
mov esi, dword [esi]
jmp 0x40286d
lea esi, [ecx + 8]
mov esi, dword [esi]
jmp 0x40286d
cmp al, 7
jne 0x402857
cvttsd2si esi, qword [ecx + 8]
add ecx, 8
jmp 0x40286d
xor ecx, ecx
cvttsd2si esi, qword [ecx]
jmp 0x40286d
cmp al, 4
jne 0x402868
add ecx, 8
jmp 0x40286a
xor ecx, ecx
movzx esi, byte [ecx]
cmp esi, 0xc8
jne 0x402a0b
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov edx, 0x416530
call fcn.00406f20
push 0x407150
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
push dword [ebp - 0xe4]
call fcn.004131b0
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
add esp, 4
push dword [ebp - 0xe8]
call esi
push dword [ebp - 0xe0]
call esi
push dword [ebp - 0xec]
call esi
lea ecx, [ebp - 0xbc]
call fcn.00404050
mov ecx, dword [ebp - 0x78]
cmp ecx, 7
jbe 0x40290a
mov edx, dword [ebp - 0x8c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402900
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4029d7
push ecx
push edx
call fcn.0041354b
add esp, 8
mov ecx, dword [ebp - 0x48]
xor eax, eax
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
cmp ecx, 0xf
jbe 0x402955
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40294b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4029d7
push ecx
push edx
call fcn.0041354b
add esp, 8
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0xf
mov byte [ebp - 0x5c], 0
cmp ecx, 7
jbe 0x40299d
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402993
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4029d7
push ecx
push edx
call fcn.0041354b
add esp, 8
mov ecx, dword [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp ecx, 0xf
jbe 0x4029e7
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4029dd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4029dd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.0041354b
add esp, 8
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0xf
mov byte [ebp - 0x44], 0
call fcn.00404050
mov al, 1
jmp 0x402501
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
mov edx, 0x416554
call fcn.00406f20
push esi
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___int_]
jmp 0x402a36
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcerr]
mov edx, 0x416570
call fcn.00406f20
push 0x407150
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
lea ecx, [ebp - 0xbc]
call fcn.00404050
mov ecx, dword [ebp - 0x78]
cmp ecx, 7
jbe 0x402a87
mov edx, dword [ebp - 0x8c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402a7d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402ac4
push ecx
push edx
call fcn.0041354b
add esp, 8
mov ecx, dword [ebp - 0x48]
xor eax, eax
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
cmp ecx, 0xf
jbe 0x402b0f
mov edx, dword [ebp - 0x5c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x402b05
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402b05
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ecx, dword [ebp - 0x120]
push 0x406e50
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.JSON
mov esi, eax
call fcn.00406c30
mov edx, esi
mov ecx, eax
call fcn.00406c30
mov ecx, eax
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______thiscall_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char_______cdecl___class_std::basic_ostream_char__struct_std::char_traits_char_____]
mov eax, 0x402a4e
ret
push ecx
push edx
call fcn.0041354b
add esp, 8
mov edi, dword [ebp - 0xec]
mov esi, dword [ebp - 0xe8]
push dword [ebp - 0xe4]
call fcn.004131b0
add esp, 4
push esi
mov esi, dword [sym.imp.WINHTTP.dll_WinHttpCloseHandle]
call esi
push dword [ebp - 0xe0]
call esi
push edi
call esi
mov ecx, dword [ebp - 0x18]
cmp ecx, 7
jbe 0x402b73
mov edx, dword [ebp - 0x2c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x402b69
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402bb9
push ecx
push edx
call fcn.0041354b
add esp, 8
mov ecx, dword [ebp - 0x30]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
cmp ecx, 0xf
jbe 0x4024e2
mov edx, dword [ebp - 0x44]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4024d8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4024d8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
call fcn.00406350
mov dword [ebp - 0xdc], eax
lea ecx, [ebp - 0x104]
lea eax, [ebp - 0xdc]
push eax
call fcn.004130f0
add esp, 4
push ecx
push eax
mov edx, 0x12e
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x148]
call fcn.00407500
add esp, 8
lea eax, [ebp - 0x148]
push 0x41a148
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
nop dword [eax]
mov edi, 0xbf00402b
sub eax, dword [eax]
mov edi, 0xbf00402b
sub eax, dword [eax]
pop edi
sub byte [eax], al
xor al, 0x28
inc eax
add byte [ebx], ah
sub byte [eax], al
dec ecx
sub byte [eax], al
mov edi, 0xbf00402b
sub eax, dword [eax]
int3