Function at 0x1004301
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x828
push esi
push edi
mov edi, dword [esp + 0x834]
test edi, edi
mov esi, ecx
je 0x1004321
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x1004328
xor eax, eax
jmp 0x1004830
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ebp
push edi
mov ebp, 0x410
push ebp
lea eax, [esi + 0x118]
push eax
push 0x1001261
push 0x1001d24
mov edi, 0x1001cf4
push edi
call ebx
push dword [esp + 0x83c]
lea eax, [esi + 0x918]
push ebp
push eax
push 0x1001261
push 0x1001cec
push edi
call ebx
push dword [esp + 0x83c]
lea eax, [esi + 0xd18]
push ebp
push eax
push 0x1001261
push 0x1001ce0
push edi
call ebx
push dword [esp + 0x83c]
lea eax, [esi + 0x518]
push ebp
push eax
push 0x1001261
push 0x1001cd4
push edi
call ebx
push dword [esp + 0x83c]
lea eax, [esi + 0x1118]
push ebp
push eax
push 0x1001261
push 0x1001cbc
push edi
call ebx
lea eax, [esi + 0x1118]
jmp 0x10043db
cmp cl, 0x30
jl 0x1004468
cmp cl, 0x39
jg 0x1004468
inc eax
mov cl, byte [eax]
test cl, cl
jne 0x10043c8
push dword [esp + 0x83c]
lea eax, [esi + 0x1518]
push ebp
push eax
push 0x1001261
push 0x1001cb0
push edi
call ebx
lea eax, [esi + 0x1518]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
mov ebp, dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
je 0x10044c9
push 0x3f3
push dword [esi + 8]
call ebp
mov ecx, eax
cmp ecx, 0xffffffff
mov dword [esp + 0x10], ecx
je 0x100444b
lea eax, [esi + 0x1518]
push eax
push 0xffffffffffffffff
push 0x158
push ecx
call edi
mov word [esi + 0x1918], ax
movzx eax, word [esi + 0x1918]
cmp eax, 0xffffffff
push 0
jne 0x10044a3
push 0x1001b48
push 0x1001c84
jmp 0x1004591
push dword [esp + 0x83c]
lea eax, [esp + 0x42c]
push 0x1001c58
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0x1001b48
lea eax, [esp + 0x430]
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x100482e
push eax
push 0x14e
push dword [esp + 0x1c]
call edi
push 0x3f3
push dword [esi + 8]
call ebp
push eax
push 0x3f3
push 0x111
push dword [esi + 8]
call edi
push dword [esp + 0x83c]
lea eax, [esi + 0x191a]
push 0x410
push eax
push 0x1001261
push 0x1001c4c
push 0x1001cf4
call ebx
push dword [esp + 0x83c]
lea eax, [esi + 0x1d1a]
push 0x410
push eax
push 0x1001261
push 0x1001c40
push 0x1001cf4
mov dword [esp + 0x2c], eax
call ebx
push dword [esp + 0x83c]
lea eax, [esi + 0x211a]
push 0x410
push eax
push 0x1001261
push 0x1001c30
push 0x1001cf4
call ebx
lea eax, [esi + 0x211a]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x10045ad
push 0x3f4
push dword [esi + 8]
call ebp
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x1004579
lea ecx, [esi + 0x211a]
push ecx
push 0xffffffffffffffff
push 0x158
push eax
call edi
mov word [esi + 0x251a], ax
mov eax, dword [esp + 0x10]
movzx ecx, word [esi + 0x251a]
cmp ecx, 0xffffffff
jne 0x1004599
push 0
push 0x1001b48
push 0x1001bfc
push dword [esi + 8]
jmp 0x1004496
cmp eax, 0xffffffff
je 0x100449c
push 0
push ecx
push 0x14e
push eax
call edi
push dword [esp + 0x83c]
lea eax, [esp + 0x1c]
push 0x410
push eax
push 0x1001261
push 0x1001bf0
push 0x1001cf4
call ebx
lea eax, [esp + 0x18]
push eax
call fcn.01009171
lea eax, [esp + 0x1c]
mov dword [esp], 0x1001bec
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x10045f5
mov dword [esi], 1
push dword [esp + 0x83c]
lea eax, [esp + 0x1c]
push 0x410
push eax
push 0x1001261
push 0x1001bdc
push 0x1001cf4
call ebx
lea eax, [esp + 0x18]
push eax
call fcn.01009171
lea eax, [esp + 0x1c]
mov dword [esp], 0x1001bec
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x1004641
mov dword [esi + 0x2d30], 1
push dword [esp + 0x83c]
lea eax, [esp + 0x1c]
push 0x410
push eax
push 0x1001261
push 0x1001bcc
push 0x1001cf4
call ebx
lea eax, [esp + 0x18]
push eax
call fcn.01009171
lea eax, [esp + 0x1c]
mov dword [esp], 0x1001bec
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x100468a
mov dword [esi + 4], 1
push dword [esp + 0x83c]
lea eax, [esp + 0x1c]
push 0x410
push eax
push 0x1001261
push 0x1001bb8
push 0x1001cf4
call ebx
lea eax, [esp + 0x18]
push eax
call fcn.01009171
lea eax, [esp + 0x1c]
mov dword [esp], 0x1001bec
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x10046d6
mov dword [esi + 0x2d34], 1
push dword [esp + 0x83c]
lea eax, [esp + 0x1c]
push 0x410
push eax
push 0x1001261
push 0x1001ba8
push 0x1001cf4
call ebx
lea eax, [esp + 0x18]
push eax
call fcn.01009171
lea eax, [esp + 0x1c]
mov dword [esp], 0x1001bec
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x100471e
and dword [esi + 0x2d28], eax
push dword [esp + 0x83c]
lea eax, [esp + 0x1c]
push 0x410
push eax
push 0x1001261
push 0x1001b98
push 0x1001cf4
call ebx
lea eax, [esp + 0x18]
push eax
call fcn.01009171
lea eax, [esp + 0x1c]
mov dword [esp], 0x1001bec
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x1004766
and dword [esi + 0x2d2c], eax
push dword [esp + 0x83c]
lea eax, [esi + 0x251c]
push 0x410
push eax
push 0x1001261
push 0x1001b88
push 0x1001cf4
call ebx
push 0x3e8
push dword [esi + 8]
call ebp
lea ecx, [esi + 0x118]
push ecx
push 0
push 0xc
pop ebx
push ebx
push eax
call edi
push 0x3e9
push dword [esi + 8]
call ebp
lea ecx, [esi + 0x518]
push ecx
push 0
push ebx
push eax
call edi
push 0x3ea
push dword [esi + 8]
call ebp
lea ecx, [esi + 0x918]
push ecx
push 0
push ebx
push eax
call edi
push 0x3eb
push dword [esi + 8]
call ebp
lea ecx, [esi + 0xd18]
push ecx
push 0
push ebx
push eax
call edi
push 0x3ec
push dword [esi + 8]
call ebp
lea ecx, [esi + 0x1118]
push ecx
push 0
push ebx
push eax
call edi
push 0x3ed
push dword [esi + 8]
call ebp
lea ecx, [esi + 0x191a]
push ecx
push 0
push ebx
push eax
call edi
push 0x3ee
push dword [esi + 8]
call ebp
push dword [esp + 0x14]
push 0
push ebx
push eax
call edi
xor eax, eax
inc eax
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x828
ret 4