Function at 0x492d20
Capabilities:
Read .ini file
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x64c1fc
mov ecx, dword [0x6cf80c]
push eax
mov eax, dword [0x6cf810]
mov dword fs:[0], esp
sub esp, 0x2a0
push ebx
push edi
push eax
push ecx
mov ecx, 0x6cf808
call fcn.004941d0
mov eax, dword [0x6cf830]
mov ecx, dword [0x6cf82c]
push eax
push ecx
mov ecx, 0x6cf828
call fcn.00493da0
mov eax, dword [0x6e7a76]
xor ebx, ebx
cmp eax, ebx
je 0x4937f1
cmp dword [0x6e7325], ebx
je 0x492d9f
cmp dword [0x826c38], ebx
jne 0x492d9f
mov edi, 0x6e5be3
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x4937f1
push ebp
push esi
push 0x6d3b38
lea eax, [esp + 0x18]
push 0x73aaac
push eax
call fcn.00644050
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x1b1]
mov byte [esp + 0x1b0], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, 0x1f
xor eax, eax
lea edi, [esp + 0x131]
mov byte [esp + 0x130], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [esp + 0x24]
mov dword [esp + 0x2b8], ebx
stosb byte es:[edi], al
call fcn.00643d62
lea ecx, [esp + 0x18]
mov byte [esp + 0x2b8], 1
call fcn.00643d62
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x2b8], 2
push ecx
push ebx
push 0x6a2a90
push 0x6a2a88
call dword [fcn.0065e168]
mov edi, eax
cmp edi, ebx
jle 0x492f40
mov esi, 1
mov ebp, dword [fcn.0065f1cc]
push esi
lea edx, [esp + 0x134]
push 0x6a2a7c
push edx
call ebp
mov eax, dword [esp + 0x20]
add esp, 0xc
lea ecx, [esp + 0x1b0]
lea edx, [esp + 0x130]
push eax
push 0x100
push ecx
push 0x6a2a74
push edx
push 0x6a2a88
call dword [fcn.0065e164]
lea ecx, [esp + 0x50]
call fcn.00643d62
lea ecx, [esp + 0x54]
mov byte [esp + 0x2b8], 3
call fcn.00643d62
lea eax, [esp + 0x1b0]
lea ecx, [esp + 0x50]
push eax
mov byte [esp + 0x2bc], 4
call fcn.006440b6
push esi
lea ecx, [esp + 0x134]
push 0x6a2a68
push ecx
call ebp
mov edx, dword [esp + 0x20]
add esp, 0xc
lea eax, [esp + 0x1b0]
lea ecx, [esp + 0x130]
push edx
push 0x100
push eax
push 0x6c7010
push 0x6a2a5c
push ecx
call dword [fcn.0065e164]
lea edx, [esp + 0x1b0]
lea ecx, [esp + 0x54]
push edx
call fcn.006440b6
mov eax, dword [0x6cf810]
lea ecx, [esp + 0x50]
push ecx
push eax
mov ecx, 0x6cf808
call fcn.00494020
lea ecx, [esp + 0x54]
mov byte [esp + 0x2b8], 5
call fcn.00643d26
lea ecx, [esp + 0x50]
mov byte [esp + 0x2b8], 2
call fcn.00643d26
inc esi
lea edx, [esi - 1]
cmp edx, edi
jl 0x492e39
mov ecx, dword [0x6cf80c]
cmp ecx, ebx
jne 0x492f50
mov dword [esp + 0x20], ebx
jmp 0x492f5e
mov eax, dword [0x6cf810]
sub eax, ecx
sar eax, 4
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x20]
xor ebp, ebp
cmp eax, ebx
jle 0x49337a
xor esi, esi
lea ecx, [esp + 0x60]
call fcn.00643d62
lea eax, [esp + 0x36]
lea ecx, [esp + 0x68]
push eax
mov byte [esp + 0x2bc], 6
call fcn.004939d0
lea ecx, [esp + 0x38]
mov byte [esp + 0x2b8], 7
push ecx
lea ecx, [esp + 0x7c]
call fcn.004939d0
lea edx, [esp + 0x3b]
lea ecx, [esp + 0x88]
push edx
mov byte [esp + 0x2bc], 8
call fcn.004939d0
or eax, 0xffffffff
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov eax, dword [0x6cf80c]
lea ecx, [esp + 0x60]
add eax, esi
mov byte [esp + 0x2b8], 9
push eax
call fcn.00644098
lea eax, [ebp + 1]
push 0x6c7010
mov dword [esp + 0x30], eax
mov dword [esp + 0xa4], eax
mov eax, dword [0x6cf80c]
mov eax, dword [esi + eax + 4]
push eax
call dword [fcn.0065f1ec]
add esp, 8
test eax, eax
jne 0x493087
mov eax, dword [0x6cf830]
lea ecx, [esp + 0x60]
push ecx
push eax
mov ecx, 0x6cf828
call fcn.00493b90
mov eax, dword [0x6cf82c]
cmp eax, ebx
jne 0x49305f
mov eax, dword [0x6cf80c]
xor edx, edx
dec edx
mov dword [esi + eax + 8], edx
jmp 0x493320
mov ecx, dword [0x6cf830]
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [0x6cf80c]
dec edx
mov dword [esi + eax + 8], edx
jmp 0x493320
xor edi, edi
cmp esi, ebx
jle 0x4930c5
mov dword [esp + 0x10], ebx
mov eax, dword [0x6cf80c]
mov edx, dword [esp + 0x10]
mov ecx, dword [esi + eax + 4]
mov eax, dword [edx + eax + 4]
push ecx
push eax
call dword [fcn.0065f1ec]
add esp, 8
test eax, eax
je 0x493259
mov ecx, dword [esp + 0x10]
inc edi
add ecx, 0x10
cmp edi, ebp
mov dword [esp + 0x10], ecx
jl 0x493091
lea ecx, [esp + 0xb0]
call fcn.00643d62
lea eax, [esp + 0x3a]
lea ecx, [esp + 0xb8]
push eax
mov byte [esp + 0x2bc], 0xa
call fcn.004939d0
lea ecx, [esp + 0x37]
mov byte [esp + 0x2b8], 0xb
push ecx
lea ecx, [esp + 0xcc]
call fcn.004939d0
lea edx, [esp + 0x39]
lea ecx, [esp + 0xd8]
push edx
mov byte [esp + 0x2bc], 0xc
call fcn.004939d0
or eax, 0xffffffff
mov dword [esp + 0xe8], ebx
mov dword [esp + 0xec], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xf4], ebx
mov dword [esp + 0xf0], ebx
mov dword [esp + 0xf8], ebx
mov dword [esp + 0xfc], ebx
mov eax, dword [0x6cf80c]
lea ecx, [esp + 0xb0]
mov byte [esp + 0x2b8], 0xd
lea eax, [esi + eax + 4]
push eax
call fcn.00644098
mov eax, dword [0x6cf830]
lea ecx, [esp + 0xb0]
push ecx
push eax
mov ecx, 0x6cf828
call fcn.00493b90
mov eax, dword [0x6cf82c]
cmp eax, ebx
jne 0x493193
xor edi, edi
jmp 0x4931ae
mov ecx, dword [0x6cf830]
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov edi, edx
mov eax, dword [0x6cf80c]
dec edi
lea edx, [esp + 0x28]
lea ebp, [edi + edi*4]
mov dword [esi + eax + 8], edi
mov eax, dword [0x6cf82c]
lea ecx, [edi + 1]
shl ebp, 4
mov dword [esp + 0x28], ecx
push edx
lea ecx, [eax + ebp + 8]
mov eax, dword [eax + ebp + 0x10]
push eax
call fcn.004939f0
mov eax, dword [0x6cf80c]
lea ecx, [esp + 0x60]
push ecx
mov ecx, 0x6cf828
mov dword [esi + eax + 0xc], ebx
mov eax, dword [0x6cf830]
push eax
call fcn.00493b90
mov eax, dword [0x6cf82c]
mov dword [eax + ebp + 0x54], edi
lea ecx, [esp + 0xd8]
mov byte [esp + 0x2b8], 0x10
call fcn.00492550
lea ecx, [esp + 0xc8]
mov byte [esp + 0x2b8], 0xf
call fcn.00492550
lea ecx, [esp + 0xb8]
mov byte [esp + 0x2b8], 0xe
call fcn.00548960
lea ecx, [esp + 0xb0]
mov byte [esp + 0x2b8], 9
call fcn.00643d26
jmp 0x493320
mov eax, dword [0x6cf80c]
lea ecx, [esp + 0x60]
shl edi, 4
push ecx
push 1
mov edx, dword [edi + eax + 8]
mov ecx, 0x6cf828
mov dword [esi + eax + 8], edx
mov eax, dword [0x6cf830]
push eax
call fcn.004942a0
mov ecx, dword [0x6cf82c]
cmp ecx, ebx
jne 0x49328e
xor edx, edx
jmp 0x4932a7
mov edx, dword [0x6cf830]
mov eax, 0x66666667
sub edx, ecx
imul edx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, dword [0x6cf80c]
dec edx
mov dword [esp + 0x1c], edx
mov eax, dword [esi + eax + 8]
lea edx, [eax + eax*4]
shl edx, 4
mov eax, dword [edx + ecx + 0x10]
lea ecx, [edx + ecx + 8]
lea edx, [esp + 0x1c]
push edx
push 1
push eax
call fcn.004b2240
mov eax, dword [esp + 0x1c]
mov ecx, dword [0x6cf80c]
mov edx, dword [0x6cf82c]
mov ecx, dword [esi + ecx + 8]
lea eax, [eax + eax*4]
shl eax, 4
mov dword [eax + edx + 4], ecx
mov edx, dword [0x6cf80c]
mov ecx, dword [0x6cf82c]
mov eax, dword [esi + edx + 8]
lea eax, [eax + eax*4]
shl eax, 4
lea eax, [eax + ecx + 8]
mov ecx, dword [eax + 4]
cmp ecx, ebx
jne 0x493313
xor eax, eax
jmp 0x49331b
mov eax, dword [eax + 8]
sub eax, ecx
sar eax, 2
dec eax
mov dword [esi + edx + 0xc], eax
lea ecx, [esp + 0x88]
mov byte [esp + 0x2b8], 0x13
call fcn.00492550
lea ecx, [esp + 0x78]
mov byte [esp + 0x2b8], 0x12
call fcn.00492550
lea ecx, [esp + 0x68]
mov byte [esp + 0x2b8], 0x11
call fcn.00548960
lea ecx, [esp + 0x60]
mov byte [esp + 0x2b8], 2
call fcn.00643d26
mov ebp, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
add esi, 0x10
cmp ebp, eax
jl 0x492f6e
xor ebp, ebp
cmp eax, ebx
jle 0x4937b9
xor esi, esi
mov dword [esp + 0x1c], esi
jmp 0x493392
mov esi, dword [esp + 0x1c]
xor ebx, ebx
mov ecx, dword [0x6cf80c]
push 0x6c7010
mov eax, dword [esi + ecx + 4]
push eax
call dword [fcn.0065f1ec]
add esp, 8
mov ecx, 0x1f
test eax, eax
mov eax, 0
lea edi, [esp + 0xb1]
mov byte [esp + 0xb0], 0
rep stosd dword es:[edi], eax
sete dl
stosw word es:[edi], ax
and edx, 0xff
mov dword [esp + 0x3c], edx
stosb byte es:[edi], al
je 0x4933e5
mov eax, dword [0x6cf80c]
mov esi, dword [esi + eax + 8]
jmp 0x493406
mov ecx, dword [0x6cf80c]
mov edx, dword [0x6cf82c]
mov eax, dword [esi + ecx + 8]
mov ecx, dword [esi + ecx + 0xc]
lea eax, [eax + eax*4]
shl eax, 4
mov edx, dword [eax + edx + 0xc]
mov esi, dword [edx + ecx*4]
mov edi, dword [fcn.0065f1cc]
inc ebp
push ebp
lea edx, [esp + 0xb4]
push 0x6a2a50
push edx
mov dword [esp + 0x38], ebp
call edi
mov eax, dword [esp + 0x20]
add esp, 0xc
lea ecx, [esp + 0xb0]
push eax
push ebx
push 0x6a2a44
push ecx
call dword [fcn.0065e168]
mov ecx, dword [0x6cf82c]
lea ebx, [esi + esi*4]
shl ebx, 4
mov dword [esp + 0x28], ebx
mov dword [ebx + ecx + 0x44], eax
mov eax, dword [0x6cf82c]
mov dword [ebx + eax + 0x48], 0
mov edx, dword [esp + 0x14]
mov esi, dword [0x6cf82c]
push edx
push 0
lea eax, [esp + 0xb8]
push 0x69d6ac
push eax
call dword [fcn.0065e168]
mov dword [ebx + esi + 0x4c], eax
mov ecx, dword [esp + 0x14]
push ecx
push 0
lea edx, [esp + 0xb8]
push 0x6a2a90
push edx
call dword [fcn.0065e168]
test eax, eax
mov dword [esp + 0x3c], eax
jle 0x4937a2
mov ebp, 1
mov dword [esp + 0x30], ebp
jmp 0x4934bd
mov edi, dword [fcn.0065f1cc]
mov ebp, dword [esp + 0x30]
push ebp
lea eax, [esp + 0x134]
push 0x6a2a7c
push eax
call edi
mov ecx, dword [esp + 0x20]
add esp, 0xc
mov esi, dword [fcn.0065e164]
lea edx, [esp + 0x1b0]
push ecx
push 0x100
push edx
lea eax, [esp + 0x13c]
push 0x6a2a74
lea ecx, [esp + 0xc0]
push eax
push ecx
call esi
lea edx, [esp + 0x1b0]
lea ecx, [esp + 0x24]
push edx
call fcn.006440b6
mov eax, dword [0x6cf82c]
lea edx, [esp + 0x24]
push edx
push 1
lea ecx, [ebx + eax + 0x18]
mov eax, dword [ebx + eax + 0x20]
push eax
call fcn.00492590
push ebp
lea eax, [esp + 0x134]
push 0x6a2a38
push eax
call edi
mov ecx, dword [esp + 0x20]
add esp, 0xc
lea edx, [esp + 0x1b0]
lea eax, [esp + 0x130]
push ecx
push 0x100
push edx
push 0x6c7010
lea ecx, [esp + 0xc0]
push eax
push ecx
call esi
lea edx, [esp + 0x1b0]
lea ecx, [esp + 0x18]
push edx
call fcn.006440b6
mov eax, dword [esp + 0x18]
cmp dword [eax - 8], 1
jge 0x49358f
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00644098
mov eax, dword [0x6cf82c]
mov esi, dword [ebx + eax + 0x30]
lea ecx, [ebx + eax + 0x30]
lea edx, [ebx + eax + 0x34]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x44], edx
mov edi, esi
mov edx, dword [edx]
sub edx, esi
sar edx, 2
cmp edx, 1
jae 0x4936c2
mov ecx, dword [ebx + eax + 0x2c]
lea ebx, [ebx + eax + 0x2c]
test ecx, ecx
mov dword [esp + 0x4c], ebx
je 0x4935d6
mov eax, esi
sub eax, ecx
sar eax, 2
cmp eax, 1
ja 0x4935db
mov eax, 1
test ecx, ecx
jne 0x4935e3
xor esi, esi
jmp 0x4935e8
sub esi, ecx
sar esi, 2
add eax, esi
test eax, eax
mov dword [esp + 0x48], eax
jge 0x4935f4
xor eax, eax
shl eax, 2
push eax
call fcn.00643b70
mov esi, dword [ebx]
add esp, 4
cmp esi, edi
mov dword [esp + 0x40], eax
mov ebp, eax
je 0x493620
push esi
push ebp
call fcn.00492b10
add esi, 4
add esp, 8
add ebp, 4
cmp esi, edi
jne 0x49360c
lea ecx, [esp + 0x18]
push ecx
push ebp
call fcn.00492b10
mov edx, dword [esp + 0x18]
add esp, 8
mov esi, edi
mov ebx, dword [edx]
cmp edi, ebx
je 0x493651
add ebp, 4
push esi
push ebp
call fcn.00492b10
add esi, 4
add esp, 8
add ebp, 4
cmp esi, ebx
jne 0x49363d
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x4c]
mov ebx, dword [eax]
mov esi, dword [edi]
cmp esi, ebx
je 0x493671
push 0
mov ecx, esi
call fcn.00492be0
add esi, 4
cmp esi, ebx
jne 0x493661
mov eax, dword [edi]
push eax
call fcn.00643cfc
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
add esp, 4
lea eax, [edx + ecx*4]
mov ecx, dword [esp + 0x44]
mov dword [ecx], eax
mov ecx, dword [edi]
test ecx, ecx
jne 0x4936a6
xor eax, eax
mov dword [edi], edx
lea ecx, [edx + eax*4 + 4]
mov eax, dword [esp + 0x10]
mov dword [eax], ecx
jmp 0x493784
mov eax, dword [esp + 0x10]
mov dword [edi], edx
mov eax, dword [eax]
sub eax, ecx
sar eax, 2
lea ecx, [edx + eax*4 + 4]
mov eax, dword [esp + 0x10]
mov dword [eax], ecx
jmp 0x493784
mov eax, esi
sub eax, edi
sar eax, 2
cmp eax, 1
jae 0x49373d
cmp edi, esi
mov eax, edi
je 0x4936eb
lea ebp, [eax + 4]
push eax
push ebp
call fcn.00492b10
mov eax, ebp
add esp, 8
cmp eax, esi
jne 0x4936d4
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx]
mov eax, 1
mov esi, edx
sub esi, edi
sar esi, 2
sub eax, esi
mov esi, edx
je 0x493719
mov ebp, eax
lea ecx, [esp + 0x18]
push ecx
push esi
call fcn.00492b10
add esp, 8
add esi, 4
dec ebp
jne 0x493701
mov ecx, dword [esp + 0x10]
mov ebp, dword [ecx]
mov esi, edi
cmp edi, ebp
je 0x493738
lea edx, [esp + 0x18]
mov ecx, esi
push edx
call fcn.00644098
add esi, 4
cmp esi, ebp
jne 0x493721
mov ecx, dword [esp + 0x10]
add dword [ecx], 4
jmp 0x493788
lea ebp, [esi - 4]
mov ebx, esi
cmp ebp, esi
je 0x49375e
push ebp
push ebx
call fcn.00492b10
add ebp, 4
add esp, 8
add ebx, 4
cmp ebp, esi
jne 0x493746
mov ecx, dword [esp + 0x10]
mov ecx, dword [ecx]
push ecx
add ecx, 0xfffffffc
push ecx
push edi
call fcn.00494700
lea eax, [esp + 0x24]
lea ecx, [edi + 4]
push eax
push ecx
push edi
call fcn.004946d0
mov eax, dword [esp + 0x28]
add esp, 0x18
add dword [eax], 4
mov ebx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
inc eax
mov dword [esp + 0x30], eax
dec eax
cmp eax, ecx
jl 0x4934b3
mov ebp, dword [esp + 0x2c]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
add ecx, 0x10
cmp ebp, eax
mov dword [esp + 0x1c], ecx
jl 0x49338c
lea ecx, [esp + 0x18]
mov byte [esp + 0x2b8], 1
call fcn.00643d26
lea ecx, [esp + 0x24]
mov byte [esp + 0x2b8], 0
call fcn.00643d26
lea ecx, [esp + 0x14]
mov dword [esp + 0x2b8], 0xffffffff
call fcn.00643d26
pop esi
pop ebp
mov ecx, dword [esp + 0x2a8]
pop edi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2ac
ret