Function at 0x40a8c0
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x421640
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x460880]
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 0x40aa27
lea eax, [ebp - 0x60]
push eax
call dword [0x424254]
push 0
push eax
lea eax, [ebp - 0x68]
mov dword [ebp - 4], 0
push eax
call dword [0x4241e4]
add esp, 0xc
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 2
call dword [0x4243cc]
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x68]
call dword [0x4241e0]
mov ebx, dword [0x4243b4]
push 4
push 0x4263e8
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 [0x4241d8]
lea ecx, [ebp - 0x94]
push ecx
mov ecx, eax
call dword [0x4241ec]
push 0
mov ecx, eax
mov byte [ebp - 4], 5
call dword [0x42420c]
lea ecx, [ebp - 0x94]
mov esi, eax
call dword [0x424210]
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 3
call dword [0x4243c4]
push 3
push 0x4263f0
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 [0x4241d8]
mov ecx, eax
call dword [0x4241f8]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 8
call dword [0x4243c4]
cmp esi, 0xc8
je 0x40aa45
cmp byte [edi + 0x1c7], 0
je 0x40aa0a
push dword [edi + 0x1c0]
mov ecx, edi
mov byte [edi + 0x1c7], 0
call fcn.00406470
mov esi, dword [0x4241dc]
lea ecx, [ebp - 0x74]
call dword [0x4243c4]
lea ecx, [ebp - 0x70]
call esi
lea ecx, [ebp - 0x68]
call dword [0x4241e8]
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.0041ac16
mov esp, ebp
pop ebp
ret 0xc
cmp dword [ebp + 0xc], 4
jne 0x40aa0a
cmp byte [edi + 0x1c7], 0
je 0x40aa68
push dword [edi + 0x1c0]
mov ecx, edi
mov byte [edi + 0x1c7], 0
call fcn.00406470
push 4
push str.data
call ebx
add esp, 8
mov dword [ebp - 0x5c], eax
mov esi, dword [0x4241d8]
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 [0x4241f0]
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0xb
call dword [0x4243c4]
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 [0x4241f8]
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xe
call dword [0x4243c4]
push 1
push 0x42643c
call ebx
add esp, 8
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x64]
push 1
push eax
call dword [0x42424c]
lea ecx, [ebp - 0x5c]
mov esi, eax
call dword [0x4243c4]
test esi, esi
je 0x40acf4
push 1
push 0x426440
call ebx
add esp, 8
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x5c]
lea ecx, [ebp - 0x64]
push 1
push eax
call dword [0x42424c]
lea ecx, [ebp - 0x5c]
mov esi, eax
call dword [0x4243c4]
test esi, esi
jne 0x40acb0
lea eax, [ebp - 0x5c]
push eax
call fcn.00406760
add esp, 4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xf
push ecx
mov ecx, eax
call dword [0x424238]
cmp dword [eax + 0x14], 0xf
mov byte [ebp - 4], 0x10
jbe 0x40ab70
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 [0x4243c4]
test bl, bl
jne 0x40abe6
lea eax, [ebp - 0x5c]
push eax
call fcn.00406760
add esp, 4
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x11
push ecx
mov ecx, eax
call dword [0x424238]
cmp dword [eax + 0x14], 0xf
mov byte [ebp - 4], 0x12
jbe 0x40abc1
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 [0x4243c4]
mov ecx, dword [edi + 0x38]
lea eax, [ebp - 0x80]
push eax
call dword [0x424698]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x13
push ecx
mov ecx, eax
call dword [0x424238]
cmp dword [eax + 0x14], 0xf
mov byte [ebp - 4], 0x14
jbe 0x40ac0f
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x28]
call fcn.00405ac0
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0x15
push eax
call fcn.00406760
add esp, 4
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0x16
push ecx
mov ecx, eax
call dword [0x424238]
cmp dword [eax + 0x14], 0xf
mov byte [ebp - 4], 0x17
jbe 0x40ac44
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 [0x4243c4]
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 [0x4243c4]
cmp dword [edi + 0x1ac], 0
jl 0x40aca0
lea ecx, [edi + 0x1a4]
call dword [0x424280]
mov ecx, edi
mov byte [edi + 0x1c8], 1
call fcn.00406340
jmp 0x40acf4
cmp dword [edi + 0x1ac], 0
jl 0x40acc5
lea ecx, [edi + 0x1a4]
call dword [0x424280]
mov byte [edi + 0x1c8], 1
mov dword [ebp - 0x5c], 0x45f264
push 0xc8
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0x18
push eax
lea ecx, [edi + 0x170]
call fcn.0040f340
lea ecx, [ebp - 0x5c]
call dword [0x4243c4]
lea ecx, [ebp - 0x64]
call dword [0x4243c4]
mov esi, dword [0x4241dc]
lea ecx, [ebp - 0x7c]
call esi
jmp 0x40aa10