Function at 0x4712a0
Capabilities:
Check http status code
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50b9e7
mov eax, dword fs:[0]
push eax
sub esp, 0x1bc
mov eax, dword [0x55f43c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1b4], ecx
mov dword [ebp - 0x190], 0
mov eax, dword [ebp - 0x1b4]
cmp dword [eax + 0x64c], 0
jne 0x471311
mov ecx, dword [ebp - 0x190]
mov edx, dword [ebp - 0x190]
add edx, 1
mov dword [ebp - 0x190], edx
cmp ecx, 0xc8
jge 0x471311
push 5
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x4712db
mov dword [ebp - 0x1a4], 1
mov eax, dword [ebp - 0x1b4]
xor ecx, ecx
cmp dword [eax + 0x664], 0
sete cl
mov dword [ebp - 0x120], ecx
mov byte [ebp - 0x11c], 0
push 0x103
push 0
lea edx, [ebp - 0x11b]
push edx
call sub.MSVCR100.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0x11c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [ebp - 0x11c]
push ecx
lea ecx, [ebp - 0x19c]
call dword [sym.imp.mfc100.dll_Ordinal_310]
mov dword [ebp - 4], 0
push 0x5c
lea ecx, [ebp - 0x19c]
call dword [sym.imp.mfc100.dll_Ordinal_11744]
mov dword [ebp - 0x198], eax
push 0x52883c
mov edx, dword [ebp - 0x198]
push edx
lea eax, [ebp - 0x1ac]
push eax
lea ecx, [ebp - 0x19c]
call dword [sym.imp.mfc100.dll_Ordinal_7487]
mov dword [ebp - 0x1b8], eax
mov ecx, dword [ebp - 0x1b8]
mov dword [ebp - 0x1bc], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x1bc]
push edx
lea eax, [ebp - 0x1b0]
push eax
call fcn.0042c5c0
add esp, 0xc
mov dword [ebp - 0x1c0], eax
mov ecx, dword [ebp - 0x1c0]
mov dword [ebp - 0x1c4], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x1c4]
push edx
lea ecx, [ebp - 0x19c]
call dword [sym.imp.mfc100.dll_Ordinal_1313]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1b0]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1ac]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov byte [ebp - 0x18c], 0
push 0x63
push 0
lea eax, [ebp - 0x18b]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x19c]
call dword [sym.imp.mfc100.dll_Ordinal_1448]
push eax
push 0x64
lea ecx, [ebp - 0x18c]
push ecx
push 0x524803
push 0x528848
push 0x528854
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov byte [ebp - 0x191], 0
mov byte [ebp - 0x19d], 0
mov byte [ebp - 0x1a5], 0
push 0x528868
lea edx, [ebp - 0x18c]
push edx
call sub.MSVCR100.dll_strcmp
add esp, 8
test eax, eax
jne 0x4714f9
mov byte [ebp - 0x19d], 1
mov eax, dword [ebp - 0x1b4]
cmp dword [eax + 0x670], 0
je 0x4714cd
mov ecx, dword [ebp - 0x1b4]
mov edx, dword [ecx + 0x66c]
push edx
mov ecx, dword [ebp - 0x1b4]
call fcn.00465c30
mov eax, dword [ebp - 0x1b4]
cmp dword [eax + 0x678], 0
je 0x4714f4
mov ecx, dword [ebp - 0x1b4]
mov edx, dword [ecx + 0x684]
push edx
mov ecx, dword [ebp - 0x1b4]
call fcn.00469c60
jmp 0x47160e
push 0x528874
lea eax, [ebp - 0x18c]
push eax
call sub.MSVCR100.dll_strcmp
add esp, 8
test eax, eax
jne 0x47156b
mov byte [ebp - 0x191], 1
mov ecx, dword [ebp - 0x1b4]
cmp dword [ecx + 0x674], 0
je 0x47153f
mov edx, dword [ebp - 0x1b4]
mov eax, dword [edx + 0x668]
push eax
mov ecx, dword [ebp - 0x1b4]
call fcn.00463750
mov ecx, dword [ebp - 0x1b4]
cmp dword [ecx + 0x67c], 0
je 0x471566
mov edx, dword [ebp - 0x1b4]
mov eax, dword [edx + 0x680]
push eax
mov ecx, dword [ebp - 0x1b4]
call fcn.00468fa0
jmp 0x47160e
mov byte [ebp - 0x1a5], 1
mov ecx, dword [ebp - 0x1b4]
cmp dword [ecx + 0x674], 0
je 0x471599
mov edx, dword [ebp - 0x1b4]
mov eax, dword [edx + 0x668]
push eax
mov ecx, dword [ebp - 0x1b4]
call fcn.00463750
mov ecx, dword [ebp - 0x1b4]
cmp dword [ecx + 0x67c], 0
je 0x4715c0
mov edx, dword [ebp - 0x1b4]
mov eax, dword [edx + 0x680]
push eax
mov ecx, dword [ebp - 0x1b4]
call fcn.00468fa0
mov ecx, dword [ebp - 0x1b4]
cmp dword [ecx + 0x670], 0
je 0x4715e7
mov edx, dword [ebp - 0x1b4]
mov eax, dword [edx + 0x66c]
push eax
mov ecx, dword [ebp - 0x1b4]
call fcn.00465c30
mov ecx, dword [ebp - 0x1b4]
cmp dword [ecx + 0x678], 0
je 0x47160e
mov edx, dword [ebp - 0x1b4]
mov eax, dword [edx + 0x684]
push eax
mov ecx, dword [ebp - 0x1b4]
call fcn.00469c60
mov ecx, dword [ebp - 0x1b4]
mov edx, dword [ecx + 0x64c]
mov dword [ebp - 0x1c8], edx
mov eax, dword [ebp - 0x1c8]
sub eax, 1
mov dword [ebp - 0x1c8], eax
cmp dword [ebp - 0x1c8], 0x17
ja case.0x471642.5
mov ecx, dword [ebp - 0x1c8]
jmp dword [ecx*4 + 0x471880]
mov edx, dword [ebp - 0x120]
push edx
mov ecx, dword [ebp - 0x1b4]
call fcn.00462b30
jmp 0x471854
mov eax, dword [ebp - 0x120]
push eax
mov ecx, dword [ebp - 0x1b4]
call fcn.00463180
jmp 0x471854
mov ecx, dword [ebp - 0x120]
push ecx
mov ecx, dword [ebp - 0x1b4]
call fcn.00463750
jmp 0x471854
mov edx, dword [ebp - 0x120]
push edx
mov ecx, dword [ebp - 0x1b4]
call fcn.00465c30
jmp 0x471854
mov eax, dword [ebp - 0x120]
push eax
mov ecx, dword [ebp - 0x1b4]
call fcn.004652c0
jmp 0x471854
mov ecx, dword [ebp - 0x120]
push ecx
mov ecx, dword [ebp - 0x1b4]
call fcn.00467f40
jmp 0x471854
mov edx, dword [ebp - 0x120]
push edx
mov ecx, dword [ebp - 0x1b4]
call fcn.00468fa0
jmp 0x471854
mov eax, dword [ebp - 0x120]
push eax
mov ecx, dword [ebp - 0x1b4]
call fcn.00469c60
jmp 0x471854
mov ecx, dword [ebp - 0x120]
push ecx
mov ecx, dword [ebp - 0x1b4]
call fcn.0046a9a0
jmp 0x471854
mov edx, dword [ebp - 0x120]
push edx
mov ecx, dword [ebp - 0x1b4]
call fcn.0046b380
jmp 0x471854
push 0xd
mov eax, dword [ebp - 0x120]
push eax
mov ecx, dword [ebp - 0x1b4]
call fcn.0046bf40
jmp 0x471854
push 0xe
mov ecx, dword [ebp - 0x120]
push ecx
mov ecx, dword [ebp - 0x1b4]
call fcn.0046bf40
jmp 0x471854
mov edx, dword [ebp - 0x120]
push edx
mov ecx, dword [ebp - 0x1b4]
call fcn.0046b380
jmp 0x471854
mov eax, dword [ebp - 0x120]
push eax
mov ecx, dword [ebp - 0x1b4]
call fcn.0046b380
jmp 0x471854
push 0x12
mov ecx, dword [ebp - 0x120]
push ecx
mov ecx, dword [ebp - 0x1b4]
call fcn.0046c640
jmp 0x471854
push 0x11
mov edx, dword [ebp - 0x120]
push edx
mov ecx, dword [ebp - 0x1b4]
call fcn.0046c640
jmp 0x471854
push 0x14
mov eax, dword [ebp - 0x120]
push eax
mov ecx, dword [ebp - 0x1b4]
call fcn.0046cd60
jmp 0x471854
push 0x13
mov ecx, dword [ebp - 0x120]
push ecx
mov ecx, dword [ebp - 0x1b4]
call fcn.0046cd60
jmp 0x471854
mov edx, dword [ebp - 0x120]
push edx
mov ecx, dword [ebp - 0x1b4]
call fcn.0046d520
jmp 0x471854
mov eax, dword [ebp - 0x120]
push eax
mov ecx, dword [ebp - 0x1b4]
call fcn.0046d9c0
jmp 0x471854
mov ecx, dword [ebp - 0x120]
push ecx
mov ecx, dword [ebp - 0x1b4]
call fcn.0046de00
jmp 0x471854
mov edx, dword [ebp - 0x120]
push edx
mov ecx, dword [ebp - 0x1b4]
call fcn.0046e9a0
jmp 0x471854
mov dword [ebp - 0x1a4], 0
push str.Cant_decide_the_CalType.
call sub.Micl.dll_MiclSendDlgMessage
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x19c]
call dword [sym.imp.mfc100.dll_Ordinal_901]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00501b98
mov esp, ebp
pop ebp
ret