Function at 0x45d470
Capabilities:
Check http status code

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x20]
cmp byte [esi + 0x13c], 0
jne 0x45d55b
cmp byte [esi + 0x713], 0
jne 0x45d55b
push 0xf
push edi
push 0x4a2160
call fcn.00461ee0
add esp, 0xc
test eax, eax
je 0x45d55b
lea eax, [esp + 0xc]
push eax
push 0xa
lea eax, [edi + 0xf]
push 0
push eax
call fcn.004689b0
add esp, 0x10
test eax, eax
jne 0x45d4f2
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
pop edi
mov dword [esi + 0x84], eax
mov dword [esi + 0x8c], eax
xor eax, eax
mov dword [esi + 0x80], ecx
mov dword [esi + 0x88], ecx
pop esi
pop ebx
add esp, 8
ret
cmp eax, 1
jne 0x45d541
mov eax, dword [esi + 0x500]
or eax, dword [esi + 0x504]
je 0x45d51f
push str.Maximum_file_size_exceeded
push esi
call fcn.004525a0
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebx
add esp, 8
ret
push 2
push dword [esp + 0x20]
call fcn.00452f60
push 0x4a2b10
push esi
call fcn.00452670
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 8
ret
push 0x4a2b30
push esi
call fcn.004525a0
add esp, 8
mov eax, 8
pop edi
pop esi
pop ebx
add esp, 8
ret
push 0xd
push edi
push 0x4a26c4
call fcn.00461ee0
add esp, 0xc
test eax, eax
je 0x45d5c0
push edi
call fcn.0045c6d0
mov edi, eax
add esp, 4
test edi, edi
jne 0x45d58a
pop edi
pop esi
mov eax, 0x1b
pop ebx
add esp, 8
ret
cmp byte [edi], 0
jne 0x45d5a2
push edi
call dword [0x4c8004]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 8
ret
push dword [esi + 0xd34]
call dword [0x4c8004]
add esp, 4
mov dword [esi + 0xd34], edi
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 8
ret
mov ebx, dword [esp + 0x1c]
cmp byte [ebx + 0x114], 0xa
jne 0x45d60c
cmp byte [ebx + 0x258], 0
je 0x45d60c
push 0x4a2b50
push 0x4a221c
push edi
call fcn.0045c600
add esp, 0xc
test al, al
je 0x45d60c
push 0
push ebx
call fcn.00452f60
push 0x4a2b5c
push esi
call fcn.00452670
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 8
ret
cmp byte [ebx + 0x114], 0xb
jne 0x45d654
cmp byte [ebx + 0x258], 0
je 0x45d654
push 0x4a21a4
push 0x4a221c
push edi
call fcn.0045c600
add esp, 0xc
test al, al
je 0x45d654
push 1
push ebx
call fcn.00452f60
push 0x4a2b8c
push esi
call fcn.00452670
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 8
ret
cmp byte [ebx + 0x114], 0xa
jne 0x45d693
push 0x4a2b50
push 0x4a21ac
push edi
call fcn.0045c600
add esp, 0xc
test al, al
je 0x45d693
push 0
push ebx
call fcn.00452f60
push 0x4a2bb4
push esi
call fcn.00452670
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 8
ret
push 0x4a21a4
push 0x4a21ac
push edi
call fcn.0045c600
add esp, 0xc
test al, al
je 0x45d6be
push 2
push ebx
call fcn.00452f60
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 8
ret
cmp byte [esi + 0x13c], 0
jne 0x45d759
push 0x12
push edi
push 0x4a21b8
call fcn.00461ee0
add esp, 0xc
test eax, eax
je 0x45d715
push 1
lea eax, [edi + 0x12]
push eax
push esi
call fcn.00455990
add esp, 0xc
test eax, eax
jne 0x45d6b7
cmp byte [esi + 0x13d], al
jne 0x45d6b5
push 1
push ebx
call fcn.00452f60
add esp, 8
mov byte [esi + 0x13e], 1
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 8
ret
cmp byte [esi + 0x13c], 0
jne 0x45d759
push 0x11
push edi
push 0x4a2bdc
call fcn.00461ee0
add esp, 0xc
test eax, eax
je 0x45d759
cmp dword [esi + 0x548], 0
je 0x45d759
push 0
lea eax, [edi + 0x11]
push eax
push esi
call fcn.00455990
add esp, 0xc
test eax, eax
je 0x45d6b5
pop edi
pop esi
pop ebx
add esp, 8
ret
push 0xc
push edi
push 0x4a2bf0
call fcn.00461ee0
add esp, 0xc
test eax, eax
je 0x45d7e4
push ebp
xorps xmm0, xmm0
lea ebp, [edi + 0xc]
push ebp
movlpd qword [esp + 0x14], xmm0
call fcn.004191e0
mov ebx, eax
add esp, 4
mov edi, edx
cmp ebx, 0xffffffff
jne 0x45d7c0
cmp edi, eax
jne 0x45d7c0
lea eax, [esp + 0x10]
push eax
push 0xa
push 0
push ebp
call fcn.004689b0
mov edi, dword [esp + 0x24]
add esp, 0x10
mov ebx, dword [esp + 0x10]
xor eax, eax
mov dword [esi + 0xd44], edi
mov dword [esi + 0xd40], ebx
pop ebp
pop edi
pop esi
pop ebx
add esp, 8
ret
push 0
call fcn.004781c4
add esp, 4
sub ebx, eax
mov dword [esi + 0xd40], ebx
sbb edi, edx
xor eax, eax
mov dword [esi + 0xd44], edi
pop ebp
pop edi
pop esi
pop ebx
add esp, 8
ret
cmp byte [esi + 0x13c], 0
jne 0x45d911
push 0xe
push edi
push 0x4a2c00
call fcn.00461ee0
add esp, 0xc
test eax, eax
je 0x45d8a6
mov al, byte [edi + 0xe]
add edi, 0xe
test al, al
je 0x45d830
movzx eax, al
push eax
call fcn.004688a0
add esp, 4
test eax, eax
jne 0x45d830
cmp byte [edi], 0x2a
je 0x45d830
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x45d813
movzx eax, byte [edi]
push eax
call fcn.004688a0
add esp, 4
test eax, eax
je 0x45d889
lea ebx, [esi + 0xe8]
push ebx
push 0xa
push 0
push edi
call fcn.004689b0
add esp, 0x10
test eax, eax
jne 0x45d6b5
mov eax, dword [esi + 0xc28]
cmp eax, dword [ebx]
jne 0x45d6b5
mov eax, dword [esi + 0xc2c]
cmp eax, dword [ebx + 4]
jne 0x45d6b5
pop edi
mov byte [esi + 0x139], 1
xor eax, eax
pop esi
pop ebx
add esp, 8
ret
pop edi
mov dword [esi + 0xc28], 0
xor eax, eax
mov dword [esi + 0xc2c], 0
pop esi
pop ebx
add esp, 8
ret
cmp byte [esi + 0x13c], 0
jne 0x45d911
push 0xe
push edi
push 0x4a2c10
call fcn.00461ee0
add esp, 0xc
test eax, eax
je 0x45d911
cmp dword [esi + 0x3ec], 0
jne 0x45d8d5
cmp byte [esi + 0x6fd], 0
je 0x45d911
lea eax, [edi + 0xe]
push eax
call fcn.004191e0
add esp, 4
mov dword [esi + 0x118], eax
mov dword [esi + 0x11c], edx
cmp byte [esi + 0x6fd], 0
je 0x45d6b5
mov dword [esi + 0xd10], eax
mov eax, edx
pop edi
mov dword [esi + 0xd14], eax
xor eax, eax
pop esi
pop ebx
add esp, 8
ret
push 0x11
push edi
push 0x4a2138
call fcn.00461ee0
add esp, 0xc
test eax, eax
je 0x45d932
mov eax, dword [esi + 0xf0]
cmp eax, 0x191
je 0x45d953
push 0x13
push edi
push 0x4a214c
call fcn.00461ee0
add esp, 0xc
test eax, eax
je 0x45d998
mov eax, dword [esi + 0xf0]
cmp eax, 0x197
jne 0x45d998
cmp eax, 0x197
push edi
sete byte [esp + 0x1c]
call fcn.0045c6d0
mov edi, eax
add esp, 4
test edi, edi
je 0x45d57e
push edi
push dword [esp + 0x1c]
push esi
call fcn.0045dc60
push edi
mov esi, eax
call dword [0x4c8004]
add esp, 0x10
test esi, esi
je 0x45d6b5
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 8
ret
mov eax, dword [esi + 0xf0]
cmp eax, 0x12c
jl 0x45da3e
cmp eax, 0x190
jge 0x45da3e
push 9
push edi
push 0x4a2c20
call fcn.00461ee0
add esp, 0xc
test eax, eax
je 0x45da3e
cmp dword [esi + 0x124], 0
jne 0x45da3e
push edi
call fcn.0045c6d0
add esp, 4
test eax, eax
je 0x45d57e
cmp byte [eax], 0
jne 0x45d9fa
push eax
call dword [0x4c8004]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 8
ret
cmp byte [esi + 0x705], 0
mov dword [esi + 0x124], eax
je 0x45d6b5
push eax
call dword [0x4c800c]
add esp, 4
mov dword [esi + 0x128], eax
test eax, eax
je 0x45d57e
push ebx
push esi
call fcn.0045f000
add esp, 8
test eax, eax
je 0x45d6b5
pop edi
pop esi
pop ebx
add esp, 8
ret
cmp dword [esi + 0x734], 0
je 0x45da9e
push 0x1a
push edi
push 0x4a2c2c
call fcn.00461ee0
add esp, 0xc
test eax, eax
je 0x45da9e
mov eax, dword [ebx + 0x298]
test byte [eax + 0x4c], 1
je 0x45da9e
lea eax, [edi + 0x1a]
push eax
push dword [esi + 0xc64]
push dword [esi + 0x734]
call fcn.00454e30
add esp, 0xc
test eax, eax
je 0x45d6b5
push 0x4a2c48
push esi
call fcn.00452670
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 8
ret
mov eax, dword [ebx + 0x298]
test dword [eax + 0x44], 0x40000
je 0x45d6b5
pop edi
pop esi
mov eax, 4
pop ebx
add esp, 8
ret