Function at 0x426b59
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55783b
mov eax, dword fs:[0]
push eax
mov eax, 0x10e0
call fcn.005307a0
mov eax, dword [0x5b3db0]
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 eax, dword [ebp + 8]
mov dword [ebp - 0x1018], eax
lea eax, [ebp - 0x1094]
mov edi, edx
push eax
mov esi, ecx
call fcn.00426df8
xor ebx, ebx
mov dword [ebp - 4], ebx
cmp dword [esi + 4], ebx
je 0x426df1
mov dword [ebp - 0x1020], ebx
mov byte [ebp - 4], 1
cmp byte [esi + 8], bl
jne 0x426bd0
push dword [ebp - 0x1090]
mov ebx, esi
call fcn.00426eff
xor ebx, ebx
cmp dword [ebp - 0x1094], ebx
je 0x426be2
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
push 1
call dword [eax + 0x1c]
mov ecx, dword [esi + 4]
push dword [ebp - 0x1068]
mov eax, dword [ecx]
call dword [eax + 0x5c]
mov ecx, dword [esi + 4]
push dword [ebp - 0x1060]
mov eax, dword [ecx]
call dword [eax + 0x64]
mov ecx, dword [esi + 4]
push dword [ebp - 0x1064]
mov eax, dword [ecx]
call dword [eax + 0x60]
mov ecx, dword [esi + 4]
push dword [ebp - 0x1054]
mov eax, dword [ecx]
call dword [eax + 0x6c]
mov ecx, dword [esi + 4]
push dword [ebp - 0x1048]
mov eax, dword [ecx]
call dword [eax + 0x74]
movzx edx, byte [esi + 0xa]
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
push edx
call dword [eax + 0x28]
mov ecx, dword [esi + 4]
fld dword [ebp - 0x1074]
mov eax, dword [ecx]
push ecx
fstp dword [esp]
call dword [eax + 0x54]
mov ecx, dword [esi + 4]
fld dword [ebp - 0x1078]
mov eax, dword [ecx]
push ecx
fstp dword [esp]
call dword [eax + 0x50]
mov ecx, dword [esi + 4]
push dword [ebp - 0x1070]
mov eax, dword [ecx]
call dword [eax + 0x58]
mov ecx, dword [esi + 4]
push dword [ebp - 0x1034]
mov eax, dword [ecx]
call dword [eax + 0x80]
mov ecx, dword [esi + 4]
push dword [ebp - 0x1058]
mov eax, dword [ecx]
call dword [eax + 0x68]
mov ecx, dword [esi + 4]
push dword [ebp - 0x1080]
mov eax, dword [ecx]
call dword [eax + 0x4c]
mov ecx, dword [esi + 4]
push dword [ebp - 0x104c]
mov eax, dword [ecx]
call dword [eax + 0x70]
mov ecx, dword [esi + 4]
push dword [ebp - 0x1038]
mov eax, dword [ecx]
call dword [eax + 0x7c]
cmp byte [esi + 9], 1
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
sete dl
movzx edx, dl
push edx
call dword [eax + 0x2c]
lea edi, [ebp - 0x1094]
call fcn.00426acd
push ecx
mov ecx, esp
mov dword [ebp - 0x101c], esp
push 0x587cac
call fcn.00401daf
mov byte [ebp - 4], 2
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
call dword [eax + 0x3c]
push eax
lea eax, [ebp - 0x10ec]
push eax
mov byte [ebp - 4], 1
call fcn.00407ddf
lea ecx, [ebp - 0x10ec]
mov byte [ebp - 4], 3
call fcn.0040871a
push dword [ebp - 0x10e0]
push ebx
push str.DocumentTableOrigin
push dword [ebp - 0x10e4]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
mov eax, dword [esi + 4]
mov ebx, dword [eax]
lea ecx, [ebp - 0x10ec]
call fcn.0040871a
mov ecx, dword [esi + 4]
and eax, 3
shl eax, 2
and edi, 3
or eax, edi
push eax
call dword [ebx + 0x20]
mov ecx, dword [esi + 4]
push dword [ebp - 0x1040]
mov eax, dword [ecx]
call dword [eax + 0x78]
mov ecx, dword [esi + 4]
push dword [ebp - 0x1030]
mov eax, dword [ecx]
call dword [eax + 0x84]
mov ecx, dword [esi + 4]
push dword [ebp - 0x102c]
mov eax, dword [ecx]
call dword [eax + 0x88]
push 0
call fcn.00409228
pop ecx
call fcn.00409974
test eax, eax
je 0x426d8d
mov eax, dword [eax + 0x20]
mov ecx, dword [esi + 4]
mov edx, dword [ecx]
push 0x800
lea esi, [ebp - 0x1014]
push esi
push eax
call dword [edx + 0x44]
push 0x58791e
mov edi, eax
call fcn.00409228
pop ecx
mov ecx, dword [ebp - 0x1018]
mov eax, esi
push eax
call fcn.00401d89
lea ecx, [ebp - 0x10ec]
call fcn.00407f3e
lea esi, [ebp - 0x1094]
call fcn.00422270
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0052b424
leave
ret 4
mov edi, 0x5007
jmp 0x426dc8