Function at 0x10036270
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10050431
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x37c
mov eax, dword [0x1005b030]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x360], ecx
mov eax, dword [ebp - 0x360]
cmp dword [eax + 0x1351c], 0
je 0x100362bc
jmp 0x100368e0
cmp dword [ebp + 8], 0x3c
je 0x100362c7
jmp 0x100368e0
mov dword [ebp - 4], 0
mov ecx, dword [0x10054b78]
mov dword [ebp - 0x280], ecx
mov dx, word [0x10054b74]
mov word [ebp - 0x288], dx
mov al, byte [0x10054b76]
mov byte [ebp - 0x286], al
mov byte [ebp - 0x38], 0
xor ecx, ecx
mov dword [ebp - 0x37], ecx
mov dword [ebp - 0x33], ecx
mov dword [ebp - 0x2f], ecx
mov word [ebp - 0x2b], cx
mov byte [ebp - 0x29], cl
mov dx, word [0x10053d60]
mov word [ebp - 0x150], dx
mov al, byte [0x10053d62]
mov byte [ebp - 0x14e], al
mov ecx, dword [ebp - 0x360]
mov edx, dword [ecx + 0x13524]
push edx
lea eax, [ebp - 0x150]
push eax
lea ecx, [ebp - 0x38]
push ecx
call fcn.1001a983
add esp, 0xc
mov edx, dword [ebp - 0x360]
add edx, 0x13700
push edx
push 0
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x280]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x284], eax
mov edx, dword [ebp - 0x360]
add edx, 0x13700
push edx
push 0
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x280]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x13c], eax
lea edx, [ebp - 0x27c]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0x276]
movzx ecx, word [ebp - 0x27a]
imul ecx, ecx, 0x64
add ecx, eax
xor ecx, 0x20e5
mov dword [ebp - 0x144], ecx
mov edx, dword [ebp - 0x144]
cmp edx, dword [ebp - 0x284]
je 0x100368e0
mov byte [ebp - 0x13d], 0
mov eax, dword [ebp - 0x13c]
cmp eax, dword [ebp - 0x144]
jne 0x100363eb
mov byte [ebp - 0x13d], 1
mov byte [ebp - 0x260], 0
push 0xfe
push 0
lea ecx, [ebp - 0x25f]
push ecx
call fcn.1001c860
add esp, 0xc
mov edx, dword [str._UXL_0WPHO_]
mov dword [ebp - 0x26c], edx
mov eax, dword [0x10054b6c]
mov dword [ebp - 0x268], eax
mov ecx, dword [0x10054b70]
mov dword [ebp - 0x264], ecx
push 0
lea edx, [ebp - 0x26c]
push edx
call fcn.10030440
add esp, 8
mov eax, dword [str._s_d_c__]
mov dword [ebp - 0x294], eax
mov ecx, dword [0x10054b60]
mov dword [ebp - 0x290], ecx
mov dl, byte [0x10054b64]
mov byte [ebp - 0x28c], dl
mov eax, dword [str.._tqhook]
mov dword [ebp - 0x15c], eax
mov ecx, dword [0x10054b54]
mov dword [ebp - 0x158], ecx
mov dx, word [0x10054b58]
mov word [ebp - 0x154], dx
mov al, byte [0x10054b5a]
mov byte [ebp - 0x152], al
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x26c]
push edx
lea eax, [ebp - 0x294]
std
invalid
call dword [eax - 0x73]
lea esp, [eax + 0x51fffffd]
call fcn.1001a983
add esp, 0x10
push 0
push 0
push 3
push 0
push 0
push 0xc0000000
lea edx, [ebp - 0x15c]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x138], 0
push 0xfe
push 0
lea eax, [ebp - 0x137]
push eax
call fcn.1001c860
add esp, 0xc
cmp dword [ebp - 0x28], 0xffffffff
je 0x10036638
mov dword [ebp - 0x298], 0x14
xor ecx, ecx
mov dword [ebp - 0x2b0], ecx
mov dword [ebp - 0x2ac], ecx
mov dword [ebp - 0x2a8], ecx
mov dword [ebp - 0x2a4], ecx
mov dword [ebp - 0x2a0], ecx
push 0
lea edx, [ebp - 0x298]
push edx
mov eax, dword [ebp - 0x298]
push eax
lea ecx, [ebp - 0x2b0]
push ecx
push 0
push 0
push 0x222018
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 0x29c], eax
cmp dword [ebp - 0x29c], 0
je 0x1003662c
push 0xff
push 0
lea eax, [ebp - 0x138]
push eax
call fcn.1001c860
add esp, 0xc
pushal
call fcn.1003658d
mov dword fs:[0], ecx
add esp, 0x10
ret
mov ecx, dword [str._ser1]
mov dword [ebp - 0x2d4], ecx
mov dx, word [0x10054b30]
mov word [ebp - 0x2d0], dx
mov al, byte [0x10054b32]
mov byte [ebp - 0x2ce], al
lea ecx, [ebp - 0x260]
push ecx
lea edx, [ebp - 0x2d4]
push edx
lea eax, [ebp - 0x138]
push eax
call fcn.1001a983
add esp, 0xc