Function at 0x4034b0
Capabilities:
Read .ini file
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x43b7cb
mov eax, dword fs:[0]
push eax
sub esp, 0xb3c
mov eax, dword [0x44ccd0]
xor eax, esp
mov dword [esp + 0xb38], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44ccd0]
xor eax, esp
push eax
lea eax, [esp + 0xb50]
mov dword fs:[0], eax
mov ebx, dword [esp + 0xb60]
mov ebp, dword [esp + 0xb64]
push 0x208
lea eax, [esp + 0x548]
push 0
push eax
call fcn.00421360
push 0x208
lea ecx, [esp + 0x34c]
push 0
push ecx
call fcn.00421360
push 0x208
lea edx, [esp + 0x150]
push 0
push edx
call fcn.00421360
xor eax, eax
mov dword [esp + 0x138], eax
mov dword [esp + 0x13c], eax
mov dword [esp + 0x140], eax
mov dword [esp + 0x144], eax
mov dword [esp + 0x148], eax
mov dword [esp + 0x14c], eax
mov dword [esp + 0x150], eax
mov dword [esp + 0x154], eax
lea eax, [esp + 0x568]
push eax
call fcn.00408670
lea ecx, [esp + 0x15c]
push ecx
call fcn.00408630
lea eax, [esp + 0x160]
add esp, 0x2c
dec eax
cmp byte [0x44e3c4], 7
jne 0x4035c4
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4035a0
mov edx, dword [str.LdxCab.ini]
mov ecx, dword [0x43e860]
mov dword [eax], edx
mov edx, dword [0x43e864]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
jmp 0x4035f1
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4035c4
mov ecx, dword [str.LdCab.ini]
mov edx, dword [0x43e854]
mov dword [eax], ecx
mov cx, word [0x43e858]
mov dword [eax + 4], edx
mov dl, byte [0x43e85a]
mov word [eax + 8], cx
mov byte [eax + 0xa], dl
lea eax, [esp + 0x134]
push eax
push 0x208
lea ecx, [esp + 0x344]
push ecx
push 0x43e84c
push str.ExeFile
push str.CabFile
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0xf8
lea edx, [esp + 0x20]
push 0
push edx
call fcn.00421360
lea eax, [esp + 0x120]
push 0x20
push eax
call fcn.004013d0
add esp, 0x14
xor eax, eax
mov cl, byte [esp + eax + 0x114]
mov byte [esp + eax + 0x1c], cl
inc eax
test cl, cl
jne 0x403640
xor eax, eax
mov cl, byte [esp + eax + 0x33c]
mov byte [esp + eax + 0x48], cl
inc eax
test cl, cl
jne 0x403652
lea ecx, [esp + 0x544]
push ecx
lea ecx, [esp + 0x18]
call fcn.00402d40
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0xb60], 0
call fcn.00408f10
mov ecx, dword [eax]
add esp, 8
lea edx, [esp + 0xac]
lea esp, [esp]
mov al, byte [ecx]
mov byte [edx], al
inc ecx
inc edx
test al, al
jne 0x4036a0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4036ca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0xb58], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4036f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x400
lea ecx, [esp + 0x750]
push 0
push ecx
mov dword [esp + 0x11c], 0xf8
call fcn.00421360
push ebx
call fcn.004088c0
lea edx, [esp + 0x50]
push edx
mov esi, eax
push 0
push ebx
mov dword [esp + 0x58], esi
call fcn.00408900
add esp, 0x1c
and esi, 0x800001ff
jns 0x403740
dec esi
or esi, 0xfffffe00
inc esi
mov eax, 0x200
sub eax, esi
lea edi, [esp + eax + 0x74c]
mov ecx, 0x3e
lea esi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
lea edi, [eax + 0xf8]
test ebp, ebp
je 0x403767
mov esi, ebp
jmp 0x403777
push 0x43e830
push ebx
call fcn.00420f7d
add esp, 8
mov esi, eax
test esi, esi
je 0x40379b
push 2
push 0
push 0
push esi
call fcn.00421476
push esi
push edi
lea eax, [esp + 0x764]
push 1
push eax
call fcn.00420b12
add esp, 0x20
test ebp, ebp
jne 0x4037ac
test esi, esi
je 0x4037ac
push esi
call fcn.00420934
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0xb50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xb38]
xor ecx, esp
call fcn.0041f914
add esp, 0xb48
ret