Function at 0x4726b4
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4faf1b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
mov dword [ebp - 0x5c], ecx
lea ecx, [ebp - 0x14]
call fcn.00404900
mov dword [ebp - 4], 0
mov eax, dword [0x5428ac]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x5c]
mov dword [ecx + 0x2b8], 0
mov edx, dword [ebp - 0x5c]
mov dword [edx + 0x139c], 0
mov eax, dword [ebp - 0x5c]
mov dword [eax + 0x13a0], 0
push 0x5fd
mov ecx, dword [ebp - 0x5c]
call fcn.004e2094
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x5c]
cmp dword [ecx + 0xd00], 0
jne 0x472739
push 0x537db8
mov ecx, dword [ebp - 0x18]
call fcn.004e232b
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [ebp - 0x5c]
cmp dword [edx + 0xd00], 0
je 0x472782
mov eax, dword [ebp - 0x5c]
mov dword [eax + 0xd00], 0
push 0
push 0x1f4
push 0x997
mov ecx, dword [ebp - 0x5c]
call fcn.00404930
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004e2e21
jmp 0x4731fd
cmp dword [0x542dfc], 0
je 0x4727b3
push 0
push 0x54379c
push str.Thread_is_running
mov ecx, dword [ebp - 0x5c]
call fcn.004e07ce
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004e2e21
jmp 0x4731fd
mov dword [ebp - 0x38], 0
jmp 0x4727c5
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x38], ecx
cmp dword [ebp - 0x38], 0x11
jge 0x472821
mov edx, dword [ebp - 0x38]
imul edx, edx, 0x4e68
mov eax, dword [ebp - 0x5c]
mov byte [eax + edx + 0x30e0], 0xfe
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x5c]
cmp dword [edx + ecx*4 + 0x565c4], 0
je 0x4727ff
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + eax*4 + 0x565c4]
mov byte [edx], 0xfe
cmp dword [ebp - 0x38], 0x10
jge 0x47281f
mov eax, dword [0x542eec]
push eax
mov ecx, dword [ebp - 0x38]
push ecx
push 0
mov edx, dword [ebp - 0x5c]
mov ecx, dword [edx + 0xd0]
call fcn.00407599
jmp 0x4727bc
mov dword [ebp - 0x38], 0
jmp 0x472833
mov eax, dword [ebp - 0x38]
add eax, 1
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x11
jge 0x47285e
push 0x92
push 0
mov ecx, dword [ebp - 0x38]
imul ecx, ecx, 0x92
mov edx, dword [ebp - 0x5c]
lea eax, [edx + ecx + 0x1954]
push eax
call fcn.004be790
add esp, 0xc
jmp 0x47282a
cmp dword [0x542714], 0
jne 0x472870
cmp dword [0x542710], 0
je 0x472898
mov dword [0x542dfc], 1
push 1
mov ecx, dword [ebp - 0x5c]
call fcn.0049fdbd
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004e2e21
jmp 0x4731fd
mov ecx, dword [ebp - 0x5c]
cmp dword [ecx + 0x27a8], 0
je 0x4728cc
mov dword [0x542dfc], 1
push 3
mov ecx, dword [ebp - 0x5c]
call fcn.0049fdbd
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004e2e21
jmp 0x4731fd
mov edx, dword [ebp - 0x5c]
cmp dword [edx + 0x2318], 0
je 0x472920
mov ecx, dword [ebp - 0x5c]
call fcn.0047041b
test eax, eax
jne 0x4728f8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004e2e21
jmp 0x4731fd
mov dword [0x542dfc], 1
push 2
mov ecx, dword [ebp - 0x5c]
call fcn.0049fdbd
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004e2e21
jmp 0x4731fd
cmp dword [0x54303c], 0
je 0x4729d3
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 0x2ed0]
add ecx, 1
mov edx, dword [ebp - 0x5c]
mov dword [edx + 0x2ed0], ecx
cmp dword [0x54303c], 1
jne 0x47297f
mov eax, dword [ebp - 0x5c]
mov eax, dword [eax + 0x2ed0]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
je 0x472970
mov edx, dword [ebp - 0x5c]
mov dword [edx + 0x2538], 0
jmp 0x47297d
mov eax, dword [ebp - 0x5c]
mov dword [eax + 0x2538], 1
jmp 0x472995
cmp dword [0x54303c], 2
jne 0x472995
mov ecx, dword [ebp - 0x5c]
mov dword [ecx + 0x2538], 0
push 0x14
push 0
lea edx, [ebp - 0x34]
push edx
call fcn.004be790
add esp, 0xc
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 0x2ed0]
push ecx
mov edx, dword [0x54303c]
push edx
push str.Step__d__d
lea eax, [ebp - 0x34]
push eax
call fcn.004bec9d
add esp, 0x10
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0x5c]
call fcn.004a0fc7
mov ecx, dword [ebp - 0x5c]
call fcn.00472684
test eax, eax
jne 0x4729f3
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004e2e21
jmp 0x4731fd
mov edx, dword [ebp - 0x5c]
add edx, 0x8ec
push edx
push 0
push str.SNRULE
push 0x537df8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x5c]
mov dword [ecx + 0x1354], eax
mov edx, dword [ebp - 0x5c]
add edx, 0x8ec
push edx
push 0
push str.AUTODATEADJUST
push 0x537e14
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x5c]
mov dword [ecx + 0x1358], eax
push 0x15
push 0
mov edx, dword [ebp - 0x5c]
add edx, 0x1386
push edx
call fcn.004be790
add esp, 0xc
cmp dword [0x543130], 0
je 0x472a83
mov eax, dword [ebp - 0x5c]
add eax, 0x8ec
push eax
push 0x15
mov ecx, dword [ebp - 0x5c]
add ecx, 0x1386
push ecx
push 0
push str.SERIALMASK
push 0x537e2c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [ebp - 0x5c]
movsx eax, byte [edx + 0x1386]
test eax, eax
jne 0x472ab9
mov ecx, dword [ebp - 0x5c]
add ecx, 0x8ec
push ecx
push 0x15
mov edx, dword [ebp - 0x5c]
add edx, 0x1386
push edx
push 0
push str.MASKSN
push 0x537e3c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x5c]
cmp dword [eax + 0x1358], 0
je 0x472b5d
mov ecx, dword [ebp - 0x10]
call fcn.00428971
mov ecx, dword [ebp - 0x5c]
add ecx, 0x8ec
push ecx
mov edx, dword [ebp - 0x10]
add edx, 0x5c
push edx
push 0x537e48
push 0x537e50
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov eax, dword [ebp - 0x5c]
add eax, 0x8ec
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x71
push ecx
push 0x537e5c
push 0x537e64
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
cmp dword [0x543130], 0
je 0x472b5d
mov edx, dword [ebp - 0x5c]
add edx, 0x8ec
push edx
mov eax, dword [ebp - 0x10]
add eax, 0x5c
push eax
push 0x537e70
push 0x537e78
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov ecx, dword [ebp - 0x5c]
add ecx, 0x8ec
push ecx
mov edx, dword [ebp - 0x10]
add edx, 0x71
push edx
push 0x537e80
push 0x537e8c
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 0x15
push 0
mov eax, dword [ebp - 0x5c]
add eax, 0x135c
push eax
call fcn.004be790
add esp, 0xc
push 0x15
mov ecx, dword [ebp - 0x10]
add ecx, 0x5c
push ecx
mov edx, dword [ebp - 0x5c]
add edx, 0x135c
push edx
call fcn.004bee30
add esp, 0xc
push 0x15
push 0
mov eax, dword [ebp - 0x5c]
add eax, 0x1371
push eax
call fcn.004be790
add esp, 0xc
push 0x15
mov ecx, dword [ebp - 0x10]
add ecx, 0x71
push ecx
mov edx, dword [ebp - 0x5c]
add edx, 0x1371
push edx
call fcn.004bee30
add esp, 0xc
mov eax, dword [ebp - 0x5c]
add eax, 0x8ec
push eax
push 0
push str.SNBYTE
push 0x537e9c
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x5c]
mov dword [ecx + 0x13a4], eax
mov edx, dword [ebp - 0x5c]
cmp dword [edx + 0x13a4], 0
jne 0x472c26
mov eax, dword [ebp - 0x5c]
add eax, 0x8ec
push eax
push 0
push str.SNLEN
push 0x537eb0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x5c]
mov dword [ecx + 0x13a4], eax
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 0x13a4]
add eax, 0xc
mov ecx, dword [ebp - 0x5c]
mov dword [ecx + 0x13a4], eax
mov edx, dword [ebp - 0x5c]
mov dword [edx + 0x13a8], 0
mov dword [ebp - 0x38], 0
jmp 0x472c45
mov eax, dword [ebp - 0x38]
add eax, 1
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 0x13a4]
add edx, 1
cmp dword [ebp - 0x38], edx
jge 0x472c7f
mov eax, dword [ebp - 0x5c]
add eax, dword [ebp - 0x38]
movsx ecx, byte [eax + 0x1386]
cmp ecx, 0x23
jne 0x472c7d
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 0x13a8]
add eax, 1
mov ecx, dword [ebp - 0x5c]
mov dword [ecx + 0x13a8], eax
jmp 0x472c3c
mov edx, dword [ebp - 0x5c]
cmp dword [edx + 0x2320], 0
je 0x472ceb
mov dword [0x542dfc], 1
push 0x14
push 0
lea eax, [ebp - 0x34]
push eax
call fcn.004be790
add esp, 0xc
push 0x14
lea ecx, [ebp - 0x34]
push ecx
push 0x898
mov ecx, dword [ebp - 0x5c]
call fcn.004e211e
lea edx, [ebp - 0x34]
push edx
call fcn.004bebe7
add esp, 4
mov ecx, dword [ebp - 0x5c]
mov dword [ecx + 0x231c], eax
push 4
mov ecx, dword [ebp - 0x5c]
call fcn.0049fdbd
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004e2e21
jmp 0x4731fd
cmp dword [0x54303c], 2
jne 0x472eb8
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 0x2ed0]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x472eb8
mov edx, dword [ebp - 0x5c]
mov dword [edx + 0x1354], 2
mov eax, dword [ebp - 0x5c]
movsx ecx, byte [eax + 0x1349]
test ecx, ecx
jne 0x472eb8
push 8
push 0
lea edx, [ebp - 0x20]
push edx
call fcn.004be790
add esp, 0xc
push 0x10
push 0
lea eax, [ebp - 0x48]
push eax
call fcn.004be790
add esp, 0xc
push 0x10
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 0x1404]
add edx, 0xeff0
push edx
lea eax, [ebp - 0x48]
push eax
call fcn.004bee30
add esp, 0xc
movsx ecx, byte [ebp - 0x48]
cmp ecx, 0x30
jl 0x472e09
movsx edx, byte [ebp - 0x48]
cmp edx, 0x39
jg 0x472e09
push 0x14
push 0
lea eax, [ebp - 0x34]
push eax
call fcn.004be790
add esp, 0xc
push 4
lea ecx, [ebp - 0x48]
push ecx
lea edx, [ebp - 0x34]
push edx
call fcn.004bee30
add esp, 0xc
lea eax, [ebp - 0x34]
push eax
call fcn.004bebe7
add esp, 4
mov dword [ebp - 0x4c], eax
push 0x14
push 0
lea ecx, [ebp - 0x34]
push ecx
call fcn.004be790
add esp, 0xc
push 6
lea edx, [ebp - 0x44]
push edx
lea eax, [ebp - 0x34]
push eax
call fcn.004bee30
add esp, 0xc
movsx ecx, byte [ebp - 0x2f]
cmp ecx, 0x5f
jne 0x472de9
mov byte [ebp - 0x2f], 0x20
lea edx, [ebp - 0x34]
push edx
mov eax, dword [ebp - 0x4c]
sub eax, 0x790
push eax
push str._C_s
lea ecx, [ebp - 0x20]
push ecx
call fcn.004bec9d
add esp, 0x10
jmp 0x472e1b
push 7
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x20]
push eax
call fcn.004bee30
add esp, 0xc
mov dword [ebp - 0x38], 0
jmp 0x472e2d
mov ecx, dword [ebp - 0x38]
add ecx, 2
mov dword [ebp - 0x38], ecx
cmp dword [ebp - 0x38], 8
jge 0x472eb8
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 0x13c8]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x38]
mov dl, byte [ebp + edx - 0x1f]
mov byte [eax + ecx + 0x2e], dl
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 0x13c8]
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
mov al, byte [ebp + eax - 0x20]
mov byte [ecx + edx + 0x2f], al
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 0x13c8]
mov eax, dword [ebp - 0x38]
xor ecx, ecx
mov cl, byte [edx + eax + 0x2e]
test ecx, ecx
jne 0x472e8c
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 0x13c8]
mov ecx, dword [ebp - 0x38]
mov byte [eax + ecx + 0x2e], 0x20
mov edx, dword [ebp - 0x5c]
mov eax, dword [edx + 0x13c8]
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov dl, byte [eax + ecx + 0x2f]
test edx, edx
jne 0x472eb3
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + 0x13c8]
mov edx, dword [ebp - 0x38]
mov byte [ecx + edx + 0x2f], 0x20
jmp 0x472e24
cmp dword [0x54303c], 0
je 0x472ef5
push 0x400
mov ecx, dword [ebp - 0x5c]
call fcn.004e2094
mov dword [ebp - 0x50], eax
push 0
mov ecx, dword [ebp - 0x50]
call fcn.004e24b2
push 0x8e1
mov ecx, dword [ebp - 0x5c]
call fcn.004e2094
mov dword [ebp - 0x50], eax
push 0
mov ecx, dword [ebp - 0x50]
call fcn.004e24b2
push 0
push 0x3e8
push 0x479
mov ecx, dword [ebp - 0x5c]
call fcn.00404930
mov eax, dword [ebp - 0x5c]
cmp dword [eax + 0xcfc], 0
je 0x4731dc
mov dword [0x542dfc], 1
mov ecx, dword [ebp - 0x5c]
mov dword [ecx + 0x21c], 0xffff
mov edx, dword [ebp - 0x5c]
mov dword [edx + 0x220], 0
mov ecx, dword [ebp - 0x5c]
call fcn.0049e09b
mov eax, dword [ebp - 0x5c]
xor ecx, ecx
mov cl, byte [eax + 0x118]
test ecx, ecx
je 0x472f8e
push 6
push 0
lea edx, [ebp - 0x58]
push edx
call fcn.004be790
add esp, 0xc
mov byte [ebp - 0x58], 0xf0
mov byte [ebp - 0x57], 0x50
mov byte [ebp - 0x56], 1
mov byte [ebp - 0x55], 0
mov byte [ebp - 0x54], 0
lea eax, [ebp - 0x58]
push eax
mov ecx, dword [ebp - 0x5c]
add ecx, 0x119
push ecx
call fcn.004a75ab
add esp, 8
mov edx, dword [ebp - 0x5c]
mov dword [edx + 0xd00], 1
push 1
push 0
mov ecx, dword [ebp - 0x5c]
call fcn.0049fce5
push 0x790
mov ecx, dword [ebp - 0x5c]
call fcn.004e2094
mov dword [ebp - 0x50], eax
push 0x537ec4
mov ecx, dword [ebp - 0x50]
call fcn.004e232b
push 0x54d
mov ecx, dword [ebp - 0x5c]
call fcn.004e2094
mov dword [ebp - 0x50], eax
push 0x5437a0
mov ecx, dword [ebp - 0x50]
call fcn.004e232b
mov ecx, dword [ebp - 0x5c]
call fcn.004732b6
push 6
push 0
push 0x542e90
call fcn.004be790
add esp, 0xc
push 0x44
push 0
mov eax, dword [ebp - 0x5c]
add eax, 0xd10
push eax
call fcn.004be790
add esp, 0xc
push 0x44
push 0
mov ecx, dword [ebp - 0x5c]
add ecx, 0xd54
push ecx
call fcn.004be790
add esp, 0xc
push 0x11
push 0xff
mov edx, dword [ebp - 0x5c]
add edx, 0xd98
push edx
call fcn.004be790
add esp, 0xc
mov dword [ebp - 0x38], 0
jmp 0x473050
mov eax, dword [ebp - 0x38]
add eax, 1
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0x11
jge 0x47311a
mov ecx, dword [ebp - 0x38]
imul ecx, ecx, 0x35
mov dword [ecx + 0x5433f4], 0
mov edx, dword [ebp - 0x38]
imul edx, edx, 0x35
mov eax, dword [ebp - 0x5c]
mov dword [edx + 0x543421], eax
mov ecx, dword [ebp - 0x38]
imul ecx, ecx, 0x35
mov dword [ecx + 0x5433f8], 0
mov edx, dword [ebp - 0x38]
imul edx, edx, 0x35
mov dword [edx + 0x543404], 0
mov eax, dword [ebp - 0x38]
imul eax, eax, 0x35
mov dword [eax + 0x543408], 0
mov ecx, dword [ebp - 0x38]
imul ecx, ecx, 0x35
mov dword [ecx + 0x543400], 0
push 0x15
push 0
mov edx, dword [ebp - 0x38]
imul edx, edx, 0x35
add edx, 0x54340c
push edx
call fcn.004be790
add esp, 0xc
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x5c]
cmp dword [ecx + eax*4 + 0x565c4], 0
je 0x4730f2
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x5c]
mov ecx, dword [eax + edx*4 + 0x565c4]
mov byte [ecx], 0xfe
push 0x92
push 0
mov edx, dword [ebp - 0x38]
imul edx, edx, 0x92
mov eax, dword [ebp - 0x5c]
lea ecx, [eax + edx + 0x1954]
push ecx
call fcn.004be790
add esp, 0xc
jmp 0x473047
cmp dword [0x543070], 0
je 0x47317d
mov dword [ebp - 0x38], 1
jmp 0x473135
mov edx, dword [ebp - 0x38]
add edx, 1
mov dword [ebp - 0x38], edx
cmp dword [ebp - 0x38], 0x11
jge 0x47317d
mov eax, dword [ebp - 0x38]
add eax, 0x608
push eax
mov ecx, dword [ebp - 0x5c]
call fcn.004e2094
mov ecx, eax
call fcn.00404d30
test eax, eax
je 0x47316a
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x5c]
mov dword [edx + ecx*4 + 0x270], 1
jmp 0x47317b
mov eax, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x5c]
mov dword [ecx + eax*4 + 0x270], 0
jmp 0x47312c
mov dword [0x5425c0], 0
mov edx, dword [ebp - 0x5c]
mov dword [edx + 0xd04], 1
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x5c]
push eax
push 0x474503
call fcn.004e3615
mov ecx, dword [ebp - 0x5c]
mov dword [ecx + 0xd0c], 0
push 0
push 0x3e8
push 0x996
mov ecx, dword [ebp - 0x5c]
call fcn.00404930
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004e2e21
jmp 0x4731fd
mov dword [0x542dfc], 1
mov ecx, dword [ebp - 0x5c]
call fcn.0049f598
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.004e2e21
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret