Function at 0x43bb10
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x45b196
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14c
push ebx
push ebp
push esi
mov esi, dword [esp + 0x168]
mov ebx, ecx
push edi
mov ecx, 0x39
xor eax, eax
lea edi, [esp + 0x78]
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x170]
lea eax, [esp + 0x78]
push eax
push ecx
push esi
mov ecx, ebx
call fcn.0043b7d0
mov eax, esi
push 0
and eax, 0xff
lea edx, [eax + eax*4]
lea eax, [eax + edx*2]
mov dx, word [ebx + eax*2 + 0x45e2]
mov word [esp + 0x24], dx
mov dl, byte [ebx + eax*2 + 0x45e5]
mov cl, byte [ebx + eax*2 + 0x45e0]
lea eax, [ebx + eax*2]
mov byte [esp + 0x1c], cl
mov byte [esp + 0x1e], dl
mov cl, byte [eax + 0x45e4]
mov dl, byte [ebx + 0x592c]
mov al, byte [ebx + 0x155]
mov byte [esp + 0x19], cl
mov cl, byte [ebx + 0x156]
push edx
mov byte [esp + 0x23], cl
mov ecx, ebx
mov byte [esp + 0x1f], al
call fcn.00433c60
mov ecx, ebx
mov byte [esp + 0x16], al
call fcn.0041f180
mov cx, word [ebx + 0x16e]
mov esi, eax
mov eax, ecx
mov dword [esp + 0x30], esi
and eax, 0xffff
mov edx, eax
and edx, 0xfffffff8
cmp edx, 0x400
jle 0x43bbee
shr eax, 3
mov edi, eax
jmp 0x43bbf3
mov edi, 0x80
mov eax, 0x800
mov byte [esp + 0x14], 0x10
cdq
idiv edi
mov byte [esp + 0x1c], al
mov al, byte [ebx + 0x98]
test al, al
jne 0x43bc18
mov eax, dword [ebx + 0x110]
test eax, eax
je 0x43bc1d
mov byte [esp + 0x14], 0x11
movzx ax, byte [ebx + 0x172]
imul eax, esi
mov dword [esp + 0x38], eax
mov al, byte [ebx + 0x16d]
add ecx, 0xfffffff6
cmp al, 0x40
mov dword [esp + 0x34], ecx
jbe 0x43bc54
lea eax, [esp + 0x20]
push 0x48d780
push eax
mov dword [esp + 0x28], 0xf1000
call sub.MSVCRT.dll__CxxThrowException
mov ecx, dword [esp + 0x1c]
and eax, 0xff
and ecx, 0xff
lea edi, [esp + 0x58]
mov dword [esp + 0x2c], 0
lea eax, [eax + ecx - 1]
cdq
idiv ecx
mov ecx, 8
mov dl, al
xor eax, eax
rep stosd dword es:[edi], eax
xor cl, cl
mov byte [esp + 0x12], dl
test dl, dl
jbe 0x43bcf0
movzx di, byte [esp + 0x16]
movzx bp, byte [esp + 0x1b]
lea esi, [esp + 0x5a]
movzx dx, byte [esp + 0x17]
xor ax, ax
add esi, 8
mov al, cl
imul eax, edx
imul eax, ebp
movzx dx, byte [esp + 0x15]
imul eax, edi
add eax, edx
movzx dx, byte [ebx + 0x172]
imul eax, edx
movzx dx, byte [esp + 0x1a]
add eax, edx
mov word [esi - 0xa], ax
lea edx, [eax + 1]
mov word [esi - 8], dx
lea edx, [eax + 2]
add eax, 3
mov word [esi - 6], dx
mov word [esi - 4], ax
mov al, byte [esp + 0x12]
inc cl
cmp cl, al
jb 0x43bc9b
push ecx
mov cl, byte [ebx + 0xe4]
mov eax, esp
mov dword [esp + 0x40], esp
push 0x80
push ecx
push eax
mov ecx, ebx
call fcn.00421bb0
mov dl, byte [ebx + 0xea]
mov al, byte [ebx + 0xe4]
push 0x80
push edx
lea ecx, [esp + 0x34]
push eax
push ecx
mov ecx, ebx
call fcn.00421ca0
lea edx, [esp + 0x40]
lea eax, [esp + 0x28]
push edx
push 0x80
push ecx
mov dword [esp + 0x170], 0
mov ecx, esp
mov dword [esp + 0x48], esp
push eax
call fcn.0045822c
mov cx, word [ebx + 0x20]
mov dl, byte [ebx + 0x23]
push ecx
push edx
push ecx
mov byte [esp + 0x17c], 1
mov ecx, esp
mov dword [esp + 0x34], esp
push 0x49770c
call fcn.0045822c
lea ecx, [ebx + 0x100]
mov byte [esp + 0x17c], 0
call fcn.00428e40
mov edx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x174]
test edx, edx
setne byte [esp + 0x12]
mov ecx, 0x80
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
mov al, 6
mov byte [ebp], 0xd
mov byte [ebp + 1], al
mov byte [ebp + 2], 5
mov byte [ebp + 3], al
mov al, byte [ebx + 0x23]
cmp al, 0x84
jne 0x43bdc1
mov byte [ebp + 4], al
jmp 0x43be99
cmp al, 0x86
mov cl, 0x92
je 0x43be8e
cmp al, cl
je 0x43be8e
cmp al, 0x90
jne 0x43bddf
mov byte [ebp + 4], al
jmp 0x43be99
cmp al, 0x96
jne 0x43bdeb
mov byte [ebp + 4], al
jmp 0x43be92
mov ecx, ebx
call fcn.004126f0
test eax, eax
je 0x43be99
xor eax, eax
mov al, byte [ebx + 0x21]
and eax, 0xff
add eax, 0xffffff35
cmp eax, 0x18
ja case.0x43be16.212
xor ecx, ecx
mov cl, byte [eax + 0x43c278]
jmp dword [ecx*4 + 0x43c250]
mov byte [ebp + 4], 0x10
mov byte [ebp + 5], 0x88
jmp 0x43be99
mov byte [ebp + 4], 0x12
mov byte [ebp + 5], 0x88
jmp 0x43be99
mov byte [ebp + 4], 0x98
mov byte [ebp + 5], 0x88
jmp 0x43be99
mov byte [ebp + 4], 0x15
mov byte [ebp + 5], 0x88
jmp 0x43be99
mov byte [ebp + 4], 0x13
mov byte [ebp + 5], 0x88
jmp 0x43be99
mov byte [ebp + 4], 0x16
mov byte [ebp + 5], 0x88
jmp 0x43be99
mov byte [ebp + 4], 0x18
mov byte [ebp + 5], 0x88
jmp 0x43be99
mov byte [ebp + 4], 0x17
mov byte [ebp + 5], 0x88
jmp 0x43be99
mov byte [ebp + 4], 0x19
mov byte [ebp + 5], 0x88
jmp 0x43be99
lea edx, [esp + 0x1c]
push 0x48d780
push edx
mov dword [esp + 0x24], 0xffffffff
call sub.MSVCRT.dll__CxxThrowException
mov byte [ebp + 4], 0x85
mov byte [ebp + 5], 0x88
mov byte [ebp + 6], cl
mov ecx, dword [esp + 0x30]
mov eax, 0x400
cdq
and ecx, 0xffff
idiv ecx
cmp eax, 8
jle 0x43beb5
mov eax, 8
lea edx, [esp + 0x2c]
mov ecx, ebx
push edx
mov byte [ebp + 0xb], al
call fcn.004245e0
mov byte [ebp + 0xc], al
mov byte [ebp + 0xd], 1
mov byte [ebp + 0xe], 1
mov byte [ebp + 0xf], 0
mov byte [ebp + 0x10], 0
mov ecx, ebx
mov byte [ebp + 0x11], 3
call fcn.004244c0
mov byte [ebp + 0x12], al
mov al, byte [esp + 0x14]
lea edi, [ebp + 0x14]
mov ecx, 0x39
lea esi, [esp + 0x78]
mov byte [ebp + 0x13], al
rep movsd dword es:[edi], dword [esi]
mov cl, byte [esp + 0x18]
mov byte [ebp + 0x100], 0xa0
mov byte [ebp + 0x101], 0
mov byte [ebp + 0x102], cl
mov ecx, dword [esp + 0x20]
mov ax, cx
shr ax, 8
mov byte [ebp + 0x103], al
mov byte [ebp + 0x104], cl
mov dl, byte [ebx + 0xac]
mov word [esp + 0x18], ax
mov al, byte [esp + 0x12]
mov byte [ebp + 0x105], dl
mov ecx, ebx
mov byte [ebp + 0x106], al
call fcn.004244c0
mov byte [ebp + 0x10f], al
lea eax, [esp + 0x58]
lea esi, [ebp + 0x111]
mov edi, 8
mov dl, byte [eax]
xor ecx, ecx
mov cl, byte [eax + 1]
add eax, 2
mov byte [esi - 1], cl
mov byte [esi], dl
add esi, 2
dec edi
jne 0x43bf60
mov eax, dword [0x4971e8]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push 0
push str.SetValue
push 0x493dfc
call esi
cmp eax, 1
jne 0x43c03a
mov ecx, dword [0x4971e8]
push ecx
push 0
push str.SetValue_290
push 0x493dfc
call esi
mov byte [ebp + 0x122], al
mov edx, dword [0x4971e8]
push edx
push 0
push str.SetValue_291
push 0x493dfc
call esi
mov byte [ebp + 0x123], al
mov eax, dword [0x4971e8]
push eax
push 0
push str.SetValue_292
push 0x493dfc
call esi
mov byte [ebp + 0x124], al
mov ecx, dword [0x4971e8]
push ecx
push 0
push str.SetValue_293
push 0x493dfc
call esi
mov byte [ebp + 0x125], al
mov edx, dword [0x4971e8]
push edx
push 0
push str.SetValue_294
push 0x493dfc
call esi
mov byte [ebp + 0x126], al
mov eax, dword [0x4971e8]
push eax
push 0
push str.SetValue_295
push 0x493dfc
call esi
mov byte [ebp + 0x127], al
jmp 0x43c06e
xor ecx, ecx
mov cl, byte [ebx + 0x21]
cmp cl, 0xe3
jne 0x43c06e
mov byte [ebp + 0x122], 0x51
mov byte [ebp + 0x123], 0x3e
mov byte [ebp + 0x124], 0xe9
mov byte [ebp + 0x125], 0xe1
mov byte [ebp + 0x126], 0x50
mov byte [ebp + 0x127], 0xa
mov eax, dword [esp + 0x2c]
test ax, ax
je 0x43c087
xor edx, edx
mov byte [ebp + 0x193], al
mov dl, ah
mov byte [ebp + 0x192], dl
mov al, byte [ebx + 0x786c]
mov ecx, ebx
mov byte [ebp + 0x194], al
call fcn.00424200
mov byte [ebp + 0x195], al
mov ecx, dword [ebx + 8]
mov dl, byte [ecx + 0x7a]
mov byte [ebp + 0x19e], dl
mov al, byte [ebx + 0x23]
cmp al, 0x90
je 0x43c0d6
mov ecx, ebx
call fcn.004126f0
test eax, eax
jne 0x43c0d6
cmp byte [ebx + 0x23], 0x96
jne 0x43c0ea
cmp byte [ebx + 0x52f5], 1
sete al
mov byte [ebp + 0x19f], al
jmp 0x43c0ea
cmp byte [ebx + 0x52f5], 1
setne cl
dec ecx
and ecx, 0x51
mov byte [ebp + 0x19f], cl
mov ecx, ebx
call fcn.004126f0
test eax, eax
je 0x43c10c
mov dl, byte [esp + 0x50]
mov ecx, ebx
mov byte [ebp + 0x1a7], dl
call fcn.004246e0
mov byte [ebp + 0x1a8], al
mov al, byte [ebx + 0xea]
mov cx, word [ebx + 0xec]
mov byte [esp + 0x13], al
lea edx, [esp + 0x24]
lea eax, [esp + 0x13]
mov dword [esp + 0x24], ecx
push edx
push eax
mov ecx, ebx
call fcn.0043e450
mov eax, dword [esp + 0x24]
xor ecx, ecx
mov dl, byte [esp + 0x13]
mov cl, ah
mov byte [ebp + 0x1ed], cl
mov byte [ebp + 0x1ef], al
mov eax, dword [esp + 0x38]
xor ecx, ecx
mov cl, ah
mov byte [ebp + 0x1f1], al
mov eax, dword [esp + 0x30]
mov byte [ebp + 0x1f0], cl
xor ecx, ecx
mov byte [ebp + 0x1ee], dl
mov dl, byte [ebx + 0x16d]
mov cl, ah
mov byte [ebp + 0x1f2], dl
mov byte [ebp + 0x1f3], 0
mov byte [ebp + 0x1f4], cl
mov byte [ebp + 0x1f5], al
mov dl, byte [ebx + 0x16c]
mov byte [ebp + 0x1f7], 0
mov byte [ebp + 0x1f6], dl
mov al, byte [ebx + 0x172]
xor ecx, ecx
mov byte [ebp + 0x1f8], al
mov eax, dword [esp + 0x34]
mov byte [ebp + 0x1f9], 0
mov cl, byte [ebx + 0x16f]
push ebp
mov byte [ebp + 0x1fa], cl
mov dl, byte [ebx + 0x16e]
xor ecx, ecx
mov byte [ebp + 0x1fb], dl
mov dl, byte [esp + 0x1c]
mov cl, ah
mov byte [ebp + 0x1fc], cl
mov ecx, dword [esp + 0x174]
mov byte [ebp + 0x1fe], dl
mov edx, dword [esp + 0x170]
mov byte [ebp + 0x1fd], al
mov al, byte [esp + 0x24]
push ecx
push edx
mov ecx, ebx
mov byte [ebp + 0x1ff], al
call fcn.0043a950
lea edi, [ebp + 0x200]
mov ecx, 0x80
mov esi, ebp
mov dword [esp + 0x164], 0xffffffff
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x15c]
pop edi
pop esi
pop ebp
mov eax, 1
mov dword fs:[0], ecx
pop ebx
add esp, 0x158
ret 0xc