Function at 0x40a760
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x423720
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x460740]
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 0x40a8c7
lea eax, [ebp - 0x60]
push eax
call dword [0x427258]
push 0
push eax
lea eax, [ebp - 0x68]
mov dword [ebp - 4], 0
push eax
call dword [0x4271ec]
add esp, 0xc
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
call dword [0x4273d0]
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x68]
call dword [0x4271e8]
mov ebx, dword [0x4273b8]
push 4
push 0x4293ec
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 [0x4271e0]
lea ecx, [ebp - 0x94]
push ecx
mov ecx, eax
call dword [0x4271f4]
push 0
mov ecx, eax
mov byte [ebp - 4], 5
call dword [0x427210]
lea ecx, [ebp - 0x94]
mov esi, eax
call dword [0x427218]
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 3
call dword [0x4273c8]
push 3
push 0x4293f4
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 [0x4271e0]
mov ecx, eax
call dword [0x427200]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 8
call dword [0x4273c8]
cmp esi, 0xc8
je 0x40a8e5
cmp byte [edi + 0x1c7], 0
je 0x40a8aa
push dword [edi + 0x1c0]
mov ecx, edi
mov byte [edi + 0x1c7], 0
call fcn.004062e0
mov esi, dword [0x4271e4]
lea ecx, [ebp - 0x74]
call dword [0x4273c8]
lea ecx, [ebp - 0x70]
call esi
lea ecx, [ebp - 0x68]
call dword [0x4271f0]
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.0041ce8c
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebp + 0xc], 4
jne 0x40a8aa
cmp byte [edi + 0x1c7], 0
je 0x40a908
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 [0x4271e0]
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 [0x4271f8]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xb
call dword [0x4273c8]
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 [0x427200]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xe
call dword [0x4273c8]
push 1
push 0x429440
call ebx
add esp, 8
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x64]
push 1
push eax
call dword [0x427254]
lea ecx, [ebp - 0x5c]
mov esi, eax
call dword [0x4273c8]
test esi, esi
je 0x40ab94
push 1
push 0x429444
call ebx
add esp, 8
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x64]
push 1
push eax
call dword [0x427254]
lea ecx, [ebp - 0x5c]
mov esi, eax
call dword [0x4273c8]
test esi, esi
jne 0x40ab50
lea eax, [ebp - 0x5c]
push eax
call fcn.00406590
add esp, 4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xf
push ecx
mov ecx, eax
call dword [0x427240]
cmp dword [eax + 0x14], 0xf
mov byte [ebp - 4], 0x10
jbe 0x40aa10
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 [0x4273c8]
test bl, bl
jne 0x40aa86
lea eax, [ebp - 0x5c]
push eax
call fcn.00406590
add esp, 4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x11
push ecx
mov ecx, eax
call dword [0x427240]
cmp dword [eax + 0x14], 0xf
mov byte [ebp - 4], 0x12
jbe 0x40aa61
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 [0x4273c8]
mov ecx, dword [edi + 0x38]
lea eax, [ebp - 0x80]
push eax
call dword [0x427694]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x13
push ecx
mov ecx, eax
call dword [0x427240]
cmp dword [eax + 0x14], 0xf
mov byte [ebp - 4], 0x14
jbe 0x40aaaf
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.00406590
add esp, 4
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x16
push ecx
mov ecx, eax
call dword [0x427240]
cmp dword [eax + 0x14], 0xf
mov byte [ebp - 4], 0x17
jbe 0x40aae4
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 [0x4273c8]
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 [0x4273c8]
cmp dword [edi + 0x1ac], 0
jl 0x40ab40
lea ecx, [edi + 0x1a4]
call dword [0x427284]
mov ecx, edi
mov byte [edi + 0x1c8], 1
call fcn.004061b0
jmp 0x40ab94
cmp dword [edi + 0x1ac], 0
jl 0x40ab65
lea ecx, [edi + 0x1a4]
call dword [0x427284]
mov byte [edi + 0x1c8], 1
mov dword [ebp - 0x5c], 0x45f1d8
push 0xc8
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0x18
push eax
lea ecx, [edi + 0x170]
call fcn.0040f210
lea ecx, [ebp - 0x5c]
call dword [0x4273c8]
lea ecx, [ebp - 0x64]
call dword [0x4273c8]
mov esi, dword [0x4271e4]
lea ecx, [ebp - 0x7c]
call esi
jmp 0x40a8b0