Function at 0x445036
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x584
mov eax, dword [0x4da6bc]
xor eax, esp
mov dword [esp + 0x580], eax
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi + 4]
push edi
push eax
call fcn.00437480
add esp, 4
test byte [0x4e0084], 1
jne 0x4450a8
mov edx, dword [sym.imp.USER32.dll_DefWindowProcW]
xor eax, eax
mov ecx, 1
or dword [0x4e0084], ecx
push 0x4b7da0
mov dword [0x4e0058], eax
mov dword [0x4e0068], eax
mov dword [0x4e006c], eax
mov dword [0x4e0070], eax
mov dword [0x4e0074], edx
mov dword [0x4e0054], 0x4bb398
mov dword [0x4e0078], eax
mov dword [0x4e007c], 0x10
mov dword [0x4e0080], ecx
call fcn.0049f344
add esp, 4
mov eax, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x4b1
push eax
call ebx
mov edx, dword [0x4e0054]
mov ebp, eax
mov eax, dword [edx + 8]
mov ecx, 0x4e0054
call eax
mov edi, eax
mov eax, dword [0x4e0068]
test eax, eax
jne 0x4450e4
call fcn.0049e1e8
mov dword [0x4e0068], eax
test eax, eax
je 0x44512c
sub edi, eax
push 0xd
sub edi, 0xd
push eax
mov dword [eax], 0x42444c7
mov dword [eax + 4], 0x4e0054
mov byte [eax + 8], 0xe9
mov dword [eax + 9], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_FlushInstructionCache]
mov ecx, dword [0x4e0068]
push ecx
push 0xfffffffffffffffc
push ebp
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
je 0x44512c
mov dword [0x4e0074], eax
mov dword [0x4e0058], ebp
mov edx, dword [0x513f44]
push 0
push 0x1c
push edx
call dword [sym.imp.COMCTL32.dll_ImageList_GetIcon]
mov edi, eax
mov eax, dword [0x4e0078]
xor ebp, ebp
cmp eax, ebp
je 0x445151
push eax
call dword [sym.imp.USER32.dll_DestroyIcon]
mov dword [0x4e0078], edi
mov eax, dword [esi + 4]
push 0x4b0
push eax
call ebx
mov dword [esi + 0x54], eax
mov byte [esi + 0x5c], 1
mov edx, dword [0x5144c4]
push str.mui.dll
push edx
lea eax, [esp + 0x18]
mov ecx, 0x5c
push eax
mov word [esp + 0x490], cx
mov dword [esp + 0x494], ebp
mov dword [esp + 0x498], ebp
call fcn.00417280
mov eax, dword [eax]
add esp, 0xc
push eax
lea ecx, [esp + 0x30]
call fcn.004055c0
mov edi, eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4451cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp edi, ebp
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
je 0x4452e9
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov eax, dword [esp + 0x48c]
jmp 0x4451f0
mov ecx, dword [esp + 0x58]
add ecx, 0xffffffd0
cmp cx, 9
ja 0x4452c3
lea ecx, [esp + 0x18]
call fcn.00437c50
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x30]
call fcn.0040cfe0
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x1c]
call fcn.00437b40
mov edi, eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x445246
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test edi, edi
je 0x4452b3
lea ecx, [esp + 0x18]
call fcn.00437ae0
movzx eax, ax
movzx edi, ax
cmp edi, 0xffffffff
je 0x4452b3
push 0x80
lea ecx, [esp + 0x494]
push ecx
push edi
call sub.KERNEL32.dll_VerLanguageNameW
lea eax, [esp + 0x490]
lea edx, [eax + 2]
jmp 0x445280
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x445280
sub eax, edx
sar eax, 1
je 0x4452b3
mov eax, dword [esi + 0x54]
lea edx, [esp + 0x490]
push edx
push 0
push 0x180
push eax
call ebp
mov ecx, dword [esi + 0x54]
push edi
push eax
push 0x19a
push ecx
call ebp
lea ecx, [esp + 0x18]
call fcn.00437af0
mov eax, dword [esp + 0x48c]
mov ecx, dword [esp + 0x488]
test ecx, ecx
je 0x4452e9
test eax, eax
je 0x4452e9
lea edx, [esp + 0x2c]
push edx
push ecx
call ebx
mov dword [esp + 0x48c], eax
test eax, eax
jne 0x4451f0
call fcn.00403350
push eax
push 0xbc614e
push str.Language
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
cmp ebx, 0xbc614e
jne 0x445316
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov ebx, eax
mov eax, dword [esi + 0x54]
xor edi, edi
push edi
push edi
push 0x18b
push eax
call ebp
test eax, eax
jle 0x445364
lea esp, [esp]
mov ecx, dword [esi + 0x54]
push 0
push edi
push 0x199
push ecx
call ebp
push 0
cmp eax, ebx
je 0x445358
mov edx, dword [esi + 0x54]
push 0
push 0x18b
push edx
inc edi
call ebp
cmp edi, eax
jl 0x445330
jmp 0x445364
mov eax, dword [esi + 0x54]
push edi
push 0x186
push eax
call ebp
mov eax, dword [esp + 0x488]
xor ecx, ecx
pop edi
mov dword [esi + 0x58], ecx
pop esi
pop ebp
mov dword [esp + 0x480], ecx
pop ebx
cmp eax, ecx
je 0x44538b
cmp eax, 0xffffffff
je 0x44538b
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x580]
xor ecx, esp
mov eax, 1
call fcn.0049e9d2
add esp, 0x584
ret 0x10