Function at 0x471090
Capabilities:
Gather total-commander information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5da3de
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x65eb68]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x30], 0
mov dword [esi], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
push esi
push 0x5f26e0
push 0x5f7360
push SysReAllocStringLen
mov dword [ebp - 4], eax
mov dword [ebp - 0x30], 1
call fcn.0047de30
mov edi, dword [esi + 0x10]
add esp, 0x10
mov ebx, SysReAllocString
test edi, edi
je 0x471220
lea eax, [edi - 1]
cmp edi, eax
jbe 0x471350
mov ecx, dword [esi + 0x14]
mov edx, esi
mov dword [ebp - 0x3c], ecx
cmp ecx, 8
jb 0x47112d
mov edx, dword [esi]
cmp word [edx + eax*2], 0x5c
je 0x471220
cmp edi, ecx
jae 0x471157
lea eax, [edi + 1]
mov dword [esi + 0x10], eax
mov eax, esi
cmp ecx, 8
jb 0x47114b
mov eax, dword [esi]
mov dword [eax + edi*2], 0x5c
jmp 0x471220
mov eax, ebx
sub eax, edi
cmp eax, 1
jb 0x47134b
lea ebx, [edi + 1]
or ebx, 7
cmp ebx, 0x7ffffffe
jbe 0x471179
mov ebx, SysReAllocString
jmp 0x471197
mov edx, ecx
mov eax, SysReAllocString
shr edx, 1
sub eax, edx
cmp ecx, eax
jbe 0x47118f
mov ebx, SysReAllocString
jmp 0x471197
lea eax, [edx + ecx]
cmp ebx, eax
cmovb ebx, eax
lea eax, [ebx + 1]
mov ecx, esi
push eax
call fcn.00404963
lea ecx, [edi + 1]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ecx
lea ecx, [edi + edi]
mov edi, dword [ebp - 0x3c]
mov dword [ebp - 0x34], eax
lea ebx, [eax + ecx]
mov dword [ebp - 0x40], ebx
push ecx
cmp edi, 8
jb 0x471206
mov ebx, dword [esi]
push ebx
push eax
call fcn.0059d630
mov eax, dword [ebp - 0x40]
lea edi, [edi*2 + 2]
add esp, 0xc
mov dword [eax], 0x5c
cmp edi, 0x1000
jb 0x4711fa
mov ecx, dword [ebx - 4]
add edi, 0x23
sub ebx, ecx
lea eax, [ebx - 4]
cmp eax, 0x1f
ja 0x471355
mov ebx, ecx
push edi
push ebx
call fcn.00599f8e
add esp, 8
jmp 0x471216
push esi
push eax
call fcn.0059d630
add esp, 0xc
mov dword [ebx], 0x5c
mov eax, dword [ebp - 0x34]
mov ebx, SysReAllocString
mov dword [esi], eax
mov ecx, dword [esi + 0x10]
mov eax, ebx
sub eax, ecx
cmp eax, 0xc
jb 0x47134b
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x47123a
mov eax, dword [esi]
push 0xc
push 0x5f73a4
push ecx
push eax
push esi
push dword [ebp - 0x38]
lea ecx, [ebp - 0x28]
call fcn.0042947e
mov dword [ebp - 0x30], 3
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 1
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00471bd0
mov edx, dword [ebp - 0x14]
add esp, 4
mov byte [ebp - 0x29], al
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x4712b5
mov ecx, dword [ebp - 0x28]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4712a8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x471355
push edx
push ecx
call fcn.00599f8e
mov al, byte [ebp - 0x29]
add esp, 8
test al, al
je 0x4712c2
push 0xc
push 0x5f73a4
jmp 0x471326
mov ecx, dword [esi + 0x10]
sub ebx, ecx
cmp ebx, 0xe
jb 0x47134b
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x4712d6
mov eax, dword [esi]
push 0xe
push 0x5f73c0
push ecx
push eax
push esi
push dword [ebp - 0x38]
lea ecx, [ebp - 0x28]
call fcn.0042947e
mov dword [ebp - 0x30], 7
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 2
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00471bd0
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
mov bl, al
call fcn.00404866
test bl, bl
je 0x47132d
push 0xe
push 0x5f73c0
mov ecx, esi
call fcn.0040656e
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00599f9c
mov esp, ebp
pop ebp
ret
call fcn.00404949
call fcn.00404954
call fcn.005a1930
int3