Function at 0x100557f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x868
mov eax, dword [0x1008d040]
xor eax, esp
mov dword [esp + 0x864], eax
mov eax, dword [esp + 0x874]
push ebx
push ebp
push esi
xor esi, esi
mov dword [esp + 0x40], eax
xor ebp, ebp
mov dword [esp + 0x18], 0
mov dword [esp + 0x34], 0
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x44], ebp
mov dword [esp + 0x3c], 0x800
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], 0x800
mov dword [esp + 0xc], esi
push edi
mov edi, dword [esp + 0x880]
mov dword [esp + 0x34], edi
test eax, eax
je 0x10055860
mov dword [eax], 0xffffffff
push 0x800
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
mov ebx, eax
add esp, 4
mov dword [esp + 0x14], ebx
test ebx, ebx
je 0x10055895
push 0x800
call sub.api_ms_win_crt_heap_l1_1_0.dll_malloc
add esp, 4
mov dword [esp + 0x18], eax
test eax, eax
jne 0x100558a2
push ebx
call fcn.10058873
add esp, 4
mov dword [edi], 0xffffffff
xor eax, eax
jmp 0x10055dca
xor ebx, ebx
mov byte [esp + 0x54], 0
push ebx
push 0x1388
push 0x800
lea eax, [esp + 0x80]
mov dword [esp + 0x48], ebx
push eax
push dword [esp + 0x88c]
call fcn.10056db0
mov edi, eax
add esp, 0x14
test edi, edi
jle 0x10055d9c
nop dword [eax]
cmp dword [esp + 0x1c], 0
jne 0x10055aaa
add esi, edi
cmp esi, dword [esp + 0x40]
jbe 0x10055910
push esi
push dword [esp + 0x18]
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
add esp, 8
test eax, eax
je 0x10055d69
mov dword [esp + 0x14], eax
mov dword [esp + 0x40], esi
push edi
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x78]
push eax
mov eax, dword [esp + 0x34]
add eax, edi
push eax
call sub.VCRUNTIME140.dll_memcpy
mov edx, esi
add esp, 0xc
xor eax, eax
mov dword [esp + 0x2c], edx
lea esi, [edx - 1]
test esi, esi
jle 0x10055b37
mov edx, dword [esp + 0x1c]
lea ecx, [eax + 1]
test edx, edx
jne 0x100559a5
mov dl, byte [eax + edi]
cmp dl, 0xd
jne 0x1005597b
inc eax
inc ecx
cmp byte [eax + edi], 0xa
jne 0x10055993
mov edx, dword [esp + 0x2c]
inc eax
inc ecx
cmp eax, edx
jge 0x10055993
cmp byte [eax + edi], 0xd
jne 0x10055993
inc eax
inc ecx
cmp eax, edx
jge 0x10055993
cmp byte [eax + edi], 0xa
jne 0x10055993
mov edx, ecx
mov dword [esp + 0x1c], edx
jmp 0x10055997
cmp dl, 0xa
mov edx, dword [esp + 0x1c]
jne 0x10055997
inc eax
inc ecx
cmp byte [eax + edi], 0xa
cmove edx, ecx
mov dword [esp + 0x1c], edx
jmp 0x10055997
mov edx, dword [esp + 0x1c]
inc eax
inc ecx
cmp eax, esi
jl 0x10055943
test edx, edx
je 0x10055b37
dec edx
xor esi, esi
mov dword [esp + 0x28], edx
test edx, edx
jle 0x10055a8b
mov ebx, esi
mov ecx, ebx
mov ebp, ecx
nop word [eax + eax]
test ecx, ecx
jle 0x100559ed
cmp ebx, ecx
jg 0x100559ed
cmp byte [esi + edi], 0x3a
jne 0x100559ed
mov ebx, esi
cmp esi, edx
jge 0x100559e5
mov al, byte [edi + esi + 1]
cmp al, 0x20
je 0x100559e0
cmp al, 9
jne 0x100559e5
inc esi
cmp esi, edx
jl 0x100559d4
lea ebp, [esi + 1]
jmp 0x10055a7a
mov al, byte [esi + edi]
cmp al, 0xd
je 0x100559fc
cmp al, 0xa
jne 0x10055a7a
test ecx, ecx
jne 0x10055b6d
cmp dword [esp + 0x44], ecx
je 0x10055b6d
lea eax, [esi - 1]
test eax, eax
jle 0x10055a5c
mov ecx, dword [esp + 0x14]
lea edx, [esi - 1]
not ecx
inc edi
mov dword [esp + 0x20], ecx
cmp byte [edi - 1], 0x20
jne 0x10055a4c
mov ebx, dword [esp + 0x44]
cmp dword [ebx], 0
jge 0x10055a54
mov al, byte [edi]
sub al, 0x31
cmp al, 8
ja 0x10055a4c
push edi
call sub.api_ms_win_crt_convert_l1_1_0.dll_atoi
mov ecx, dword [esp + 0x24]
lea edx, [esi - 1]
add esp, 4
mov dword [ebx], eax
inc edi
lea eax, [ecx + edi]
cmp eax, edx
jl 0x10055a23
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
cmp esi, ecx
jge 0x10055a74
mov al, byte [esi + edi]
cmp al, 0xd
je 0x10055a6f
cmp al, 0xa
jne 0x10055a74
inc esi
cmp esi, ecx
jl 0x10055a64
mov ecx, esi
mov ebx, esi
xor ebp, ebp
inc esi
cmp esi, edx
jl 0x100559c0
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x48]
mov edi, dword [esp + 0x2c]
sub edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
add eax, dword [esp + 0x1c]
push edi
push eax
lea eax, [esp + 0x7c]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
cmp dword [esp + 0x38], 0
je 0x10055cf7
xor esi, esi
test edi, edi
jle 0x10055b23
nop dword [eax + eax]
test ebp, ebp
jne 0x10055c54
test ebx, ebx
jne 0x10055ae0
cmp byte [esp + esi + 0x74], 0xd
jne 0x10055ad4
inc esi
cmp esi, edi
jge 0x10055b23
cmp byte [esp + esi + 0x74], 0xa
jne 0x10055ae4
inc esi
cmp esi, edi
jge 0x10055b23
movsx eax, byte [esp + esi + 0x74]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_isxdigit
add esp, 4
test eax, eax
je 0x10055bf2
cmp ebx, 0x1f
jae 0x10055bf2
mov al, byte [esp + esi + 0x74]
mov byte [esp + ebx + 0x54], al
inc ebx
mov dword [esp + 0x3c], ebx
cmp ebx, 0x20
jae 0x10055de3
inc esi
mov byte [esp + ebx + 0x54], 0
cmp esi, edi
jl 0x10055ae4
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x30]
test eax, eax
jle 0x10055b37
cmp ecx, eax
jae 0x10055d9c
push 0
push 0x1388
push 0x800
lea eax, [esp + 0x80]
push eax
push dword [esp + 0x88c]
call fcn.10056db0
mov edi, eax
add esp, 0x14
test edi, edi
jle 0x10055d9c
mov esi, dword [esp + 0x2c]
jmp 0x100558e0
cmp ebx, ecx
jle 0x10055a5c
cmp ebp, ebx
jle 0x10055a5c
sub ebx, ecx
add edi, ecx
push ebx
push str.content_length
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll__memicmp
add esp, 0xc
test eax, eax
jne 0x10055bad
mov edi, dword [esp + 0x14]
lea eax, [edi + ebp]
push eax
call sub.api_ms_win_crt_convert_l1_1_0.dll_atoi
add esp, 4
mov dword [esp + 0x30], eax
jmp 0x10055a58
push ebx
push str.transfer_encoding
push edi
call sub.api_ms_win_crt_string_l1_1_0.dll__memicmp
add esp, 0xc
test eax, eax
jne 0x10055a54
mov edi, dword [esp + 0x14]
push 7
push str.chunked
lea eax, [edi + ebp]
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll__memicmp
mov ecx, dword [esp + 0x44]
add esp, 0xc
test eax, eax
mov eax, 1
cmove ecx, eax
mov dword [esp + 0x38], ecx
jmp 0x10055a58
mov al, byte [esp + esi + 0x74]
cmp al, 0xd
je 0x10055c08
cmp al, 0xa
je 0x10055c09
inc esi
cmp esi, edi
jl 0x10055bf2
jmp 0x10055b23
inc esi
cmp esi, edi
jge 0x10055b23
cmp byte [esp + esi + 0x74], 0xa
jne 0x10055ac0
xor edx, edx
test ebx, ebx
je 0x10055c44
mov al, byte [esp + edx + 0x54]
movsx ecx, al
sub al, 0x30
shl ebp, 4
cmp al, 9
ja 0x10055c37
add ebp, 0xffffffd0
jmp 0x10055c3d
or ecx, 0x20
add ebp, 0xffffffa9
inc edx
add ebp, ecx
cmp edx, ebx
jb 0x10055c22
xor ebx, ebx
mov byte [esp + 0x54], 0
inc esi
test ebp, ebp
je 0x10055d9c
mov eax, edi
mov dword [esp + 0x3c], ebx
sub eax, esi
mov ecx, ebp
cmp ebp, eax
cmovae ecx, eax
mov eax, dword [esp + 0x10]
add eax, ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x20], eax
cmp eax, dword [esp + 0x24]
jbe 0x10055cad
mov ecx, dword [esp + 0x30]
test ecx, ecx
js 0x10055c8b
cmp ecx, eax
jb 0x10055c8b
mov eax, ecx
mov dword [esp + 0x24], ecx
jmp 0x10055c8f
mov dword [esp + 0x24], eax
push eax
mov eax, dword [esp + 0x1c]
push eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
add esp, 8
test eax, eax
je 0x10055d8d
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x74]
add eax, esi
push ecx
push eax
mov eax, dword [esp + 0x20]
add eax, dword [esp + 0x18]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esi, dword [esp + 0x34]
add esp, 0xc
sub ebp, dword [esp + 0x28]
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x48], ebp
mov dword [esp + 0x18], eax
cmp esi, edi
jl 0x10055ac0
jmp 0x10055b23
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x10]
test ecx, ecx
jle 0x10055d0e
lea eax, [edi + edx]
cmp eax, ecx
jbe 0x10055d0e
mov edi, ecx
sub edi, edx
lea esi, [edi + edx]
cmp esi, dword [esp + 0x24]
jbe 0x10055d49
test ecx, ecx
js 0x10055d27
cmp ecx, esi
jb 0x10055d27
mov eax, ecx
mov dword [esp + 0x24], eax
jmp 0x10055d2d
mov eax, esi
mov dword [esp + 0x24], esi
push eax
mov eax, dword [esp + 0x1c]
push eax
call sub.api_ms_win_crt_heap_l1_1_0.dll_realloc
add esp, 8
test eax, eax
je 0x10055d8d
mov edx, dword [esp + 0x10]
mov dword [esp + 0x18], eax
jmp 0x10055d4d
mov eax, dword [esp + 0x18]
push edi
lea ecx, [esp + 0x78]
add eax, edx
push ecx
push eax
call sub.VCRUNTIME140.dll_memcpy
mov ecx, esi
add esp, 0xc
mov dword [esp + 0x10], ecx
jmp 0x10055b27
push dword [esp + 0x14]
call fcn.10058873
mov eax, dword [esp + 0x1c]
push eax
call fcn.10058873
mov ecx, dword [esp + 0x3c]
add esp, 8
xor eax, eax
mov dword [ecx], 0xffffffff
jmp 0x10055dca
push dword [esp + 0x18]
call fcn.10058873
push dword [esp + 0x18]
jmp 0x10055d77
push dword [esp + 0x14]
call fcn.10058873
mov ecx, dword [esp + 0x38]
add esp, 4
mov eax, dword [esp + 0x10]
mov dword [ecx], eax
test eax, eax
jne 0x10055dc6
push dword [esp + 0x18]
call fcn.10058873
add esp, 4
xor eax, eax
jmp 0x10055dca
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x874]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.100574bd
add esp, 0x868
ret
call fcn.10058109
int3