Function at 0x4034d0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4252ab
push eax
mov dword fs:[0], esp
sub esp, 0x80c
mov ecx, 0x41
xor eax, eax
push ebx
push esi
push edi
lea edi, [esp + 0x210]
rep stosd dword es:[edi], eax
lea eax, [esp + 0x210]
push eax
call fcn.00404f00
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x318]
rep stosd dword es:[edi], eax
mov ecx, 0x41
lea edi, [esp + 0x110]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0x110]
push ecx
call fcn.00404ec0
mov al, byte [0x433190]
add esp, 8
cmp al, 7
lea edx, [esp + 0x10c]
mov edi, str.LdxCab.ini
je 0x403553
mov edi, str.LdCab.ini
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push ebp
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x110]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x31c]
push 0x104
push ecx
push 0x4330b8
push str.ExeFile
push str.CabFile
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov ecx, 0x3e
xor eax, eax
lea edi, [esp + 0x18]
lea edx, [esp + 0x18]
rep stosd dword es:[edi], eax
mov edi, str.LeaderParam
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x44]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x318]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x214]
push ecx
lea ecx, [esp + 0x14]
call fcn.0041d17c
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x82c], 0
call fcn.00405830
mov eax, dword [eax]
or ecx, 0xffffffff
mov edi, eax
xor eax, eax
add esp, 8
lea edx, [esp + 0xa8]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call fcn.0041d10e
lea ecx, [esp + 0x10]
mov dword [esp + 0x824], 0xffffffff
call fcn.0041d10e
mov ebp, dword [esp + 0x82c]
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0x41c]
rep stosd dword es:[edi], eax
push ebp
mov dword [esp + 0x110], pe_nt_image_headers32
call fcn.004057f0
mov ecx, eax
and ecx, 0x800001ff
jns 0x4036a9
dec ecx
or ecx, 0xfffffe00
inc ecx
lea edx, [esp + 0x40]
mov ebx, 0x200
push edx
push 0
push ebp
sub ebx, ecx
mov dword [esp + 0x48], eax
call fcn.004053d0
lea edi, [esp + ebx + 0x42c]
mov ecx, 0x3e
lea esi, [esp + 0x28]
push 0x42f15c
rep movsd dword es:[edi], dword [esi]
push ebp
call fcn.0040b7a0
add esp, 0x18
mov esi, eax
test esi, esi
pop ebp
je 0x403712
push 2
push 0
push esi
call fcn.0040bbbf
add ebx, 0xf8
push esi
push ebx
lea eax, [esp + 0x42c]
push 1
push eax
call fcn.0040b7b3
push esi
call fcn.0040b6f2
add esp, 0x20
mov ecx, dword [esp + 0x818]
pop edi
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x818
ret