Function at 0x40a6f0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4234f0
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x45d640]
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 0x40a857
lea eax, [ebp - 0x60]
push eax
call dword [0x426258]
push 0
push eax
lea eax, [ebp - 0x68]
mov dword [ebp - 4], 0
push eax
call dword [0x4261ec]
add esp, 0xc
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
call dword [0x4263d0]
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x68]
call dword [0x4261e8]
mov ebx, dword [0x4263b8]
push 4
push 0x4283dc
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 [0x4261e0]
lea ecx, [ebp - 0x94]
push ecx
mov ecx, eax
call dword [0x4261f4]
push 0
mov ecx, eax
mov byte [ebp - 4], 5
call dword [0x426210]
lea ecx, [ebp - 0x94]
mov esi, eax
call dword [0x426218]
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 3
call dword [0x4263c8]
push 3
push 0x4283e4
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 [0x4261e0]
mov ecx, eax
call dword [0x426200]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 8
call dword [0x4263c8]
cmp esi, 0xc8
je 0x40a875
cmp byte [edi + 0x1c7], 0
je 0x40a83a
push dword [edi + 0x1c0]
mov ecx, edi
mov byte [edi + 0x1c7], 0
call fcn.004062e0
mov esi, dword [0x4261e4]
lea ecx, [ebp - 0x74]
call dword [0x4263c8]
lea ecx, [ebp - 0x70]
call esi
lea ecx, [ebp - 0x68]
call dword [0x4261f0]
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.0041cc4c
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebp + 0xc], 4
jne 0x40a83a
cmp byte [edi + 0x1c7], 0
je 0x40a898
push dword [edi + 0x1c0]
mov ecx, edi
mov byte [edi + 0x1c7], 0
call fcn.004062e0
push 4
push str.data
call ebx
add esp, 8
mov dword [ebp - 0x5c], eax
mov esi, dword [0x4261e0]
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 [0x4261f8]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xb
call dword [0x4263c8]
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 [0x426200]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xe
call dword [0x4263c8]
push 1
push 0x428430
call ebx
add esp, 8
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x64]
push 1
push eax
call dword [0x426254]
lea ecx, [ebp - 0x5c]
mov esi, eax
call dword [0x4263c8]
test esi, esi
je 0x40ab24
push 1
push 0x428434
call ebx
add esp, 8
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x64]
push 1
push eax
call dword [0x426254]
lea ecx, [ebp - 0x5c]
mov esi, eax
call dword [0x4263c8]
test esi, esi
jne 0x40aae0
lea eax, [ebp - 0x5c]
push eax
call fcn.00406550
add esp, 4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xf
push ecx
mov ecx, eax
call dword [0x426240]
cmp dword [eax + 0x14], 0xf
mov byte [ebp - 4], 0x10
jbe 0x40a9a0
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 [0x4263c8]
test bl, bl
jne 0x40aa16
lea eax, [ebp - 0x5c]
push eax
call fcn.00406550
add esp, 4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x11
push ecx
mov ecx, eax
call dword [0x426240]
cmp dword [eax + 0x14], 0xf
mov byte [ebp - 4], 0x12
jbe 0x40a9f1
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 [0x4263c8]
mov ecx, dword [edi + 0x38]
lea eax, [ebp - 0x80]
push eax
call dword [0x426694]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x13
push ecx
mov ecx, eax
call dword [0x426240]
cmp dword [eax + 0x14], 0xf
mov byte [ebp - 4], 0x14
jbe 0x40aa3f
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x28]
call fcn.00405930
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0x15
push eax
call fcn.00406550
add esp, 4
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x16
push ecx
mov ecx, eax
call dword [0x426240]
cmp dword [eax + 0x14], 0xf
mov byte [ebp - 4], 0x17
jbe 0x40aa74
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 [0x4263c8]
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 [0x4263c8]
cmp dword [edi + 0x1ac], 0
jl 0x40aad0
lea ecx, [edi + 0x1a4]
call dword [0x426284]
mov ecx, edi
mov byte [edi + 0x1c8], 1
call fcn.004061b0
jmp 0x40ab24
cmp dword [edi + 0x1ac], 0
jl 0x40aaf5
lea ecx, [edi + 0x1a4]
call dword [0x426284]
mov byte [edi + 0x1c8], 1
mov dword [ebp - 0x5c], 0x45c19c
push 0xc8
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0x18
push eax
lea ecx, [edi + 0x170]
call fcn.0040f1a0
lea ecx, [ebp - 0x5c]
call dword [0x4263c8]
lea ecx, [ebp - 0x64]
call dword [0x4263c8]
mov esi, dword [0x4261e4]
lea ecx, [ebp - 0x7c]
call esi
jmp 0x40a840