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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a7c58
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x617960]
xor eax, esp
mov dword [esp + 0x60], eax
push ebx
push esi
push edi
mov eax, dword [0x617960]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov edx, dword [ebp + 0xc]
xor edi, edi
test edx, edx
jle 0x45cc67
mov ebx, dword [ebp + 8]
xor eax, eax
lea esp, [esp]
lea ecx, [eax + edi]
mov cl, byte [ecx + ebx]
cmp cl, byte [eax + 0x600494]
jne 0x45cc5e
inc eax
cmp eax, 4
jl 0x45cb40
test edi, edi
js 0x45cc67
lea esi, [edi + 1]
push esi
call fcn.0047e2e0
add esp, 4
mov dword [esp + 0x10], eax
push esi
push 0
push eax
call fcn.00495000
add esp, 0xc
test edi, edi
jle 0x45cb92
mov ecx, dword [esp + 0x10]
sub ebx, ecx
mov al, byte [ebx + ecx]
lea ecx, [ecx + 1]
mov byte [ecx - 1], al
dec edi
jne 0x45cb86
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], 0
mov byte [esp + 0x40], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
mov dword [esp + 0x6c], 0xf
mov dword [esp + 0x68], 0
mov byte [esp + 0x58], 0
xorps xmm0, xmm0
mov dword [esp + 0x3c], 0
movq qword [esp + 0x34], xmm0
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
sub esp, 0x18
mov byte [esp + 0x98], 3
mov ecx, esp
mov dword [esp + 0x30], esp
push 2
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push 0x6003b8
mov byte [ecx], 0
call fcn.00437730
mov ebx, dword [esp + 0x28]
sub esp, 0x18
mov edx, esp
mov byte [esp + 0xb0], 4
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [ebx], 0
jne 0x45cc89
xor ecx, ecx
jmp 0x45cc99
inc edi
cmp edi, edx
jl 0x45cb37
xor eax, eax
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.0049355b
mov esp, ebp
pop ebp
ret 8
mov ecx, ebx
lea esi, [ecx + 1]
mov edi, edi
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45cc90
sub ecx, esi
push ecx
push ebx
mov ecx, edx
call fcn.00437730
lea ecx, [esp + 0x64]
mov byte [esp + 0xb0], 3
call fcn.00443910
mov ecx, dword [esp + 0x68]
mov eax, 0x2aaaaaab
mov esi, dword [esp + 0x64]
add esp, 0x30
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
test eax, eax
jg 0x45cce5
push ebx
call fcn.0047e2e9
add esp, 4
xor edi, edi
jmp 0x45ce60
lea eax, [esp + 0x40]
cmp eax, esi
je 0x45ccf9
push 0xffffffffffffffff
push 0
push esi
mov ecx, eax
call fcn.004373c0
push 0xffffffffffffffff
push 0
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x28]
call fcn.004373c0
mov edi, dword [esp + 0x30]
lea eax, [esp + 0x1c]
mov esi, dword [esp + 0x1c]
lea ecx, [esp + 0x1c]
cmp edi, 0x10
lea edx, [esp + 0x1c]
cmovae eax, esi
cmovae ecx, esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x2c]
add eax, ecx
cmp edi, 0x10
cmovae edx, esi
cmp edx, eax
je 0x45cd52
push fcn.0049c840
push dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
call fcn.00446130
add esp, 0xc
push 6
push ecx
push str.200_ok
lea ecx, [esp + 0x28]
call fcn.00440020
test eax, eax
js 0x45cd77
push ebx
call fcn.0047e2e9
mov edi, 0xc8
jmp 0x45ce5d
push 0x13
push ecx
push str.206_partial_content
lea ecx, [esp + 0x28]
call fcn.00440020
test eax, eax
jns 0x45ce52
push 6
push ecx
push str.206_ok
lea ecx, [esp + 0x28]
call fcn.00440020
test eax, eax
jns 0x45ce52
push 3
push ecx
push 0x6005d4
lea ecx, [esp + 0x28]
call fcn.00440020
test eax, eax
js 0x45cdce
push ebx
call fcn.0047e2e9
mov edi, 0x12d
jmp 0x45ce5d
push ecx
push 0x6005d8
lea ecx, [esp + 0x24]
call fcn.00444c40
test eax, eax
js 0x45cdee
push ebx
call fcn.0047e2e9
mov edi, 0x12e
jmp 0x45ce5d
push ecx
push 0x6005dc
lea ecx, [esp + 0x24]
call fcn.00444c40
test eax, eax
js 0x45ce0e
push ebx
call fcn.0047e2e9
mov edi, 0x1a0
jmp 0x45ce5d
push ecx
push str.404_not_found
lea ecx, [esp + 0x24]
call fcn.00444c40
test eax, eax
js 0x45ce2e
push ebx
call fcn.0047e2e9
mov edi, 0x194
jmp 0x45ce5d
push ecx
push 0x6005f0
lea ecx, [esp + 0x24]
call fcn.00444c40
push ebx
test eax, eax
js 0x45ccd6
call fcn.0047e2e9
mov edi, 0x1f4
jmp 0x45ce5d
push ebx
call fcn.0047e2e9
mov edi, 0xce
add esp, 4
mov ebx, dword [esp + 0x34]
test ebx, ebx
je 0x45cea7
mov eax, dword [esp + 0x38]
mov esi, ebx
cmp ebx, eax
je 0x45ce9e
cmp dword [esi + 0x14], 0x10
jb 0x45ce86
push dword [esi]
call fcn.0047e2e9
mov eax, dword [esp + 0x3c]
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
add esi, 0x18
cmp esi, eax
jne 0x45ce72
push ebx
call fcn.0047e2e9
add esp, 4
cmp dword [esp + 0x30], 0x10
jb 0x45ceba
push dword [esp + 0x1c]
call fcn.0047e2e9
add esp, 4
cmp dword [esp + 0x54], 0x10
mov dword [esp + 0x30], 0xf
mov dword [esp + 0x2c], 0
mov byte [esp + 0x1c], 0
jb 0x45cee2
push dword [esp + 0x40]
call fcn.0047e2e9
add esp, 4
mov eax, edi
jmp 0x45cc69