Function at 0x41040c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
push ebx
push esi
push edi
push 0x40
pop ecx
xor eax, eax
xor ebx, ebx
push 0x40
mov byte [ebp - 0x218], bl
lea edi, [ebp - 0x217]
rep stosd dword es:[edi], eax
mov byte [ebp - 0x114], al
pop ecx
push dword [ebp + 8]
lea edi, [ebp - 0x113]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
call fcn.00413732
mov esi, dword [0x42a1ec]
pop ecx
pop ecx
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x114]
push eax
call esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x114]
push eax
call fcn.00410335
mov edi, dword [ebp + 0xc]
add esp, 0x10
cmp eax, ebx
mov dword [ebp - 0x10], eax
je 0x4104ab
mov eax, dword [ebp - 4]
cmp eax, ebx
jbe 0x4104ab
push ebx
mov dword [ebp - 0xc], eax
call fcn.00410c3b
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0x10]
pop ecx
mov dword [edi], eax
push 0x458ee8
lea eax, [ebp - 0x114]
push eax
call esi
mov esi, dword [0x42a1f0]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x114]
push eax
call esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x114]
push eax
call fcn.00410335
add esp, 0x10
test eax, eax
mov dword [ebp - 0x10], eax
je 0x41050a
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x41050a
push ebx
mov dword [ebp - 0xc], eax
call fcn.00410c3b
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0x10]
pop ecx
mov dword [edi], eax
lea eax, [ebp - 0x114]
push eax
push 0x26
call fcn.004140ca
pop ecx
pop ecx
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x114]
push eax
call esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x114]
push eax
call fcn.00410335
add esp, 0x10
test eax, eax
mov dword [ebp - 0x10], eax
je 0x410565
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x410565
push ebx
mov dword [ebp - 0xc], eax
call fcn.00410c3b
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0x10]
pop ecx
mov dword [edi], eax
lea eax, [ebp - 0x114]
push eax
push 0x1c
call fcn.004140ca
pop ecx
pop ecx
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x114]
push eax
call esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x114]
push eax
call fcn.00410335
add esp, 0x10
test eax, eax
mov dword [ebp - 0x10], eax
je 0x4105c0
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x4105c0
push ebx
mov dword [ebp - 0xc], eax
call fcn.00410c3b
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0x10]
pop ecx
mov dword [edi], eax
push 0xf0
lea eax, [ebp - 0x114]
push eax
call dword [0x42a064]
push 0x42a3b0
lea eax, [ebp - 0x114]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x114]
push eax
call esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x114]
push eax
call fcn.00410335
add esp, 0x10
test eax, eax
mov dword [ebp - 0x10], eax
je 0x41062b
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x41062b
push ebx
mov dword [ebp - 0xc], eax
call fcn.00410c3b
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0x10]
pop ecx
mov dword [edi], eax
push 0x458ff0
lea eax, [ebp - 0x114]
push eax
call dword [0x42a1ec]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x114]
push eax
call esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x114]
push eax
call fcn.00410335
mov esi, eax
add esp, 0x10
test esi, esi
je 0x410683
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 4], eax
jbe 0x410683
push ebx
call fcn.00410c3b
mov eax, dword [ebp - 8]
pop ecx
mov ebx, esi
mov dword [edi], eax
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret