Function at 0x426ee0
Capabilities:
Check if file exists
Get file attributes
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcec
mov dword [ebp - 0xcb4], 0
mov dword [ebp - 0x39c], 0
mov dword [ebp - 0xcb0], 1
cmp dword [ebp + 0xc], 0
je 0x426f41
mov eax, dword [ebp + 0xc]
push eax
call fcn.0054c3e0
add esp, 4
test eax, eax
je 0x426f41
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x426f41
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0x18c]
push eax
call fcn.0054bec0
add esp, 8
jmp 0x426f4b
mov dword [ebp - 0xcb0], 0
lea ecx, [ebp - 0x4a4]
push ecx
call fcn.0053534c
add esp, 4
lea edx, [ebp - 0x398]
push edx
call fcn.0053534c
add esp, 4
lea eax, [ebp - 0x294]
push eax
call fcn.0053534c
add esp, 4
push 0x5a4288
lea ecx, [ebp - 0x398]
push ecx
call fcn.0054bed0
add esp, 8
push 0x5a42a4
lea edx, [ebp - 0x4a4]
push edx
call fcn.0054bed0
add esp, 8
push str.UFD_MPLogFile.ini
lea eax, [ebp - 0x294]
push eax
call fcn.0054bed0
add esp, 8
cmp dword [ebp + 0x10], 0
je 0x427286
mov dword [ebp - 0x84], 2
mov dword [ebp - 0x190], 0
jmp 0x426fe3
mov ecx, dword [ebp - 0x190]
add ecx, 1
mov dword [ebp - 0x190], ecx
mov edx, dword [ebp - 0x190]
cmp edx, dword [ebp - 0x84]
jge 0x42727c
mov eax, dword [ebp - 0x190]
shl eax, 5
mov ecx, dword [eax + 0x5a0460]
and ecx, 0x80
test ecx, ecx
je 0x427010
jmp 0x426fd4
mov edx, dword [ebp - 0x190]
shl edx, 5
mov eax, dword [edx + 0x5a0460]
and eax, 0x70
mov dword [ebp - 0xcc0], eax
cmp dword [ebp - 0xcc0], 0
je 0x427045
cmp dword [ebp - 0xcc0], 0x10
je 0x427053
cmp dword [ebp - 0xcc0], 0x20
je 0x427061
jmp 0x42706f
lea ecx, [ebp - 0x18c]
mov dword [ebp - 0x39c], ecx
jmp 0x427079
lea edx, [ebp - 0x398]
mov dword [ebp - 0x39c], edx
jmp 0x427079
lea eax, [ebp - 0x4a4]
mov dword [ebp - 0x39c], eax
jmp 0x427079
mov dword [ebp - 0x39c], 0
cmp dword [ebp - 0x39c], 0
jne 0x427087
jmp 0x426fd4
mov ecx, dword [ebp - 0x190]
shl ecx, 5
mov edx, dword [ecx + 0x5a0460]
and edx, 0xf
mov dword [ebp - 0xcc4], edx
cmp dword [ebp - 0xcc4], 3
ja case.default.0x4270b2
mov eax, dword [ebp - 0xcc4]
jmp dword [eax*4 + 0x4283ed]
mov ecx, dword [ebp - 0x190]
shl ecx, 5
mov edx, dword [ecx + 0x5a0464]
mov eax, dword [edx]
push eax
push 0x5a42cc
lea ecx, [ebp - 0xcac]
push ecx
call fcn.0054c45b
add esp, 0xc
mov edx, dword [ebp - 0x39c]
push edx
lea eax, [ebp - 0xcac]
push eax
mov ecx, dword [ebp - 0x190]
shl ecx, 5
mov edx, dword [ecx + 0x5a045c]
push edx
mov eax, dword [ebp - 0x190]
shl eax, 5
mov ecx, dword [eax + 0x5a0458]
push ecx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp case.default.0x4270b2
mov edx, dword [ebp - 0x39c]
push edx
mov eax, dword [ebp - 0x190]
shl eax, 5
mov ecx, dword [eax + 0x5a0470]
push ecx
mov edx, dword [ebp - 0x190]
shl edx, 5
mov eax, dword [edx + 0x5a045c]
push eax
mov ecx, dword [ebp - 0x190]
shl ecx, 5
mov edx, dword [ecx + 0x5a0458]
push edx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp case.default.0x4270b2
mov eax, dword [ebp - 0x190]
shl eax, 5
mov ecx, dword [eax + 0x5a0464]
mov edx, dword [ecx]
push edx
push 0x5a42d0
lea eax, [ebp - 0xcac]
push eax
call fcn.0054c45b
add esp, 0xc
mov ecx, dword [ebp - 0x39c]
push ecx
lea edx, [ebp - 0xcac]
push edx
mov eax, dword [ebp - 0x190]
shl eax, 5
mov ecx, dword [eax + 0x5a045c]
push ecx
mov edx, dword [ebp - 0x190]
shl edx, 5
mov eax, dword [edx + 0x5a0458]
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp case.default.0x4270b2
push 0x800
push 0
lea ecx, [ebp - 0xcac]
push ecx
call fcn.0054bfb0
add esp, 0xc
mov dword [ebp - 0x3a0], 0
jmp 0x4271ea
mov edx, dword [ebp - 0x3a0]
add edx, 1
mov dword [ebp - 0x3a0], edx
mov eax, dword [ebp - 0x190]
shl eax, 5
mov ecx, dword [eax + 0x5a046c]
shr ecx, 2
cmp dword [ebp - 0x3a0], ecx
jge 0x427243
mov edx, dword [ebp - 0x190]
shl edx, 5
mov eax, dword [edx + 0x5a0464]
mov ecx, dword [ebp - 0x3a0]
mov edx, dword [eax + ecx*4]
push edx
push 0x5a42d4
lea eax, [ebp - 0x80]
push eax
call fcn.0054c45b
add esp, 0xc
lea ecx, [ebp - 0x80]
push ecx
lea edx, [ebp - 0xcac]
push edx
call fcn.0054bed0
add esp, 8
jmp 0x4271db
mov eax, dword [ebp - 0x39c]
push eax
lea ecx, [ebp - 0xcac]
push ecx
mov edx, dword [ebp - 0x190]
shl edx, 5
mov eax, dword [edx + 0x5a045c]
push eax
mov ecx, dword [ebp - 0x190]
shl ecx, 5
mov edx, dword [ecx + 0x5a0458]
push edx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x426fd4
mov eax, 1
jmp 0x4283e9
mov dword [ebp - 0x84], 0x212
cmp dword [ebp + 8], 0
je 0x427c90
mov dword [ebp - 0x190], 0
jmp 0x4272b5
mov eax, dword [ebp - 0x190]
add eax, 1
mov dword [ebp - 0x190], eax
mov ecx, dword [ebp - 0x190]
cmp ecx, dword [ebp - 0x84]
jge 0x427658
mov edx, dword [ebp - 0x190]
shl edx, 5
mov eax, dword [edx + 0x59beb8]
and eax, 0x70
mov dword [ebp - 0xcc8], eax
cmp dword [ebp - 0xcc8], 0
je 0x4272fc
cmp dword [ebp - 0xcc8], 0x10
je 0x42730a
cmp dword [ebp - 0xcc8], 0x20
je 0x427318
jmp 0x427326
lea ecx, [ebp - 0x18c]
mov dword [ebp - 0x39c], ecx
jmp 0x427330
lea edx, [ebp - 0x398]
mov dword [ebp - 0x39c], edx
jmp 0x427330
lea eax, [ebp - 0x4a4]
mov dword [ebp - 0x39c], eax
jmp 0x427330
mov dword [ebp - 0x39c], 0
cmp dword [ebp - 0x39c], 0
jne 0x42733e
jmp 0x4272a6
push str.SM325ISPWEARLEVELING
mov ecx, dword [ebp - 0x190]
shl ecx, 5
mov edx, dword [ecx + 0x59beb4]
push edx
call fcn.0054d7f0
add esp, 8
test eax, eax
jne 0x427369
mov dword [ebp - 0xcb8], 0
mov eax, dword [ebp - 0x190]
shl eax, 5
mov ecx, dword [eax + 0x59beb8]
and ecx, 0xf
mov dword [ebp - 0xccc], ecx
cmp dword [ebp - 0xccc], 3
ja case.default.0x427394
mov edx, dword [ebp - 0xccc]
jmp dword [edx*4 + 0x4283fd]
mov eax, dword [ebp - 0x39c]
push eax
mov ecx, dword [ebp - 0x190]
shl ecx, 5
mov edx, dword [ecx + 0x59bec0]
push edx
mov eax, dword [ebp - 0x190]
shl eax, 5
mov ecx, dword [eax + 0x59beb4]
push ecx
mov edx, dword [ebp - 0x190]
shl edx, 5
mov eax, dword [edx + 0x59beb0]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x190]
shl ecx, 5
mov edx, dword [ecx + 0x59bebc]
mov dword [edx], eax
jmp case.default.0x427394
mov eax, dword [ebp - 0x39c]
push eax
mov ecx, dword [ebp - 0x190]
shl ecx, 5
mov edx, dword [ecx + 0x59bec4]
push edx
mov eax, dword [ebp - 0x190]
shl eax, 5
mov ecx, dword [eax + 0x59bec8]
push ecx
mov edx, dword [ebp - 0x190]
shl edx, 5
mov eax, dword [edx + 0x59becc]
push eax
mov ecx, dword [ebp - 0x190]
shl ecx, 5
mov edx, dword [ecx + 0x59beb4]
push edx
mov eax, dword [ebp - 0x190]
shl eax, 5
mov ecx, dword [eax + 0x59beb0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
jmp case.default.0x427394
mov edx, dword [ebp - 0x39c]
push edx
push 0x800
lea eax, [ebp - 0xcac]
push eax
mov ecx, dword [ebp - 0x190]
shl ecx, 5
mov edx, dword [ecx + 0x59becc]
push edx
mov eax, dword [ebp - 0x190]
shl eax, 5
mov ecx, dword [eax + 0x59beb4]
push ecx
mov edx, dword [ebp - 0x190]
shl edx, 5
mov eax, dword [edx + 0x59beb0]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0xcac]
push ecx
call fcn.005353c2
add esp, 4
mov edx, dword [ebp - 0x190]
shl edx, 5
mov ecx, dword [edx + 0x59bebc]
mov dword [ecx], eax
jmp case.default.0x427394
mov edx, dword [ebp - 0x39c]
push edx
push 0x800
lea eax, [ebp - 0xcac]
push eax
mov ecx, dword [ebp - 0x190]
shl ecx, 5
mov edx, dword [ecx + 0x59becc]
push edx
mov eax, dword [ebp - 0x190]
shl eax, 5
mov ecx, dword [eax + 0x59beb4]
push ecx
mov edx, dword [ebp - 0x190]
shl edx, 5
mov eax, dword [edx + 0x59beb0]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x4a8], 0
mov dword [ebp - 0x4ac], 0
mov dword [ebp - 0x3a0], 0
jmp 0x427536
mov ecx, dword [ebp - 0x3a0]
add ecx, 1
mov dword [ebp - 0x3a0], ecx
mov edx, dword [ebp - 0x190]
shl edx, 5
mov eax, dword [edx + 0x59bec4]
shr eax, 2
cmp dword [ebp - 0x3a0], eax
jge case.default.0x427394
push 0x80
push 0
lea ecx, [ebp - 0x80]
push ecx
call fcn.0054bfb0
add esp, 0xc
mov dword [ebp - 0x88], 0
mov edx, dword [ebp - 0x4ac]
mov dword [ebp - 0x4a8], edx
jmp 0x42758e
mov eax, dword [ebp - 0x4a8]
add eax, 1
mov dword [ebp - 0x4a8], eax
lea ecx, [ebp - 0xcac]
push ecx
call fcn.0054c3e0
add esp, 4
cmp dword [ebp - 0x4a8], eax
jge 0x4275f1
mov edx, dword [ebp - 0x4a8]
movsx eax, byte [ebp + edx - 0xcac]
cmp eax, 0x2c
jne 0x4275c9
mov ecx, dword [ebp - 0x4a8]
add ecx, 1
mov dword [ebp - 0x4ac], ecx
jmp 0x4275f1
mov edx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x4a8]
mov cl, byte [ebp + eax - 0xcac]
mov byte [ebp + edx - 0x80], cl
mov edx, dword [ebp - 0x88]
add edx, 1
mov dword [ebp - 0x88], edx
jmp 0x42757f
lea eax, [ebp - 0x80]
push eax
call fcn.0054c3e0
add esp, 4
test eax, eax
jne 0x42762a
mov ecx, dword [ebp - 0x190]
shl ecx, 5
mov edx, dword [ebp - 0x190]
shl edx, 5
mov eax, dword [edx + 0x59bebc]
mov edx, dword [ebp - 0x3a0]
mov ecx, dword [ecx + 0x59bec0]
mov dword [eax + edx*4], ecx
jmp 0x42764e
lea edx, [ebp - 0x80]
push edx
call fcn.0054c538
add esp, 4
mov ecx, dword [ebp - 0x190]
shl ecx, 5
mov edx, dword [ecx + 0x59bebc]
mov ecx, dword [ebp - 0x3a0]
mov dword [edx + ecx*4], eax
jmp 0x427527
jmp 0x4272a6
mov dword [ebp - 0x84], 7
mov dword [ebp - 0x190], 0
jmp 0x42767d
mov edx, dword [ebp - 0x190]
add edx, 1
mov dword [ebp - 0x190], edx
mov eax, dword [ebp - 0x190]
cmp eax, dword [ebp - 0x84]
jge 0x4277f3
mov ecx, dword [ebp - 0x190]
imul ecx, ecx, 0x1c
mov edx, dword [ecx + 0x5a00f8]
and edx, 0x70
mov dword [ebp - 0xcd0], edx
cmp dword [ebp - 0xcd0], 0
je 0x4276c4
cmp dword [ebp - 0xcd0], 0x10
je 0x4276d2
cmp dword [ebp - 0xcd0], 0x20
je 0x4276e0
jmp 0x4276ee
lea eax, [ebp - 0x18c]
mov dword [ebp - 0x39c], eax
jmp 0x4276f8
lea ecx, [ebp - 0x398]
mov dword [ebp - 0x39c], ecx
jmp 0x4276f8
lea edx, [ebp - 0x4a4]
mov dword [ebp - 0x39c], edx
jmp 0x4276f8
mov dword [ebp - 0x39c], 0
cmp dword [ebp - 0x39c], 0
jne 0x427706
jmp 0x42766e
mov dword [ebp - 0x3a0], 0
jmp 0x427721
mov eax, dword [ebp - 0x3a0]
add eax, 1
mov dword [ebp - 0x3a0], eax
mov ecx, dword [ebp - 0x190]
imul ecx, ecx, 0x1c
mov edx, dword [ebp - 0x3a0]
cmp edx, dword [ecx + 0x5a00fc]
jge 0x4277ee
mov ecx, dword [ebp - 0x190]
imul ecx, ecx, 0x1c
mov eax, 4
xor edx, edx
div dword [ecx + 0x5a00fc]
mov dword [ebp - 0xcbc], eax
mov edx, dword [ebp - 0x3a0]
push edx
mov eax, dword [ebp - 0x190]
imul eax, eax, 0x1c
mov ecx, dword [eax + 0x5a00f4]
push ecx
push 0x5a42f0
lea edx, [ebp - 0x80]
push edx
call fcn.0054c45b
add esp, 0x10
mov eax, dword [ebp - 0x39c]
push eax
mov ecx, dword [ebp - 0x190]
imul ecx, ecx, 0x1c
mov edx, dword [ecx + 0x5a0100]
push edx
mov eax, dword [ebp - 0x190]
imul eax, eax, 0x1c
mov ecx, dword [ebp - 0x190]
imul ecx, ecx, 0x1c
mov edx, dword [ebp - 0x3a0]
imul edx, dword [ecx + 0x5a0100]
mov eax, dword [eax + 0x5a0104]
add eax, edx
push eax
mov ecx, dword [ebp - 0x190]
imul ecx, ecx, 0x1c
mov edx, dword [ecx + 0x5a0108]
push edx
lea eax, [ebp - 0x80]
push eax
mov ecx, dword [ebp - 0x190]
imul ecx, ecx, 0x1c
mov edx, dword [ecx + 0x5a00f0]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
jmp 0x427712
jmp 0x42766e
mov dword [ebp - 0x84], 0x15
mov dword [ebp - 0x190], 0
jmp 0x427818
mov eax, dword [ebp - 0x190]
add eax, 1
mov dword [ebp - 0x190], eax
mov ecx, dword [ebp - 0x190]
cmp ecx, dword [ebp - 0x84]
jge 0x427b5f
mov edx, dword [ebp - 0x190]
shl edx, 5
mov eax, dword [edx + 0x5a01c0]
and eax, 0x70
mov dword [ebp - 0xcd4], eax
cmp dword [ebp - 0xcd4], 0
je 0x42784d
jmp 0x42785b
lea ecx, [ebp - 0x294]
mov dword [ebp - 0x39c], ecx
jmp 0x427865
mov dword [ebp - 0x39c], 0
cmp dword [ebp - 0x39c], 0
jne 0x427870
jmp 0x427809
mov edx, dword [ebp - 0x190]
shl edx, 5
mov eax, dword [edx + 0x5a01c0]
and eax, 0xf
mov dword [ebp - 0xcd8], eax
cmp dword [ebp - 0xcd8], 3
ja case.default.0x42789b
mov ecx, dword [ebp - 0xcd8]
jmp dword [ecx*4 + 0x42840d]
mov edx, dword [ebp - 0x39c]
push edx
mov eax, dword [ebp - 0x190]
shl eax, 5
mov ecx, dword [eax + 0x5a01c8]
push ecx
mov edx, dword [ebp - 0x190]
shl edx, 5
mov eax, dword [edx + 0x5a01bc]
push eax
mov ecx, dword [ebp - 0x190]
shl ecx, 5
mov edx, dword [ecx + 0x5a01b8]
push edx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 0x190]
shl ecx, 5
mov edx, dword [ecx + 0x5a01c4]
mov dword [edx], eax
jmp case.default.0x42789b
mov eax, dword [ebp - 0x39c]
push eax
mov ecx, dword [ebp - 0x190]
shl ecx, 5
mov edx, dword [ecx + 0x5a01cc]
push edx
mov eax, dword [ebp - 0x190]
shl eax, 5
mov ecx, dword [eax + 0x5a01d0]
push ecx
mov edx, dword [ebp - 0x190]
shl edx, 5
mov eax, dword [edx + 0x5a01d4]
push eax
mov ecx, dword [ebp - 0x190]
shl ecx, 5
mov edx, dword [ecx + 0x5a01bc]
push edx
mov eax, dword [ebp - 0x190]
shl eax, 5
mov ecx, dword [eax + 0x5a01b8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
jmp case.default.0x42789b
mov edx, dword [ebp - 0x39c]
push edx
push 0x800
lea eax, [ebp - 0xcac]
push eax
mov ecx, dword [ebp - 0x190]
shl ecx, 5
mov edx, dword [ecx + 0x5a01d4]
push edx
mov eax, dword [ebp - 0x190]
shl eax, 5
mov ecx, dword [eax + 0x5a01bc]
push ecx
mov edx, dword [ebp - 0x190]
shl edx, 5
mov eax, dword [edx + 0x5a01b8]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0xcac]
push ecx
call fcn.005353c2
add esp, 4
mov edx, dword [ebp - 0x190]
shl edx, 5
mov ecx, dword [edx + 0x5a01c4]
mov dword [ecx], eax
jmp case.default.0x42789b
mov edx, dword [ebp - 0x39c]
push edx
push 0x800
lea eax, [ebp - 0xcac]
push eax
mov ecx, dword [ebp - 0x190]
shl ecx, 5
mov edx, dword [ecx + 0x5a01d4]
push edx
mov eax, dword [ebp - 0x190]
shl eax, 5
mov ecx, dword [eax + 0x5a01bc]
push ecx
mov edx, dword [ebp - 0x190]
shl edx, 5
mov eax, dword [edx + 0x5a01b8]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov dword [ebp - 0x4a8], 0
mov dword [ebp - 0x4ac], 0
mov dword [ebp - 0x3a0], 0
jmp 0x427a3d
mov ecx, dword [ebp - 0x3a0]
add ecx, 1
mov dword [ebp - 0x3a0], ecx
mov edx, dword [ebp - 0x190]
shl edx, 5
mov eax, dword [edx + 0x5a01cc]
shr eax, 2
cmp dword [ebp - 0x3a0], eax
jge case.default.0x42789b
push 0x80
push 0
lea ecx, [ebp - 0x80]
push ecx
call fcn.0054bfb0
add esp, 0xc
mov dword [ebp - 0x88], 0
mov edx, dword [ebp - 0x4ac]
mov dword [ebp - 0x4a8], edx
jmp 0x427a95
mov eax, dword [ebp - 0x4a8]
add eax, 1
mov dword [ebp - 0x4a8], eax
lea ecx, [ebp - 0xcac]
push ecx
call fcn.0054c3e0
add esp, 4
cmp dword [ebp - 0x4a8], eax
jge 0x427af8
mov edx, dword [ebp - 0x4a8]
movsx eax, byte [ebp + edx - 0xcac]
cmp eax, 0x2c
jne 0x427ad0
mov ecx, dword [ebp - 0x4a8]
add ecx, 1
mov dword [ebp - 0x4ac], ecx
jmp 0x427af8
mov edx, dword [ebp - 0x88]
mov eax, dword [ebp - 0x4a8]
mov cl, byte [ebp + eax - 0xcac]
mov byte [ebp + edx - 0x80], cl
mov edx, dword [ebp - 0x88]
add edx, 1
mov dword [ebp - 0x88], edx
jmp 0x427a86
lea eax, [ebp - 0x80]
push eax
call fcn.0054c3e0
add esp, 4
test eax, eax
jne 0x427b31
mov ecx, dword [ebp - 0x190]
shl ecx, 5
mov edx, dword [ebp - 0x190]
shl edx, 5
mov eax, dword [edx + 0x5a01c4]
mov edx, dword [ebp - 0x3a0]
mov ecx, dword [ecx + 0x5a01c8]
mov dword [eax + edx*4], ecx
jmp 0x427b55
lea edx, [ebp - 0x80]
push edx
call fcn.0054c538
add esp, 4
mov ecx, dword [ebp - 0x190]
shl ecx, 5
mov edx, dword [ecx + 0x5a01c4]
mov ecx, dword [ebp - 0x3a0]
mov dword [edx + ecx*4], eax
jmp 0x427a2e
jmp 0x427809
mov dword [ebp - 0x190], 0
jmp 0x427b7a
mov edx, dword [ebp - 0x190]
add edx, 1
mov dword [ebp - 0x190], edx
cmp dword [ebp - 0x190], 8
jge 0x427c81
push str.SUBLOT
mov eax, dword [ebp - 0x190]
shl eax, 9
add eax, 0x5c5f18
push eax
call fcn.0054d7f0
add esp, 8
test eax, eax
jne 0x427bc4
mov ecx, dword [ebp - 0x190]
shl ecx, 9
add ecx, 0x5c6018
push ecx
push 0x5c6f20
call fcn.0054bec0
add esp, 8
push str.OP_NUM
mov edx, dword [ebp - 0x190]
shl edx, 9
add edx, 0x5c5f18
push edx
call fcn.0054d7f0
add esp, 8
test eax, eax
jne 0x427c01
mov eax, dword [ebp - 0x190]
shl eax, 9
add eax, 0x5c6018
push eax
push 0x5c7020
call fcn.0054bec0
add esp, 8
push str.SYSTEM_NUM
mov ecx, dword [ebp - 0x190]
shl ecx, 9
add ecx, 0x5c5f18
push ecx
call fcn.0054d7f0
add esp, 8
test eax, eax
jne 0x427c3f
mov edx, dword [ebp - 0x190]
shl edx, 9
add edx, 0x5c6018
push edx
push 0x5c7120
call fcn.0054bec0
add esp, 8
push str.HANDLER_NUM
mov eax, dword [ebp - 0x190]
shl eax, 9
add eax, 0x5c5f18
push eax
call fcn.0054d7f0
add esp, 8
test eax, eax
jne 0x427c7c
mov ecx, dword [ebp - 0x190]
shl ecx, 9
add ecx, 0x5c6018
push ecx
push 0x5c7220
call fcn.0054bec0
add esp, 8
jmp 0x427b6b
mov dword [ebp - 0xcb4], 1
jmp 0x428339
mov dword [ebp - 0x190], 0
jmp 0x427cab
mov edx, dword [ebp - 0x190]
add edx, 1
mov dword [ebp - 0x190], edx
mov eax, dword [ebp - 0x190]
cmp eax, dword [ebp - 0x84]
jge 0x427f44
mov ecx, dword [ebp - 0x190]
shl ecx, 5
mov edx, dword [ecx + 0x59beb8]
and edx, 0x80
test edx, edx
je 0x427cd8
jmp 0x427c9c
mov eax, dword [ebp - 0x190]
shl eax, 5
mov ecx, dword [eax + 0x59beb8]
and ecx, 0x70
mov dword [ebp - 0xcdc], ecx
cmp dword [ebp - 0xcdc], 0
je 0x427d0d
cmp dword [ebp - 0xcdc], 0x10
je 0x427d1b
cmp dword [ebp - 0xcdc], 0x20
je 0x427d29
jmp 0x427d37
lea edx, [ebp - 0x18c]
mov dword [ebp - 0x39c], edx
jmp 0x427d41
lea eax, [ebp - 0x398]
mov dword [ebp - 0x39c], eax
jmp 0x427d41
lea ecx, [ebp - 0x4a4]
mov dword [ebp - 0x39c], ecx
jmp 0x427d41
mov dword [ebp - 0x39c], 0
cmp dword [ebp - 0x39c], 0
jne 0x427d4f
jmp 0x427c9c
mov edx, dword [ebp - 0x190]
shl edx, 5
mov eax, dword [edx + 0x59beb8]
and eax, 0xf
mov dword [ebp - 0xce0], eax
cmp dword [ebp - 0xce0], 3
ja case.default.0x427d7a
mov ecx, dword [ebp - 0xce0]
jmp dword [ecx*4 + 0x42841d]
mov edx, dword [ebp - 0x190]
shl edx, 5
mov eax, dword [edx + 0x59bebc]
mov ecx, dword [eax]
push ecx
push 0x5a4320
lea edx, [ebp - 0xcac]
push edx
call fcn.0054c45b
add esp, 0xc
mov eax, dword [ebp - 0x39c]
push eax
lea ecx, [ebp - 0xcac]
push ecx
mov edx, dword [ebp - 0x190]
shl edx, 5
mov eax, dword [edx + 0x59beb4]
push eax
mov ecx, dword [ebp - 0x190]
shl ecx, 5
mov edx, dword [ecx + 0x59beb0]
push edx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp case.default.0x427d7a
mov eax, dword [ebp - 0x39c]
push eax
mov ecx, dword [ebp - 0x190]
shl ecx, 5
mov edx, dword [ecx + 0x59bec8]
push edx
mov eax, dword [ebp - 0x190]
shl eax, 5
mov ecx, dword [eax + 0x59beb4]
push ecx
mov edx, dword [ebp - 0x190]
shl edx, 5
mov eax, dword [edx + 0x59beb0]
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp case.default.0x427d7a
mov ecx, dword [ebp - 0x190]
shl ecx, 5
mov edx, dword [ecx + 0x59bebc]
mov eax, dword [edx]
push eax
push 0x5a4324
lea ecx, [ebp - 0xcac]
push ecx
call fcn.0054c45b
add esp, 0xc
mov edx, dword [ebp - 0x39c]
push edx
lea eax, [ebp - 0xcac]
push eax
mov ecx, dword [ebp - 0x190]
shl ecx, 5
mov edx, dword [ecx + 0x59beb4]
push edx
mov eax, dword [ebp - 0x190]
shl eax, 5
mov ecx, dword [eax + 0x59beb0]
push ecx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp case.default.0x427d7a
push 0x800
push 0
lea edx, [ebp - 0xcac]
push edx
call fcn.0054bfb0
add esp, 0xc
mov dword [ebp - 0x3a0], 0
jmp 0x427eb2
mov eax, dword [ebp - 0x3a0]
add eax, 1
mov dword [ebp - 0x3a0], eax
mov ecx, dword [ebp - 0x190]
shl ecx, 5
mov edx, dword [ecx + 0x59bec4]
shr edx, 2
cmp dword [ebp - 0x3a0], edx
jge 0x427f0b
mov eax, dword [ebp - 0x190]
shl eax, 5
mov ecx, dword [eax + 0x59bebc]
mov edx, dword [ebp - 0x3a0]
mov eax, dword [ecx + edx*4]
push eax
push 0x5a4328
lea ecx, [ebp - 0x80]
push ecx
call fcn.0054c45b
add esp, 0xc
lea edx, [ebp - 0x80]
push edx
lea eax, [ebp - 0xcac]
push eax
call fcn.0054bed0
add esp, 8
jmp 0x427ea3
mov ecx, dword [ebp - 0x39c]
push ecx
lea edx, [ebp - 0xcac]
push edx
mov eax, dword [ebp - 0x190]
shl eax, 5
mov ecx, dword [eax + 0x59beb4]
push ecx
mov edx, dword [ebp - 0x190]
shl edx, 5
mov eax, dword [edx + 0x59beb0]
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x427c9c
mov dword [ebp - 0x84], 7
mov dword [ebp - 0x190], 0
jmp 0x427f69
mov ecx, dword [ebp - 0x190]
add ecx, 1
mov dword [ebp - 0x190], ecx
mov edx, dword [ebp - 0x190]
cmp edx, dword [ebp - 0x84]
jge 0x42809f
mov eax, dword [ebp - 0x190]
imul eax, eax, 0x1c
mov ecx, dword [eax + 0x5a00f8]
and ecx, 0x70
mov dword [ebp - 0xce4], ecx
cmp dword [ebp - 0xce4], 0
je 0x427fb0
cmp dword [ebp - 0xce4], 0x10
je 0x427fbe
cmp dword [ebp - 0xce4], 0x20
je 0x427fcc
jmp 0x427fda
lea edx, [ebp - 0x18c]
mov dword [ebp - 0x39c], edx
jmp 0x427fe4
lea eax, [ebp - 0x398]
mov dword [ebp - 0x39c], eax
jmp 0x427fe4
lea ecx, [ebp - 0x4a4]
mov dword [ebp - 0x39c], ecx
jmp 0x427fe4
mov dword [ebp - 0x39c], 0
cmp dword [ebp - 0x39c], 0
jne 0x427ff2
jmp 0x427f5a
mov dword [ebp - 0x3a0], 0
jmp 0x42800d
mov edx, dword [ebp - 0x3a0]
add edx, 1
mov dword [ebp - 0x3a0], edx
mov eax, dword [ebp - 0x190]
imul eax, eax, 0x1c
mov ecx, dword [ebp - 0x3a0]
cmp ecx, dword [eax + 0x5a00fc]
jge 0x42809a
mov edx, dword [ebp - 0x3a0]
push edx
mov eax, dword [ebp - 0x190]
imul eax, eax, 0x1c
mov ecx, dword [eax + 0x5a00f4]
push ecx
push 0x5a432c
lea edx, [ebp - 0x80]
push edx
call fcn.0054c45b
add esp, 0x10
mov eax, dword [ebp - 0x39c]
push eax
mov ecx, dword [ebp - 0x190]
imul ecx, ecx, 0x1c
mov edx, dword [ebp - 0x190]
imul edx, edx, 0x1c
mov eax, dword [ebp - 0x3a0]
imul eax, dword [edx + 0x5a0100]
mov ecx, dword [ecx + 0x5a0104]
add ecx, eax
push ecx
lea edx, [ebp - 0x80]
push edx
mov eax, dword [ebp - 0x190]
imul eax, eax, 0x1c
mov ecx, dword [eax + 0x5a00f0]
push ecx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x427ffe
jmp 0x427f5a
mov dword [ebp - 0x84], 0x15
mov dword [ebp - 0x190], 0
jmp 0x4280c4
mov edx, dword [ebp - 0x190]
add edx, 1
mov dword [ebp - 0x190], edx
mov eax, dword [ebp - 0x190]
cmp eax, dword [ebp - 0x84]
jge 0x42832f
mov ecx, dword [ebp - 0x190]
shl ecx, 5
mov edx, dword [ecx + 0x5a01c0]
and edx, 0x80
test edx, edx
je 0x4280f1
jmp 0x4280b5
mov eax, dword [ebp - 0x190]
shl eax, 5
mov ecx, dword [eax + 0x5a01c0]
and ecx, 0x70
mov dword [ebp - 0xce8], ecx
cmp dword [ebp - 0xce8], 0
je 0x428114
jmp 0x428122
lea edx, [ebp - 0x294]
mov dword [ebp - 0x39c], edx
jmp 0x42812c
mov dword [ebp - 0x39c], 0
cmp dword [ebp - 0x39c], 0
jne 0x42813a
jmp 0x4280b5
mov eax, dword [ebp - 0x190]
shl eax, 5
mov ecx, dword [eax + 0x5a01c0]
and ecx, 0xf
mov dword [ebp - 0xcec], ecx
cmp dword [ebp - 0xcec], 3
ja case.default.0x428165
mov edx, dword [ebp - 0xcec]
jmp dword [edx*4 + 0x42842d]
mov eax, dword [ebp - 0x190]
shl eax, 5
mov ecx, dword [eax + 0x5a01c4]
mov edx, dword [ecx]
push edx
push 0x5a4334
lea eax, [ebp - 0xcac]
push eax
call fcn.0054c45b
add esp, 0xc
mov ecx, dword [ebp - 0x39c]
push ecx
lea edx, [ebp - 0xcac]
push edx
mov eax, dword [ebp - 0x190]
shl eax, 5
mov ecx, dword [eax + 0x5a01bc]
push ecx
mov edx, dword [ebp - 0x190]
shl edx, 5
mov eax, dword [edx + 0x5a01b8]
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp case.default.0x428165
mov ecx, dword [ebp - 0x39c]
push ecx
mov edx, dword [ebp - 0x190]
shl edx, 5
mov eax, dword [edx + 0x5a01d0]
push eax
mov ecx, dword [ebp - 0x190]
shl ecx, 5
mov edx, dword [ecx + 0x5a01bc]
push edx
mov eax, dword [ebp - 0x190]
shl eax, 5
mov ecx, dword [eax + 0x5a01b8]
push ecx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp case.default.0x428165
mov edx, dword [ebp - 0x190]
shl edx, 5
mov eax, dword [edx + 0x5a01c4]
mov ecx, dword [eax]
push ecx
push 0x5a4338
lea edx, [ebp - 0xcac]
push edx
call fcn.0054c45b
add esp, 0xc
mov eax, dword [ebp - 0x39c]
push eax
lea ecx, [ebp - 0xcac]
push ecx
mov edx, dword [ebp - 0x190]
shl edx, 5
mov eax, dword [edx + 0x5a01bc]
push eax
mov ecx, dword [ebp - 0x190]
shl ecx, 5
mov edx, dword [ecx + 0x5a01b8]
push edx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp case.default.0x428165
push 0x800
push 0
lea eax, [ebp - 0xcac]
push eax
call fcn.0054bfb0
add esp, 0xc
mov dword [ebp - 0x3a0], 0
jmp 0x42829d
mov ecx, dword [ebp - 0x3a0]
add ecx, 1
mov dword [ebp - 0x3a0], ecx
mov edx, dword [ebp - 0x190]
shl edx, 5
mov eax, dword [edx + 0x5a01cc]
shr eax, 2
cmp dword [ebp - 0x3a0], eax
jge 0x4282f6
mov ecx, dword [ebp - 0x190]
shl ecx, 5
mov edx, dword [ecx + 0x5a01c4]
mov eax, dword [ebp - 0x3a0]
mov ecx, dword [edx + eax*4]
push ecx
push 0x5a433c
lea edx, [ebp - 0x80]
push edx
call fcn.0054c45b
add esp, 0xc
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0xcac]
push ecx
call fcn.0054bed0
add esp, 8
jmp 0x42828e
mov edx, dword [ebp - 0x39c]
push edx
lea eax, [ebp - 0xcac]
push eax
mov ecx, dword [ebp - 0x190]
shl ecx, 5
mov edx, dword [ecx + 0x5a01bc]
push edx
mov eax, dword [ebp - 0x190]
shl eax, 5
mov ecx, dword [eax + 0x5a01b8]
push ecx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x4280b5
mov dword [ebp - 0xcb4], 1
cmp dword [ebp + 8], 0
je 0x4283e3
mov dword [ebp - 0x190], 0
jmp 0x42835e
mov edx, dword [ebp - 0x190]
add edx, 1
mov dword [ebp - 0x190], edx
cmp dword [ebp - 0x190], 0x20
jge 0x4283e3
push 0x800
push 0
lea eax, [ebp - 0xcac]
push eax
call fcn.0054bfb0
add esp, 0xc
mov ecx, dword [ebp - 0x190]
add ecx, 0x81
push ecx
push str.0xC000_Param0x_.2X
lea edx, [ebp - 0x80]
push edx
call fcn.0054c45b
add esp, 0xc
lea eax, [ebp - 0x4a4]
push eax
push 0x800
lea ecx, [ebp - 0xcac]
push ecx
push 0x5a4354
lea edx, [ebp - 0x80]
push edx
push 0x5a4358
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0xcac]
push eax
call fcn.005353c2
add esp, 4
mov ecx, dword [ebp - 0x190]
mov dword [ecx*4 + 0x5be6a4], eax
jmp 0x42834f
mov eax, dword [ebp - 0xcb4]
mov esp, ebp
pop ebp
ret