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

Disassembly:
push 0xffffffffffffffff
push 0x43ae6b
mov eax, dword fs:[0]
push eax
sub esp, 0x830
mov eax, dword [0x44bcd0]
xor eax, esp
mov dword [esp + 0x82c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x44bcd0]
xor eax, esp
push eax
lea eax, [esp + 0x844]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x854]
mov ebp, dword [esp + 0x858]
push 0x104
lea eax, [esp + 0x340]
push 0
push eax
call fcn.00420a40
push 0x104
lea ecx, [esp + 0x248]
push 0
push ecx
call fcn.00420a40
push 0x104
lea edx, [esp + 0x150]
push 0
push edx
call fcn.00420a40
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 + 0x360]
push eax
call fcn.00408980
lea ecx, [esp + 0x15c]
push ecx
call fcn.00408940
lea eax, [esp + 0x160]
add esp, 0x2c
dec eax
cmp byte [0x44d3c4], 7
jne 0x403534
lea ecx, [ecx]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x403510
mov edx, dword [str.LdxCab.ini]
mov ecx, dword [0x43d854]
mov dword [eax], edx
mov edx, dword [0x43d858]
mov dword [eax + 4], ecx
mov dword [eax + 8], edx
jmp 0x403561
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x403534
mov ecx, dword [str.LdCab.ini]
mov edx, dword [0x43d848]
mov dword [eax], ecx
mov cx, word [0x43d84c]
mov dword [eax + 4], edx
mov dl, byte [0x43d84e]
mov word [eax + 8], cx
mov byte [eax + 0xa], dl
lea eax, [esp + 0x134]
push eax
push 0x104
lea ecx, [esp + 0x240]
push ecx
push 0x43d840
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.00420a40
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 0x4035b0
xor eax, eax
mov cl, byte [esp + eax + 0x238]
mov byte [esp + eax + 0x48], cl
inc eax
test cl, cl
jne 0x4035c2
lea ecx, [esp + 0x33c]
push ecx
lea ecx, [esp + 0x18]
call fcn.00402d40
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x854], 0
call fcn.00409220
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 0x403610
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 0x40363a
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 + 0x84c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403665
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x400
lea ecx, [esp + 0x444]
push 0
push ecx
mov dword [esp + 0x11c], 0xf8
call fcn.00420a40
push ebx
call fcn.00408bd0
lea edx, [esp + 0x50]
push edx
mov esi, eax
push 0
push ebx
mov dword [esp + 0x58], esi
call fcn.00408c10
add esp, 0x1c
and esi, 0x800001ff
jns 0x4036b0
dec esi
or esi, 0xfffffe00
inc esi
mov eax, 0x200
sub eax, esi
lea edi, [esp + eax + 0x440]
mov ecx, 0x3e
lea esi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
lea edi, [eax + 0xf8]
test ebp, ebp
je 0x4036d7
mov esi, ebp
jmp 0x4036e7
push 0x43d824
push ebx
call fcn.0042065d
add esp, 8
mov esi, eax
test esi, esi
je 0x40370b
push 2
push 0
push 0
push esi
call fcn.00420b56
push esi
push edi
lea eax, [esp + 0x458]
push 1
push eax
call fcn.004201f2
add esp, 0x20
test ebp, ebp
jne 0x40371c
test esi, esi
je 0x40371c
push esi
call fcn.00420014
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x844]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x82c]
xor ecx, esp
call fcn.0041eff4
add esp, 0x83c
ret