Function at 0x40a980
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x425370
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x465940]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [ebp + 0x10], 0
mov ecx, dword [ebp + 8]
mov byte [edi + 0x1c6], 0
je 0x40aae7
lea eax, [ebp - 0x60]
push eax
call dword [0x429258]
push 0
push eax
lea eax, [ebp - 0x68]
mov dword [ebp - 4], 0
push eax
call dword [0x4291ec]
add esp, 0xc
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
call dword [0x4293d0]
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x68]
call dword [0x4291e8]
mov ebx, dword [0x4293b8]
push 4
push 0x42b428
mov byte [ebp - 4], 3
call ebx
add esp, 8
mov dword [ebp - 0x64], eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x7c]
push eax
lea ecx, [ebp - 0x70]
call dword [0x4291e0]
lea ecx, [ebp - 0x94]
push ecx
mov ecx, eax
call dword [0x4291f4]
push 0
mov ecx, eax
mov byte [ebp - 4], 5
call dword [0x429210]
lea ecx, [ebp - 0x94]
mov esi, eax
call dword [0x429218]
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 3
call dword [0x4293c8]
push 3
push 0x42b430
call ebx
add esp, 8
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x84]
push eax
lea ecx, [ebp - 0x70]
call dword [0x4291e0]
mov ecx, eax
call dword [0x429200]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 8
call dword [0x4293c8]
cmp esi, 0xc8
je 0x40ab05
cmp byte [edi + 0x1c7], 0
je 0x40aaca
push dword [edi + 0x1c0]
mov ecx, edi
mov byte [edi + 0x1c7], 0
call fcn.004064b0
mov esi, dword [0x4291e4]
lea ecx, [ebp - 0x74]
call dword [0x4293c8]
lea ecx, [ebp - 0x70]
call esi
lea ecx, [ebp - 0x68]
call dword [0x4291f0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041eadc
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebp + 0xc], 4
jne 0x40aaca
cmp byte [edi + 0x1c7], 0
je 0x40ab28
push dword [edi + 0x1c0]
mov ecx, edi
mov byte [edi + 0x1c7], 0
call fcn.004064b0
push 4
push str.data
call ebx
add esp, 8
mov dword [ebp - 0x5c], eax
mov esi, dword [0x4291e0]
lea eax, [ebp - 0x7c]
push eax
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x9c]
push eax
lea ecx, [ebp - 0x70]
call esi
mov ecx, eax
call dword [0x4291f8]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xb
call dword [0x4293c8]
push 0xa
push str.orderState
call ebx
add esp, 8
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x8c]
push eax
lea ecx, [ebp - 0x7c]
call esi
mov ecx, eax
call dword [0x429200]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xe
call dword [0x4293c8]
push 1
push 0x42b47c
call ebx
add esp, 8
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x64]
push 1
push eax
call dword [0x429254]
lea ecx, [ebp - 0x5c]
mov esi, eax
call dword [0x4293c8]
test esi, esi
je 0x40adb4
push 1
push 0x42b480
call ebx
add esp, 8
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x64]
push 1
push eax
call dword [0x429254]
lea ecx, [ebp - 0x5c]
mov esi, eax
call dword [0x4293c8]
test esi, esi
jne 0x40ad70
lea eax, [ebp - 0x5c]
push eax
call fcn.004067a0
add esp, 4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xf
push ecx
mov ecx, eax
call dword [0x429240]
cmp dword [eax + 0x14], 0xf
mov byte [ebp - 4], 0x10
jbe 0x40ac30
mov eax, dword [eax]
push eax
push 0x80000001
call fcn.004034d0
add esp, 8
lea ecx, [ebp - 0x28]
mov bl, al
call fcn.004030d0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xe
call dword [0x4293c8]
test bl, bl
jne 0x40aca6
lea eax, [ebp - 0x5c]
push eax
call fcn.004067a0
add esp, 4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x11
push ecx
mov ecx, eax
call dword [0x429240]
cmp dword [eax + 0x14], 0xf
mov byte [ebp - 4], 0x12
jbe 0x40ac81
mov eax, dword [eax]
push eax
push 0
push 0x80000001
call fcn.00403310
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.004030d0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xe
call dword [0x4293c8]
mov ecx, dword [edi + 0x38]
lea eax, [ebp - 0x80]
push eax
call dword [0x42969c]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x13
push ecx
mov ecx, eax
call dword [0x429240]
cmp dword [eax + 0x14], 0xf
mov byte [ebp - 4], 0x14
jbe 0x40accf
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x28]
call fcn.00405b00
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0x15
push eax
call fcn.004067a0
add esp, 4
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x16
push ecx
mov ecx, eax
call dword [0x429240]
cmp dword [eax + 0x14], 0xf
mov byte [ebp - 4], 0x17
jbe 0x40ad04
mov eax, dword [eax]
push 2
lea ecx, [ebp - 0x28]
push ecx
push str.Phone
push eax
push 0x80000001
call fcn.00403520
add esp, 0x14
lea ecx, [ebp - 0x40]
call fcn.004030d0
lea ecx, [ebp - 0x5c]
call dword [0x4293c8]
lea ecx, [ebp - 0x28]
call fcn.004030d0
lea ecx, [ebp - 0x58]
call fcn.004030d0
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 0xe
call dword [0x4293c8]
cmp dword [edi + 0x1ac], 0
jl 0x40ad60
lea ecx, [edi + 0x1a4]
call dword [0x429284]
mov ecx, edi
mov byte [edi + 0x1c8], 1
call fcn.00406380
jmp 0x40adb4
cmp dword [edi + 0x1ac], 0
jl 0x40ad85
lea ecx, [edi + 0x1a4]
call dword [0x429284]
mov byte [edi + 0x1c8], 1
mov dword [ebp - 0x5c], 0x464264
push 0xc8
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0x18
push eax
lea ecx, [edi + 0x170]
call fcn.0040f430
lea ecx, [ebp - 0x5c]
call dword [0x4293c8]
lea ecx, [ebp - 0x64]
call dword [0x4293c8]
mov esi, dword [0x4291e4]
lea ecx, [ebp - 0x7c]
call esi
jmp 0x40aad0