Function at 0x1002fa72
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006178c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xd0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
movzx eax, byte [ebp + 0x30]
test eax, eax
je 0x1002fe11
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x84], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
movzx eax, byte [eax]
test eax, eax
je 0x1002fdc4
mov dword [ebp - 0x38], 0x6ec4
mov dword [ebp - 0xac], str.owyx_wio_wagmer_ljkj_ctrjlwrl_wvrjc
cmp dword [ebp - 0x38], 0x7025
jle 0x1002fb9f
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCommTimeouts]
and dword [ebp - 0x34], 0
jmp 0x1002fb0d
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0x6c2b
jge 0x1002fb9f
and dword [ebp - 0x30], 0
jmp 0x1002fb27
mov eax, dword [ebp - 0x30]
inc eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0x283c
jge 0x1002fb9a
and dword [ebp - 0x28], 0
jmp 0x1002fb3d
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0x136e
jge 0x1002fb98
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x30]
sar eax, cl
mov ecx, dword [ebp - 0x28]
sar eax, cl
cdq
mov dword [ebp - 0x9c], eax
mov dword [ebp - 0x98], edx
push dword [ebp - 0x98]
push dword [ebp - 0x9c]
lea ecx, [ebp - 0xc8]
call fcn.10001a55
pop ecx
pop ecx
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
call fcn.100045f6
push eax
call fcn.10047e1c
pop ecx
lea ecx, [ebp - 0xc8]
call fcn.100045ec
jmp 0x1002fb36
jmp 0x1002fb20
jmp 0x1002fb06
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0xa0], eax
and dword [ebp - 4], 0
cmp dword [ebp - 0x38], 0x6d04
jge 0x1002fbc1
push dword [ebp - 0xac]
call fcn.10047e1c
pop ecx
jmp 0x1002fbdd
or dword [ebp - 4], 0xffffffff
jmp 0x1002fbe7
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x8c], eax
mov dword [ebp - 0x3c], 0x595
mov dword [ebp - 0x48], str.ustsluw_qwwtwvpiq_ktq_fqmzyh
cmp dword [ebp - 0x3c], 0x75c
jle 0x1002fce5
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
and dword [ebp - 0x2c], 0
jmp 0x1002fc33
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0x4d57
jge 0x1002fce5
and dword [ebp - 0x1c], 0
jmp 0x1002fc4d
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x4d9f
jge 0x1002fce0
and dword [ebp - 0x20], 0
jmp 0x1002fc67
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0x7adb
jge 0x1002fcdb
and dword [ebp - 0x24], 0
jmp 0x1002fc7d
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x559c
jge 0x1002fcd9
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
shl eax, cl
and eax, dword [ebp - 0x2c]
cdq
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], edx
push dword [ebp - 0xa4]
push dword [ebp - 0xa8]
lea ecx, [ebp - 0xe0]
call fcn.10001a55
pop ecx
pop ecx
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
call fcn.100045f6
push eax
call fcn.10047e1c
pop ecx
lea ecx, [ebp - 0xe0]
call fcn.100045ec
jmp 0x1002fc76
jmp 0x1002fc60
jmp 0x1002fc46
jmp 0x1002fc2c
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
jmp 0x1002fd16
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
cmp dword [eax], 0x1b
je 0x1002fd83
mov dword [ebp - 0x74], 1
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0x44], 1
push dword [ebp - 0x6c]
push 0x6e24
lea eax, [ebp - 0xb0]
push eax
push 1
push 1
lea eax, [ebp - 0x74]
push eax
push 0
push 0x36fd
push 0x4102
push dword [ebp - 0x94]
push 0x661d
push 0x24de
push 0x51f5
push dword [ebp - 0x14]
call fcn.1002effa
add esp, 0x38
cmp dword [ebp - 0x44], 0
je 0x1002fd81
jmp 0x1002fd0b
jmp 0x1002fd0b
mov dword [ebp - 4], 2
cmp dword [ebp - 0x3c], 0x263
jge 0x1002fd9c
push dword [ebp - 0x48]
call fcn.10047e1c
pop ecx
jmp 0x1002fdb8
or dword [ebp - 4], 0xffffffff
jmp 0x1002fdc2
jmp 0x1002fe0f
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x1002fdf2
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 2
jge 0x1002fe0f
mov eax, dword [ebp - 0x18]
push dword [eax]
mov ecx, dword [ebp - 0x70]
call fcn.100048b9
mov dword [eax], 0xc58f
jmp 0x1002fde7
jmp 0x1002fe50
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x78], eax
push 0x5ade
push dword [ebp - 0x78]
push dword [ebp - 0x80]
push dword [ebp - 0x88]
mov dl, 1
mov ecx, dword [ebp - 0x90]
call fcn.1002bb44
add esp, 0x10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret