Function at 0x457040
Capabilities:
Check http status code

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, dword [esp + 0x24]
cmp byte [esi + 0x141], 0
jne 0x457130
cmp byte [esi + 0x6ed], 0
jne 0x457130
push 0xf
push 0x494258
push edi
call fcn.004506e0
add esp, 0xc
test eax, eax
je 0x457130
lea eax, [esp + 0x10]
push eax
push 0xa
lea eax, [edi + 0xf]
push 0
push eax
call fcn.0045bca0
add esp, 0x10
test eax, eax
jne 0x4570c4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
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 ebp
pop ebx
add esp, 8
ret
cmp eax, 1
jne 0x457115
mov eax, dword [esi + 0x4d8]
or eax, dword [esi + 0x4dc]
je 0x4570f2
push 0x490118
push esi
call fcn.0044b720
add esp, 8
mov eax, 0x3f
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
push 2
push dword [esp + 0x24]
call fcn.0044cb00
push 0x494814
push esi
call fcn.0044b7f0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
push 0x494834
push esi
call fcn.0044b720
add esp, 8
mov eax, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
push 0xd
push 0x494248
push edi
call fcn.004506e0
add esp, 0xc
test eax, eax
je 0x45718f
push edi
call fcn.00455ff0
mov edi, eax
add esp, 4
test edi, edi
je 0x4577b0
cmp byte [edi], 0
jne 0x457170
push edi
call dword [0x4a4020]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
push dword [esi + 0xd8c]
call dword [0x4a4020]
add esp, 4
mov dword [esi + 0xd8c], edi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov ebp, dword [esp + 0x20]
cmp byte [ebp + 0x4b7], 0xa
jne 0x4571e0
cmp byte [ebp + 0x1f8], 0
je 0x4571e0
push 0xa
push 0x494854
push 0x11
push 0x494860
push edi
call fcn.00455f40
add esp, 0x14
test al, al
je 0x4571e0
push 0
push ebp
call fcn.0044cb00
push 0x494874
push esi
call fcn.0044b7f0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
cmp byte [ebp + 0x4b7], 0xb
jne 0x45722d
cmp byte [ebp + 0x1f8], 0
je 0x45722d
push 5
push 0x4948a0
push 0x11
push 0x494860
push edi
call fcn.00455f40
add esp, 0x14
test al, al
je 0x45722d
push 1
push ebp
call fcn.0044cb00
push 0x4948a8
push esi
call fcn.0044b7f0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
cmp byte [ebp + 0x4b7], 0xa
jne 0x457271
push 0xa
push 0x494854
push 0xb
push 0x494268
push edi
call fcn.00455f40
add esp, 0x14
test al, al
je 0x457271
push 0
push ebp
call fcn.0044cb00
push 0x4948cc
push esi
call fcn.0044b7f0
add esp, 0x10
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
push 5
push 0x4948a0
push 0xb
push 0x494268
push edi
call fcn.00455f40
add esp, 0x14
test al, al
je 0x4572a1
push 2
push ebp
call fcn.0044cb00
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
cmp byte [esi + 0x141], 0
jne 0x45733e
push 0x12
push 0x494274
push edi
call fcn.004506e0
add esp, 0xc
test eax, eax
je 0x4572f9
push 1
lea eax, [edi + 0x12]
push eax
push esi
call fcn.00450a10
add esp, 0xc
test eax, eax
jne 0x457299
cmp byte [esi + 0x142], al
jne 0x457297
push 1
push ebp
call fcn.0044cb00
add esp, 8
mov byte [esi + 0x143], 1
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
cmp byte [esi + 0x141], 0
jne 0x45733e
push 0x11
push 0x4948f4
push edi
call fcn.004506e0
add esp, 0xc
test eax, eax
je 0x45733e
cmp dword [esi + 0x52c], 0
je 0x45733e
push 0
lea eax, [edi + 0x11]
push eax
push esi
call fcn.00450a10
add esp, 0xc
test eax, eax
je 0x457297
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
push 0xc
push 0x494908
push edi
call fcn.004506e0
add esp, 0xc
test eax, eax
je 0x4573db
lea eax, [esp + 0x10]
xorps xmm0, xmm0
push eax
push 0xa
lea ebp, [edi + 0xc]
movlpd qword [esp + 0x18], xmm0
push 0
push ebp
call fcn.0045bca0
mov ebx, dword [esp + 0x20]
add esp, 0x10
mov edi, dword [esp + 0x14]
mov eax, ebx
or eax, edi
jne 0x4573c5
push ebp
call fcn.0045be20
mov ebx, eax
add esp, 4
mov edi, edx
cmp ebx, 0xffffffff
jne 0x4573b6
cmp edi, eax
jne 0x4573b6
mov edi, dword [esp + 0x14]
xor eax, eax
mov ebx, dword [esp + 0x10]
mov dword [esi + 0xd9c], edi
pop edi
mov dword [esi + 0xd98], ebx
pop esi
pop ebp
pop ebx
add esp, 8
ret
push 0
call dword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
add esp, 4
sub ebx, eax
sbb edi, edx
mov dword [esi + 0xd9c], edi
xor eax, eax
pop edi
mov dword [esi + 0xd98], ebx
pop esi
pop ebp
pop ebx
add esp, 8
ret
cmp byte [esi + 0x141], 0
jne 0x45749a
push 0xe
push 0x494918
push edi
call fcn.004506e0
add esp, 0xc
test eax, eax
je 0x45749a
mov cl, byte [edi + 0xe]
add edi, 0xe
test cl, cl
je 0x45742a
mov al, cl
nop dword [eax]
cmp al, 0x30
jl 0x45741a
mov cl, al
cmp al, 0x39
jle 0x45742a
mov cl, al
cmp al, 0x2a
je 0x45742a
mov cl, byte [edi + 1]
inc edi
mov al, cl
test cl, cl
jne 0x457410
sub cl, 0x30
cmp cl, 9
ja 0x45747c
lea ebx, [esi + 0xe8]
push ebx
push 0xa
push 0
push edi
call fcn.0045bca0
add esp, 0x10
test eax, eax
jne 0x457297
mov eax, dword [esi + 0xc38]
cmp eax, dword [ebx]
jne 0x457297
mov eax, dword [esi + 0xc3c]
cmp eax, dword [ebx + 4]
jne 0x457297
pop edi
mov byte [esi + 0x13e], 1
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 8
ret
pop edi
mov dword [esi + 0xc38], 0
xor eax, eax
mov dword [esi + 0xc3c], 0
pop esi
pop ebp
pop ebx
add esp, 8
ret
cmp dword [esi + 0x708], 0
je 0x4575a1
cmp byte [esi + 0xd22], 0
je 0x4575a1
push 0xb
push 0x491634
push edi
call fcn.004506e0
add esp, 0xc
test eax, eax
je 0x4575a1
mov ebx, dword [esi + 0xcf8]
test ebx, ebx
jne 0x4574d9
mov ebx, dword [ebp + 0x54]
mov eax, dword [ebp + 0x238]
test byte [eax + 0x44], 2
jne 0x45755e
push ebx
push 0x491a18
call fcn.00450680
add esp, 8
test eax, eax
jne 0x45755e
mov ecx, 0x493d54
mov eax, ebx
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x457520
test dl, dl
je 0x45751c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x457520
add eax, 2
add ecx, 2
test dl, dl
jne 0x457500
xor eax, eax
jmp 0x457525
sbb eax, eax
or eax, 1
test eax, eax
je 0x45755e
mov ecx, 0x493d50
mov eax, ebx
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x457550
test dl, dl
je 0x45754c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x457550
add eax, 2
add ecx, 2
test dl, dl
jne 0x457530
xor eax, eax
jmp 0x457555
sbb eax, eax
or eax, 1
mov byte [esp + 0x1c], 0
test eax, eax
jne 0x457563
mov byte [esp + 0x1c], 1
push 2
push 2
push esi
call fcn.00450c40
push dword [esp + 0x28]
lea eax, [edi + 0xb]
push dword [esi + 0xc7c]
push ebx
push eax
push 0
push 1
push dword [esi + 0x708]
push esi
call fcn.0043f1f0
push 2
push esi
call fcn.00450c80
add esp, 0x34
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
cmp byte [esi + 0x141], 0
jne 0x45760d
push 0xe
push 0x494928
push edi
call fcn.004506e0
add esp, 0xc
test eax, eax
je 0x45760d
cmp byte [esi + 0x3e0], 0
jne 0x4575d0
cmp byte [esi + 0x6d1], 0
je 0x45760d
lea eax, [edi + 0xe]
push eax
call fcn.0045be20
add esp, 4
mov dword [esi + 0x118], eax
mov dword [esi + 0x11c], edx
cmp byte [esi + 0x6d1], 0
je 0x457297
pop edi
mov ecx, edx
mov dword [esi + 0xd68], eax
mov dword [esi + 0xd6c], ecx
xor eax, eax
pop esi
pop ebp
pop ebx
add esp, 8
ret
push 0x11
push 0x494938
push edi
call fcn.004506e0
add esp, 0xc
test eax, eax
je 0x45762f
mov ebx, dword [esi + 0xf0]
cmp ebx, 0x191
je 0x457651
push 0x13
push 0x49494c
push edi
call fcn.004506e0
add esp, 0xc
test eax, eax
je 0x457696
mov ebx, dword [esi + 0xf0]
cmp ebx, 0x197
jne 0x457696
push edi
call fcn.00455ff0
mov edi, eax
add esp, 4
test edi, edi
je 0x4577b0
cmp ebx, 0x197
push edi
sete cl
movzx ecx, cl
push ecx
push esi
call fcn.00457b00
push edi
mov esi, eax
call dword [0x4a4020]
add esp, 0x10
test esi, esi
je 0x457297
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 8
ret
push 0x10
push 0x494960
push edi
call fcn.004506e0
add esp, 0xc
test eax, eax
je 0x45770d
cmp dword [esi + 0x978], 4
jne 0x457297
push edi
call fcn.00455ff0
mov edi, eax
add esp, 4
test edi, edi
je 0x4577b0
push 5
push 0x48d370
push edi
call fcn.004506e0
test eax, eax
mov byte [ebp + 0x379], 1
push edi
setne al
mov byte [ebp + 0x378], al
movzx eax, al
push eax
push 0x494974
push esi
call fcn.0044b7f0
push edi
call dword [0x4a4020]
add esp, 0x20
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [esi + 0xf0]
sub eax, 0x12c
cmp eax, 0x63
ja 0x4577bd
push 9
push 0x4949a4
push edi
call fcn.004506e0
add esp, 0xc
test eax, eax
je 0x4577bd
cmp dword [esi + 0x124], 0
jne 0x4577bd
push edi
call fcn.00455ff0
add esp, 4
test eax, eax
je 0x4577b0
cmp byte [eax], 0
jne 0x457768
push eax
call dword [0x4a4020]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
cmp byte [esi + 0x6df], 0
mov dword [esi + 0x124], eax
je 0x457297
push eax
call dword [0x4a4028]
add esp, 4
mov dword [esi + 0x128], eax
test eax, eax
je 0x4577b0
push ebp
push esi
call fcn.004592b0
add esp, 8
test eax, eax
jne 0x457299
pop edi
mov byte [esi + 0xd15], 1
pop esi
pop ebp
pop ebx
add esp, 8
ret
pop edi
pop esi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 8
ret
cmp dword [esi + 0x70c], 0
je 0x45781b
push 0x1a
push 0x4949b0
push edi
call fcn.004506e0
add esp, 0xc
test eax, eax
je 0x45781b
mov eax, dword [ebp + 0x238]
test byte [eax + 0x4c], 1
je 0x45781b
lea eax, [edi + 0x1a]
push eax
push dword [ebp + 0x54]
push dword [esi + 0x70c]
call fcn.0044ff70
add esp, 0xc
test eax, eax
je 0x457297
push 0x4949cc
push esi
call fcn.0044b7f0
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
cmp dword [esi + 0x710], 0
je 0x45788d
push 8
push 0x4949e8
push edi
call fcn.004506e0
add esp, 0xc
test eax, eax
je 0x45788d
mov eax, dword [ebp + 0x238]
test byte [eax + 0x4c], 1
je 0x45788d
push dword [ebp + 0x4a4]
xor ebx, ebx
cmp byte [ebp + 0x4b7], 0x14
sete bl
lea ebx, [ebx*8 + 8]
call fcn.0043a2e0
movzx eax, ax
push eax
push dword [ebp + 0x54]
lea eax, [edi + 8]
push ebx
push eax
push dword [esi + 0x710]
push esi
call fcn.0044ee60
add esp, 0x1c
test eax, eax
je 0x457297
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret
mov eax, dword [ebp + 0x238]
test dword [eax + 0x44], 0x40000
je 0x457297
push edi
push esi
call fcn.00470140
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret