Function at 0x10045e7a
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10097acf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c4
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x2c]
push ecx
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CWnd::GetDlgItem
mov dword [ebp - 0x178], eax
push 1
mov ecx, dword [ebp - 0x178]
call fcn.10004570
push 0
push 0x100
lea edx, [ebp - 0x10c]
push edx
push 0x100b8da8
call sub.Ufxtwl.dll_Ordinal_172
add esp, 0x10
mov dword [ebp - 0x14c], 0
jmp 0x10045ef0
mov eax, dword [ebp - 0x14c]
add eax, 1
mov dword [ebp - 0x14c], eax
cmp dword [ebp - 0x14c], 0xa
jge 0x10045f72
mov ecx, dword [ebp - 0x14c]
push ecx
push 0x100b8db8
lea edx, [ebp - 0x144]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x10c]
push eax
push 0
lea ecx, [ebp - 0x144]
push ecx
push str.AccCode
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp - 0x14c]
mov dword [ebp + edx*4 - 0x174], eax
mov eax, dword [ebp - 0x14c]
cmp dword [ebp + eax*4 - 0x174], 0
jle 0x10045f6d
mov ecx, dword [ebp - 0x14c]
mov edx, dword [ebp + ecx*4 - 0x174]
push edx
mov eax, dword [ebp - 0x14c]
push eax
mov ecx, dword [ebp - 0x178]
call fcn.10047dd0
jmp 0x10045ee1
mov word [ebp - 0x130], 0
push 0x1e3
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x190], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x190], 0
je 0x10045fb1
mov ecx, dword [ebp - 0x190]
call sub.AdbWnfb.dll_Ordinal_105
mov dword [ebp - 0x1a4], eax
jmp 0x10045fbb
mov dword [ebp - 0x1a4], 0
mov ecx, dword [ebp - 0x1a4]
mov dword [ebp - 0x18c], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x18c]
mov dword [ebp - 0x148], edx
cmp dword [ebp - 0x148], 0
jne 0x1004603d
call sub.Ufxtwl.dll_Ordinal_55
cmp dword [ebp - 0x148], 0
je 0x10046036
mov eax, dword [ebp - 0x148]
mov dword [ebp - 0x198], eax
mov ecx, dword [ebp - 0x198]
mov dword [ebp - 0x194], ecx
cmp dword [ebp - 0x194], 0
je 0x1004602c
push 1
mov edx, dword [ebp - 0x194]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x194]
call dword [eax]
mov dword [ebp - 0x1a8], eax
jmp 0x10046036
mov dword [ebp - 0x1a8], 0
xor eax, eax
jmp 0x10046732
mov dword [ebp - 0x17c], 0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x48]
add edx, 0xb
push edx
call sub.MSVCRT.dll_strlen
add esp, 4
mov dword [ebp - 0x110], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x44]
cmp dword [ecx + 0x3c], 2
jle 0x10046077
mov dword [ebp - 0x1ac], 2
jmp 0x10046086
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x44]
mov ecx, dword [eax + 0x3c]
mov dword [ebp - 0x1ac], ecx
cmp dword [ebp - 0x1ac], 0
jge 0x1004609b
mov dword [ebp - 0x1b0], 0
jmp 0x100460ce
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x44]
cmp dword [eax + 0x3c], 2
jle 0x100460b3
mov dword [ebp - 0x1b4], 2
jmp 0x100460c2
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x44]
mov eax, dword [edx + 0x3c]
mov dword [ebp - 0x1b4], eax
mov ecx, dword [ebp - 0x1b4]
mov dword [ebp - 0x1b0], ecx
mov edx, dword [ebp - 0x1b0]
push edx
mov ecx, dword [ebp - 0x148]
call fcn.10032260
push 0xfffffffffffffffe
mov ecx, dword [ebp - 0x148]
call sub.adbapi.dll_Ordinal_115
mov dword [ebp - 0x17c], eax
cmp dword [ebp - 0x17c], 0
jne 0x10046667
mov ecx, dword [ebp - 0x148]
call fcn.10047e60
mov dword [ebp - 0x1b8], eax
cmp dword [ebp - 0x1b8], 0
je 0x10046139
cmp dword [ebp - 0x1b8], 1
je 0x10046309
cmp dword [ebp - 0x1b8], 2
je 0x100464b0
jmp 0x10046667
push 7
push 0
mov eax, dword [ebp - 0x148]
add eax, 0x1c7
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
cmp dword [ebp - 0x110], 6
jle 0x10046166
mov dword [ebp - 0x1bc], 6
jmp 0x10046172
mov ecx, dword [ebp - 0x110]
mov dword [ebp - 0x1bc], ecx
mov edx, dword [ebp - 0x1bc]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x48]
add ecx, 0xb
push ecx
mov edx, dword [ebp - 0x148]
add edx, 0x1c7
push edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push 9
mov ecx, dword [ebp - 0x148]
call sub.adbapi.dll_Ordinal_113_1
mov dword [ebp - 0x17c], eax
cmp dword [ebp - 0x17c], 0
jne 0x10046304
cmp dword [ebp - 0x110], 6
jle 0x100461cd
mov dword [ebp - 0x1c0], 6
jmp 0x100461d9
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x1c0], eax
mov ecx, dword [ebp - 0x1c0]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x48]
add eax, 0xb
push eax
mov ecx, dword [ebp - 0x148]
add ecx, 0x132
push ecx
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x10046209
jmp 0x10046304
mov edx, dword [ebp - 0x148]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call sym.UfxTools.dll_Ordinal_2053
add esp, 0xc
test eax, eax
je 0x100462ec
push 0x1c
push 0
lea edx, [ebp - 0x12c]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 7
mov eax, dword [ebp - 0x148]
add eax, 0x132
push eax
lea ecx, [ebp - 0x12c]
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov edx, dword [ebp - 0x148]
add edx, 0x141
push edx
lea eax, [ebp - 0x125]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea ecx, [ebp - 0x12c]
push ecx
mov ecx, dword [ebp - 0x178]
call fcn.10047da0
mov edx, dword [ebp - 0x148]
movsx eax, word [edx + 0x139]
test eax, eax
jne 0x100462da
mov dword [ebp - 0x180], 0
jmp 0x100462b0
mov ecx, dword [ebp - 0x180]
add ecx, 1
mov dword [ebp - 0x180], ecx
cmp dword [ebp - 0x180], 2
jge 0x100462da
push 0xc0c0c0
movsx edx, word [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x180]
push eax
mov ecx, dword [ebp - 0x178]
call fcn.10047d40
jmp 0x100462a1
mov cx, word [ebp - 0x130]
add cx, 1
mov word [ebp - 0x130], cx
push 6
mov ecx, dword [ebp - 0x148]
call sub.adbapi.dll_Ordinal_113_1
mov dword [ebp - 0x17c], eax
jmp 0x100461ab
jmp 0x10046667
push 0x15
push 0
mov edx, dword [ebp - 0x148]
add edx, 0x1c7
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov eax, dword [ebp - 0x110]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x48]
add edx, 0xb
push edx
mov eax, dword [ebp - 0x148]
add eax, 0x1c7
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push 7
push 0
mov ecx, dword [ebp - 0x148]
add ecx, 0x1dc
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 9
mov ecx, dword [ebp - 0x148]
call sub.adbapi.dll_Ordinal_113_1
mov dword [ebp - 0x17c], eax
cmp dword [ebp - 0x17c], 0
jne 0x100464ab
mov edx, dword [ebp - 0x110]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x48]
add ecx, 0xb
push ecx
mov edx, dword [ebp - 0x148]
add edx, 0x141
push edx
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x100463b0
jmp 0x100464ab
mov eax, dword [ebp - 0x148]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call sym.UfxTools.dll_Ordinal_2053
add esp, 0xc
test eax, eax
je 0x10046493
push 0x1c
push 0
lea eax, [ebp - 0x12c]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 7
mov ecx, dword [ebp - 0x148]
add ecx, 0x132
push ecx
lea edx, [ebp - 0x12c]
push edx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x148]
add eax, 0x141
push eax
lea ecx, [ebp - 0x125]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [ebp - 0x12c]
push edx
mov ecx, dword [ebp - 0x178]
call fcn.10047da0
mov eax, dword [ebp - 0x148]
movsx ecx, word [eax + 0x139]
test ecx, ecx
jne 0x10046481
mov dword [ebp - 0x184], 0
jmp 0x10046457
mov edx, dword [ebp - 0x184]
add edx, 1
mov dword [ebp - 0x184], edx
cmp dword [ebp - 0x184], 2
jge 0x10046481
push 0xc0c0c0
movsx eax, word [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x184]
push ecx
mov ecx, dword [ebp - 0x178]
call fcn.10047d40
jmp 0x10046448
mov dx, word [ebp - 0x130]
add dx, 1
mov word [ebp - 0x130], dx
push 6
mov ecx, dword [ebp - 0x148]
call sub.adbapi.dll_Ordinal_113_1
mov dword [ebp - 0x17c], eax
jmp 0x10046373
jmp 0x10046667
push 0xc
mov ecx, dword [ebp - 0x148]
call sub.adbapi.dll_Ordinal_113_1
mov dword [ebp - 0x17c], eax
cmp dword [ebp - 0x17c], 0
jne 0x10046667
cmp dword [ebp - 0x110], 6
jle 0x100464e5
mov dword [ebp - 0x1c4], 6
jmp 0x100464f1
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x1c4], eax
mov ecx, dword [ebp - 0x1c4]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x48]
add eax, 0xb
push eax
mov ecx, dword [ebp - 0x148]
add ecx, 0x132
push ecx
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
je 0x1004656b
cmp dword [ebp - 0x110], 6
jle 0x10046531
mov dword [ebp - 0x1c8], 6
jmp 0x1004653d
mov edx, dword [ebp - 0x110]
mov dword [ebp - 0x1c8], edx
mov eax, dword [ebp - 0x1c8]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x48]
add edx, 0xb
push edx
mov eax, dword [ebp - 0x148]
add eax, 0x141
push eax
call dword [sym.imp.MSVCRT.dll_strncmp]
add esp, 0xc
test eax, eax
jne 0x1004664f
mov ecx, dword [ebp - 0x148]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call sym.UfxTools.dll_Ordinal_2053
add esp, 0xc
test eax, eax
je 0x1004664f
push 0x1c
push 0
lea ecx, [ebp - 0x12c]
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 7
mov edx, dword [ebp - 0x148]
add edx, 0x132
push edx
lea eax, [ebp - 0x12c]
push eax
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov ecx, dword [ebp - 0x148]
add ecx, 0x141
push ecx
lea edx, [ebp - 0x125]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x12c]
push eax
mov ecx, dword [ebp - 0x178]
call fcn.10047da0
mov ecx, dword [ebp - 0x148]
movsx edx, word [ecx + 0x139]
test edx, edx
jne 0x1004663d
mov dword [ebp - 0x188], 0
jmp 0x10046613
mov eax, dword [ebp - 0x188]
add eax, 1
mov dword [ebp - 0x188], eax
cmp dword [ebp - 0x188], 2
jge 0x1004663d
push 0xc0c0c0
movsx ecx, word [ebp - 0x130]
push ecx
mov edx, dword [ebp - 0x188]
push edx
mov ecx, dword [ebp - 0x178]
call fcn.10047d40
jmp 0x10046604
mov ax, word [ebp - 0x130]
add ax, 1
mov word [ebp - 0x130], ax
push 6
mov ecx, dword [ebp - 0x148]
call sub.adbapi.dll_Ordinal_113_1
mov dword [ebp - 0x17c], eax
jmp 0x100464c3
mov ecx, dword [ebp - 0x148]
call fcn.10016cb0
test eax, eax
je 0x10046681
mov ecx, dword [ebp - 0x148]
call sub.adbapi.dll_Ordinal_104
mov ecx, dword [ebp - 0x148]
mov dword [ebp - 0x1a0], ecx
mov edx, dword [ebp - 0x1a0]
mov dword [ebp - 0x19c], edx
cmp dword [ebp - 0x19c], 0
je 0x100466bc
push 1
mov eax, dword [ebp - 0x19c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x19c]
call dword [edx]
mov dword [ebp - 0x1cc], eax
jmp 0x100466c6
mov dword [ebp - 0x1cc], 0
push 0xffff
push 0
push 0x547
mov ecx, dword [ebp - 0x178]
call fcn.10004340
push 0
mov ecx, dword [ebp - 0x178]
call fcn.10047d70
push 1
mov ecx, dword [ebp - 0x178]
call fcn.10020b50
push 1
mov ecx, dword [ebp - 0x178]
call fcn.1000a860
cmp dword [ebp - 0x17c], 0
je 0x10046722
cmp dword [ebp - 0x17c], 9
je 0x10046722
mov dword [ebp - 0x1d0], 0
jmp 0x1004672c
mov dword [ebp - 0x1d0], 1
mov eax, dword [ebp - 0x1d0]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret