Function at 0x1000a090
Capabilities:
Check http status code

Disassembly:
push ebp
lea ebp, [esp - 0x74]
sub esp, 0x74
push 0xffffffffffffffff
push 0x100852cc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1bc
push ebx
push esi
mov esi, ecx
mov eax, 7
xor ecx, ecx
xor edx, edx
push edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ecx
mov word [ebp - 0x28], dx
mov dword [ebp - 4], ecx
mov dword [ebp + 0x4c], eax
mov dword [ebp + 0x48], ecx
mov word [ebp + 0x38], dx
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0xa4], ecx
mov word [ebp - 0xb4], dx
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x6c], ecx
mov word [ebp - 0x7c], dx
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xc0], ecx
mov word [ebp - 0xd0], dx
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x88], ecx
mov word [ebp - 0x98], dx
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x50], ecx
mov word [ebp - 0x60], dx
mov dword [ebp + 0x14], eax
mov dword [ebp + 0x10], ecx
mov word [ebp], dx
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x34], ecx
mov word [ebp - 0x44], ax
mov byte [ebp - 4], 8
mov dword [ebp + 0x54], 4
mov dword [ebp + 0x58], ecx
mov byte [ebp + 0x73], al
mov dword [ebp + 0x6c], 0x4098
mov dword [ebp + 0x5c], ecx
mov dword [ebp + 0x60], ecx
cmp dword [esi + 0x74], ecx
je 0x1000a170
call fcn.100109c0
xor edi, edi
add eax, dword [esi + 0x74]
adc edx, edi
mov dword [ebp + 0x5c], eax
mov dword [ebp + 0x60], edx
call fcn.100109c0
mov edi, edx
mov edx, dword [esi]
mov ebx, eax
mov eax, dword [edx]
mov ecx, esi
call eax
mov dword [esi + 0x120], ebx
mov dword [esi + 0x124], edi
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
lea ecx, [ebp - 0x1c8]
call fcn.10016ba0
push 0
push str.EACTransaction
lea ecx, [ebp - 0x1c8]
mov byte [ebp - 4], 9
call fcn.10017400
test al, al
je 0x1000a65c
cmp dword [esi + 0x74], 0
je 0x1000a1de
call fcn.100109c0
cmp edx, dword [ebp + 0x60]
jg 0x1000a5ce
jl 0x1000a1de
cmp eax, dword [ebp + 0x5c]
ja 0x1000a5ce
lea ecx, [ebp + 0x1c]
push ecx
mov ecx, esi
call fcn.10009e40
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xa
call fcn.10003a10
mov edi, 8
mov byte [ebp - 4], 9
cmp dword [ebp + 0x30], edi
jb 0x1000a210
mov edx, dword [ebp + 0x1c]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x14], edi
jae 0x1000a21b
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x1c8]
call fcn.100179f0
test al, al
jne 0x1000a24b
mov eax, dword [esi]
mov edx, dword [eax]
mov ecx, esi
call edx
mov dword [esi + 0xf4], 0x2ee5
mov eax, dword [esi]
mov edx, dword [eax + 8]
mov ecx, esi
call edx
jmp 0x1000a65c
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x14], edi
jae 0x1000a256
lea eax, [ebp - 0x28]
push 0
push str.https:
push eax
call fcn.100102d0
add esp, 0xc
test eax, eax
lea ecx, [ebp + 0x1c]
setns al
push ecx
lea ecx, [ebp - 0x1c8]
mov byte [ebp + 0x68], al
call fcn.10009d60
push eax
lea ecx, [ebp - 0x60]
mov byte [ebp - 4], 0xb
call fcn.10003a10
mov byte [ebp - 4], 9
cmp dword [ebp + 0x30], edi
jb 0x1000a29f
mov edx, dword [ebp + 0x1c]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp - 0x1c8]
call fcn.10009d90
push eax
lea ecx, [ebp]
mov byte [ebp - 4], 0xc
call fcn.10003a10
mov byte [ebp - 4], 9
cmp dword [ebp + 0x30], edi
jb 0x1000a2d0
mov ecx, dword [ebp + 0x1c]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
lea edx, [ebp + 0x1c]
push edx
lea ecx, [ebp - 0x1c8]
call fcn.10009d30
push eax
lea ecx, [ebp - 0x44]
mov byte [ebp - 4], 0xd
call fcn.10003a10
mov byte [ebp - 4], 9
cmp dword [ebp + 0x30], edi
jb 0x1000a301
mov eax, dword [ebp + 0x1c]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [ebp - 0x44]
cmp dword [ebp - 0x30], edi
jae 0x1000a30c
lea eax, [ebp - 0x44]
mov ecx, dword [ebp + 0x68]
mov edx, dword [ebp - 0x140]
push ecx
push 0x10088838
push 0x10088838
push edx
push eax
lea ecx, [ebp - 0x1c8]
call fcn.10017b00
lea eax, [ebp + 0x1c]
push eax
mov ecx, esi
call fcn.10009e00
mov edx, dword [ebp]
mov byte [ebp - 4], 0xe
cmp dword [ebp + 0x14], edi
jae 0x1000a347
lea edx, [ebp]
mov ecx, dword [ebp - 0x60]
cmp dword [ebp - 0x4c], edi
jae 0x1000a352
lea ecx, [ebp - 0x60]
cmp dword [eax + 0x14], edi
jb 0x1000a359
mov eax, dword [eax]
push 0
push edx
push ecx
push eax
lea ecx, [ebp - 0x1c8]
call fcn.10017460
test al, al
sete bl
mov byte [ebp - 4], 9
cmp dword [ebp + 0x30], edi
jb 0x1000a383
mov ecx, dword [ebp + 0x1c]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
test bl, bl
je 0x1000a3b5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esi]
mov edi, eax
mov eax, dword [edx]
mov ecx, esi
call eax
mov dword [esi + 0xf4], 0x1c2
mov dword [esi + 0xf8], edi
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
jmp 0x1000a65c
mov eax, dword [esi + 0x74]
test eax, eax
jne 0x1000a3c1
mov eax, 0x7530
push eax
lea ecx, [ebp - 0x1c8]
call fcn.10016d50
mov dword [ebp + 0x68], 5
lea ecx, [ebp + 0x1c]
push ecx
mov ecx, esi
call fcn.10009dc0
mov byte [ebp - 4], 0xf
cmp dword [eax + 0x14], edi
jb 0x1000a3ea
mov eax, dword [eax]
push 0
push 0
push 0
push eax
lea ecx, [ebp - 0x1c8]
call fcn.10016bd0
test al, al
sete bl
mov byte [ebp - 4], 9
cmp dword [ebp + 0x30], edi
jb 0x1000a416
mov edx, dword [ebp + 0x1c]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
test bl, bl
je 0x1000a463
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f78
jne 0x1000a458
mov ecx, dword [ebp + 0x68]
mov edx, ecx
dec ecx
mov dword [ebp + 0x68], ecx
test edx, edx
je 0x1000a458
cmp dword [esi + 0x74], 0
je 0x1000a3d4
call fcn.100109c0
cmp edx, dword [ebp + 0x60]
jg 0x1000a5ce
jl 0x1000a3d4
cmp eax, dword [ebp + 0x5c]
ja 0x1000a5ce
jmp 0x1000a3d4
push 0x198
push eax
jmp 0x1000a655
lea eax, [ebp + 0x38]
push eax
push 0x16
lea ecx, [ebp - 0x1c8]
call fcn.100178e0
test al, al
je 0x1000a48b
mov eax, dword [ebp + 0x38]
cmp dword [ebp + 0x4c], edi
jae 0x1000a483
lea eax, [ebp + 0x38]
push eax
mov ecx, esi
call fcn.1000a000
lea ecx, [ebp + 0x38]
push ecx
push 0x13
lea ecx, [ebp - 0x1c8]
mov dword [ebp + 0x58], 0x194
call fcn.100178e0
mov ebx, dword [sym.imp.MSVCR100.dll_swscanf_s]
test al, al
je 0x1000a4d2
mov eax, dword [ebp + 0x38]
cmp dword [ebp + 0x4c], edi
jae 0x1000a4b8
lea eax, [ebp + 0x38]
lea edx, [ebp + 0x58]
push edx
push 0x10089a68
push eax
call ebx
mov eax, dword [ebp + 0x58]
add esp, 0xc
push eax
mov ecx, esi
call fcn.10009b00
lea ecx, [ebp + 0x38]
push ecx
push 5
lea ecx, [ebp - 0x1c8]
mov dword [ebp + 0x6c], 0x4098
call fcn.100178e0
test al, al
je 0x1000a50c
mov eax, dword [ebp + 0x38]
cmp dword [ebp + 0x4c], edi
jae 0x1000a4f9
lea eax, [ebp + 0x38]
lea edx, [ebp + 0x6c]
push edx
push 0x10089a68
push eax
call ebx
add esp, 0xc
mov byte [ebp + 0x73], 1
cmp dword [esi + 0x74], 0
je 0x1000a52b
call fcn.100109c0
cmp edx, dword [ebp + 0x60]
jg 0x1000a5ce
jl 0x1000a52b
cmp eax, dword [ebp + 0x5c]
ja 0x1000a5ce
mov edi, dword [ebp + 0x6c]
cmp edi, 0x3200000
ja 0x1000a64e
test edi, edi
jle 0x1000a631
lea eax, [edi + 1]
call fcn.10083ca0
mov ecx, dword [ebp + 0x60]
mov edx, dword [ebp + 0x5c]
mov ebx, esp
push ecx
xor eax, eax
push edx
push eax
mov byte [edi + ebx], 0
mov dword [ebp + 0x64], eax
mov dword [ebp + 0x68], eax
lea eax, [ebp + 0x64]
push eax
mov eax, dword [ebp + 0x6c]
cdq
push edx
push eax
push ebx
lea ecx, [ebp - 0x1c8]
call fcn.10016ef0
test al, al
jne 0x1000a5fa
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp byte [ebp + 0x73], 0
mov ecx, dword [ebp + 0x64]
mov edi, eax
jne 0x1000a5a4
test edi, edi
jne 0x1000a5a4
cmp dword [ebp + 0x68], eax
jl 0x1000a5a4
jg 0x1000a59b
test ecx, ecx
je 0x1000a5a4
mov dword [ebp + 0x6c], ecx
mov byte [ecx + ebx], 0
jmp 0x1000a616
cmp dword [esi + 0x74], 0
je 0x1000a5f2
test edi, edi
jne 0x1000a5f2
mov eax, dword [ebp + 0x6c]
cdq
cmp dword [ebp + 0x68], edx
jg 0x1000a5f2
jl 0x1000a5bd
cmp ecx, eax
jae 0x1000a5f2
call fcn.100109c0
cmp edx, dword [ebp + 0x60]
jl 0x1000a5f2
jg 0x1000a5ce
cmp eax, dword [ebp + 0x5c]
jbe 0x1000a5f2
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
mov dword [esi + 0xf4], 0x1c2
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov dword [ebp + 0x54], 4
jmp 0x1000a65c
push 0x198
push edi
jmp 0x1000a655
cmp byte [ebp + 0x73], 0
jne 0x1000a616
cmp dword [ebp + 0x68], 0
jl 0x1000a616
mov eax, dword [ebp + 0x64]
jg 0x1000a60f
test eax, eax
je 0x1000a616
mov dword [ebp + 0x6c], eax
mov byte [eax + ebx], 0
mov ecx, dword [ebp + 0x6c]
mov eax, ecx
cdq
cmp dword [ebp + 0x64], eax
jne 0x1000a626
cmp dword [ebp + 0x68], edx
je 0x1000a62d
push 0x19c
jmp 0x1000a653
push ecx
push ebx
jmp 0x1000a635
push 0
push 0
mov ecx, esi
call fcn.10009a20
cmp dword [ebp + 0x58], 0xc8
jne 0x1000a65c
mov dword [ebp + 0x54], 3
jmp 0x1000a65c
push 0x19d
push 0xffffffffffffffff
mov ecx, esi
call fcn.10009b30
lea ecx, [ebp - 0x1c8]
call fcn.10016cf0
call fcn.100109c0
mov ebx, edx
mov edx, dword [esi]
mov edi, eax
mov eax, dword [edx]
mov ecx, esi
call eax
mov dword [esi + 0x128], edi
mov dword [esi + 0x12c], ebx
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
mov edx, dword [esi]
mov eax, dword [edx]
mov ecx, esi
call eax
mov edi, dword [ebp + 0x54]
mov dword [esi + 0xf0], edi
mov edx, dword [esi]
mov eax, dword [edx + 8]
mov ecx, esi
call eax
cmp edi, 3
lea ecx, [ebp - 0x1c8]
sete byte [ebp + 0x73]
mov byte [ebp - 4], 8
call fcn.10016de0
cmp dword [ebp - 0x30], 8
jb 0x1000a6cf
mov ecx, dword [ebp - 0x44]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor edi, edi
xor edx, edx
mov esi, 8
mov ebx, 7
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], edi
mov word [ebp - 0x44], dx
cmp dword [ebp + 0x14], esi
jb 0x1000a6f8
mov eax, dword [ebp]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor ecx, ecx
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0x10], edi
mov word [ebp], cx
cmp dword [ebp - 0x4c], esi
jb 0x1000a715
mov edx, dword [ebp - 0x60]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor eax, eax
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x50], edi
mov word [ebp - 0x60], ax
cmp dword [ebp + 0x4c], esi
jb 0x1000a732
mov ecx, dword [ebp + 0x38]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
xor edx, edx
mov dword [ebp + 0x4c], ebx
mov dword [ebp + 0x48], edi
mov word [ebp + 0x38], dx
cmp dword [ebp - 0x14], esi
jb 0x1000a74f
mov eax, dword [ebp - 0x28]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
mov al, byte [ebp + 0x73]
lea esp, [ebp - 0x1d4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
lea esp, [ebp + 0x74]
pop ebp
ret