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

Disassembly:
push 0xffffffffffffffff
push 0x512310
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x48], 1
call fcn.004ab180
push 0x5245f0
lea ecx, [ebp + 0x78]
mov byte [esp + 0x4c], 2
mov dword [ebp], 0x52e80c
mov dword [ebp + 0x20], 0x52e7fc
call fcn.00402110
push 0x5245f0
lea ecx, [ebp + 0x7c]
mov byte [esp + 0x4c], 3
call fcn.00402110
push 0xa
lea ecx, [ebp + 0x80]
mov byte [esp + 0x4c], 4
call fcn.004fc9c0
mov esi, dword [esp + 0x50]
add esi, 0xfffffff0
xor edi, edi
push esi
mov byte [esp + 0x4c], 5
mov dword [ebp + 0x9c], edi
mov dword [esp + 0x1c], esi
call fcn.00401a40
add eax, 0x10
mov dword [ebp + 0xa0], eax
mov ebx, dword [esp + 0x58]
add ebx, 0xfffffff0
push ebx
mov byte [esp + 0x50], 6
mov dword [esp + 0x24], ebx
call fcn.00401a40
add eax, 0x10
add esp, 8
mov dword [ebp + 0xa4], eax
mov dword [ebp + 0xa8], edi
mov dword [ebp + 0xac], edi
mov edi, dword [esp + 0x58]
test edi, edi
mov byte [esp + 0x48], 7
je 0x46fd4a
mov ebx, dword [edi + 0xc]
test ebx, ebx
je 0x46fc0c
mov eax, dword [ebx + 8]
mov dword [esp + 0x38], eax
call fcn.004fd868
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0xc]
add eax, 0x10
mov dword [esp + 0x14], eax
push str._r_n_____________________________7d33992b80330_r_nContent_Disposition:_form_data__name_
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x34]
push ecx
mov byte [esp + 0x54], 8
call fcn.0041b800
lea edx, [ebx + 0x78]
push edx
push eax
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x60], 9
call fcn.00430180
push 0x52e994
push eax
lea ecx, [esp + 0x44]
push ecx
mov byte [esp + 0x6c], 0xa
call fcn.0041b800
add esp, 0x24
mov eax, dword [eax]
mov esi, dword [ebx + 0x88]
lea edi, [ebx + 0x88]
lea ecx, [eax - 0x10]
sub esi, 0x10
cmp ecx, esi
mov byte [esp + 0x48], 0xb
je 0x46fa92
mov edx, dword [esi + 0xc]
test edx, edx
jge 0x46fa65
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, edi
call fcn.00401ee0
jmp 0x46fa92
push ecx
call fcn.00401a40
mov dword [esp + 0x24], eax
add esp, 4
or edx, 0xffffffff
lea eax, [esi + 0xc]
lock xadd dword [eax], edx
dec edx
test edx, edx
jg 0x46fa89
mov ecx, dword [esi]
mov eax, dword [ecx]
push esi
call dword [eax + 4]
mov ecx, dword [esp + 0x20]
add ecx, 0x10
mov dword [edi], ecx
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
mov byte [esp + 0x48], 0xa
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46fab5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov byte [esp + 0x48], 9
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46fad8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov byte [esp + 0x48], 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46fafb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0x48], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46fb1e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebx + 0x7c]
lea esi, [ebx + 0x7c]
push 0x5245f0
push eax
call fcn.004edc73
add esp, 8
test eax, eax
je 0x46fbbb
push esi
lea eax, [esp + 0x38]
push str.__filename_
push eax
call fcn.0046f520
push str.__r_nContent_Type:_application_octet_stream
push eax
lea ecx, [esp + 0x44]
push ecx
mov byte [esp + 0x60], 0xc
call fcn.0041b800
add esp, 0x18
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, edi
mov byte [esp + 0x50], 0xd
call fcn.0041f860
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
mov byte [esp + 0x48], 0xc
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46fb98
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
mov byte [esp + 0x48], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46fbbb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, str._r_n_r_n
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x46fbc3
sub eax, edx
push eax
push str._r_n_r_n
mov ecx, edi
call fcn.0041f860
mov eax, dword [edi]
mov eax, dword [eax - 0xc]
mov esi, dword [ebp + 0xac]
add esi, eax
mov dword [ebp + 0xac], esi
mov ecx, dword [ebx + 0x84]
mov ebx, dword [esp + 0x38]
mov eax, esi
add ecx, eax
test ebx, ebx
mov dword [ebp + 0xac], ecx
jne 0x46f9d4
mov edi, dword [esp + 0x58]
push str._r_n_____________________________7d33992b80330___r_n
lea ecx, [esp + 0x14]
call fcn.00402110
mov edx, dword [esp + 0x10]
mov eax, dword [edx - 0xc]
mov ebx, dword [ebp + 0xac]
add ebx, eax
mov eax, ebx
push eax
mov byte [esp + 0x4c], 0xe
mov dword [ebp + 0xac], ebx
call fcn.004fd795
mov dword [ebp + 0xa8], eax
mov eax, dword [edi + 0xc]
add esp, 4
xor edx, edx
test eax, eax
je 0x46fcb3
mov edi, edi
mov ecx, dword [eax + 8]
mov esi, dword [eax + 0x88]
mov edi, dword [ebp + 0xa8]
mov dword [esp + 0x58], ecx
mov ecx, dword [esi - 0xc]
mov ebx, ecx
shr ecx, 2
add edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [eax + 0x88]
mov esi, dword [ecx - 0xc]
mov ecx, dword [eax + 0x84]
mov edi, dword [ebp + 0xa8]
add edx, esi
mov esi, dword [eax + 0x80]
mov ebx, ecx
shr ecx, 2
add edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [eax + 0x84]
mov eax, dword [esp + 0x58]
add edx, esi
test eax, eax
jne 0x46fc50
mov esi, dword [esp + 0x10]
mov ecx, dword [esi - 0xc]
mov edi, dword [ebp + 0xa8]
mov eax, ecx
shr ecx, 2
add edi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x10]
mov esi, dword [ecx - 0xc]
mov eax, dword [ebp + 0xac]
add edx, esi
cmp edx, eax
je 0x46fd1f
push 0x36
push str.gameHTTPfile.cpp
push str.HTTPfile::HTTPfile
push str.usedheaderBufferSize
push str.Assertion_failed.
push ecx
mov ecx, esp
mov dword [esp + 0x70], esp
push 0x51fa70
call fcn.00402110
mov edx, dword [0x55cd0c]
mov eax, dword [edx + 0x860]
push eax
call fcn.0044ce20
add esp, 0x1c
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0x48], 7
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46fd42
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x1c]
push 0
push 0
push 0
push 1
push ebp
push 0x46f8e0
call fcn.004fed17
mov byte [esp + 0x48], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46fd79
mov ecx, dword [esi]
mov edx, dword [ecx]
push esi
call dword [edx + 4]
mov dword [esp + 0x48], 0xffffffff
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46fd98
mov ecx, dword [ebx]
mov edx, dword [ecx]
push ebx
call dword [edx + 4]
mov ecx, dword [esp + 0x40]
pop edi
pop esi
mov eax, ebp
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x3c
ret 0xc