Function at 0x401410
Capabilities:
Get file system object information
Resolve function by parsing pe exports

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x458751
push eax
mov dword fs:[0], esp
sub esp, 0x4d4
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x4f4]
cmp byte [edi], 0
jne 0x401461
call fcn.004561ef
mov ecx, dword [0x468130]
mov eax, dword [eax + 8]
push 0x30
push ecx
push 0x28e5
push 0
push eax
call fcn.004342b0
add esp, 0x14
jmp 0x401aca
mov esi, dword [0x45b2b4]
push str._dde
push edi
call esi
test eax, eax
jne 0x40147d
mov eax, 1
jmp 0x401acc
push str._kill
push edi
call esi
test eax, eax
jne 0x401495
push eax
call dword [0x45b580]
jmp 0x401aca
xor ebp, ebp
lea edx, [esp + 0x27c]
push ebp
push edx
push 0x105
push edi
call dword [0x45b31c]
lea eax, [esp + 0x27c]
push ebp
push eax
call fcn.00437b3c
add esp, 8
test eax, eax
jne 0x4014ec
lea ecx, [esp + 0x27c]
push 2
push ecx
call fcn.00437b3c
lea edx, [esp + 0x284]
push eax
push edx
push ebp
call fcn.00408460
add esp, 0x14
mov eax, 1
jmp 0x401acc
mov ebx, 0x45b670
push 0x80
mov dword [esp + 0x30], ebx
call fcn.00447e47
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], 0x1f
mov dword [esp + 0x44], 0x40
lea eax, [esp + 0x70]
lea ecx, [esp + 0x50]
mov esi, 1
push eax
push ecx
mov dword [esp + 0x4f8], ebp
mov dword [esp + 0x48], esi
mov dword [esp + 0x58], edi
call fcn.00401af0
add esp, 0xc
test eax, eax
je 0x4015f4
lea edx, [esp + 0x6c]
push edx
call fcn.00433ff0
mov ebx, eax
add esp, 4
cmp ebx, ebp
je 0x4015d0
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
lea ecx, [eax + 1]
cmp edx, ecx
jne 0x4015ba
mov edx, dword [esp + 0x40]
add edx, eax
lea eax, [edx*4 + 4]
push eax
call fcn.00447e47
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x34]
mov ebp, eax
lea ecx, [ecx*4 + 4]
mov edi, ebp
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x34]
push eax
call fcn.00447e70
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x40]
add esp, 8
add eax, ecx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x38], eax
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov dword [edx + eax*4], ebx
mov eax, dword [esp + 0x34]
inc eax
xor ebp, ebp
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x6c]
lea edx, [esp + 0x4c]
push ecx
push edx
call fcn.00401af0
add esp, 8
test eax, eax
jne 0x401545
mov ebx, 0x45b670
mov esi, 1
push 0x80
mov dword [esp + 0x14], ebx
call fcn.00447e47
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], 0x1f
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], 0x40
push 0x80
mov byte [esp + 0x4f4], 1
mov dword [esp + 0x58], ebx
call fcn.00447e47
mov ebx, eax
add esp, 8
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebp
mov dword [esp + 0x5c], 0x1f
mov dword [esp + 0x64], 0x40
mov eax, dword [esp + 0x34]
xor edi, edi
cmp eax, ebp
mov byte [esp + 0x4ec], 2
mov dword [esp + 0x20], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x48], edi
jle 0x4018a9
cmp edi, eax
jge 0x401684
test edi, edi
jl 0x401684
mov eax, dword [esp + 0x30]
mov eax, dword [eax + edi*4]
jmp 0x401686
xor eax, eax
mov esi, dword [0x45b30c]
lea ecx, [esp + 0x174]
push eax
push ecx
call esi
lea edx, [esp + 0x174]
push edx
call dword [0x45b310]
cmp eax, 3
jle 0x4016bc
lea eax, [esp + 0x174]
push 0
push eax
call fcn.004340c0
add esp, 8
lea ecx, [esp + 0x174]
push 0
push ecx
lea edx, [esp + 0x17c]
push 0x105
push edx
call dword [0x45b31c]
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x174]
push eax
push ecx
call fcn.004345d0
add esp, 8
test eax, eax
jne 0x401701
lea edx, [esp + 0x174]
lea eax, [esp + 0x6c]
push edx
push eax
call esi
lea ecx, [esp + 0x6c]
push ecx
mov ecx, 0x46dba8
call fcn.00420af0
test eax, eax
jne 0x40177d
lea edx, [esp + 0x6c]
push 0x2a
push edx
call fcn.004379cc
add esp, 8
test eax, eax
jne 0x401803
lea eax, [esp + 0x6c]
push 0x3f
push eax
call fcn.00437a80
add esp, 8
test eax, eax
jne 0x401803
push 0x800
lea ecx, [esp + 0x388]
push 0x160
push ecx
lea edx, [esp + 0x78]
push eax
push edx
call dword [0x45b344]
test eax, eax
je 0x4017ec
mov eax, dword [esp + 0x38c]
shr eax, 0x1d
and eax, 1
test eax, eax
je 0x401803
lea ecx, [esp + 0x6c]
push ecx
call fcn.00433ff0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x401894
mov eax, dword [esp + 0x5c]
lea esi, [eax + 1]
cmp ebp, esi
jne 0x4017da
lea edx, [eax*4 + 0x104]
push edx
call fcn.00447e47
mov ebp, eax
mov eax, dword [esp + 0x58]
mov ecx, esi
mov esi, eax
mov edi, ebp
push eax
rep movsd dword es:[edi], dword [esi]
call fcn.00447e70
mov eax, dword [esp + 0x64]
mov edi, dword [esp + 0x50]
add esp, 8
add eax, 0x40
mov dword [esp + 0x54], ebp
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x54]
inc ebp
mov dword [esp + 0x58], ebp
mov dword [eax + ebp*4 - 4], ebx
jmp 0x401894
lea eax, [esp + 0x6c]
push 0
push eax
call fcn.00437b3c
add esp, 8
test eax, eax
jne 0x401894
lea ecx, [esp + 0x6c]
push ecx
call fcn.00433ff0
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x401894
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
lea edx, [eax + 1]
cmp ecx, edx
jne 0x401880
mov ecx, dword [esp + 0x24]
add ecx, eax
lea edx, [ecx*4 + 4]
push edx
call fcn.00447e47
mov ebp, eax
mov eax, dword [esp + 0x20]
mov esi, dword [esp + 0x18]
mov edi, ebp
lea ecx, [eax*4 + 4]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x18]
push eax
call fcn.00447e70
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x50]
add esp, 8
add eax, ecx
mov dword [esp + 0x14], ebp
mov ebp, dword [esp + 0x58]
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov dword [edx + eax*4], ebx
mov eax, dword [esp + 0x18]
inc eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x34]
inc edi
cmp edi, eax
mov dword [esp + 0x48], edi
jl 0x401677
mov ebx, dword [esp + 0x54]
mov edx, dword [esp + 0x18]
test edx, edx
je 0x4019e4
xor esi, esi
test edx, edx
jle 0x4018fa
cmp esi, edx
mov ecx, dword [esp + 0x14]
jge 0x4018cc
test esi, esi
jl 0x4018cc
mov eax, dword [ecx + esi*4]
jmp 0x4018ce
xor eax, eax
cmp esi, edx
jge 0x4018db
test esi, esi
jl 0x4018db
mov edi, dword [ecx + esi*4]
jmp 0x4018dd
xor edi, edi
push 2
push eax
call fcn.00437b3c
push eax
push edi
push 0
call fcn.00408460
mov edx, dword [esp + 0x2c]
add esp, 0x14
inc esi
cmp esi, edx
jl 0x4018bd
xor esi, esi
mov byte [esp + 0x4ec], 1
test ebp, ebp
jle 0x401929
cmp esi, ebp
mov edi, ebx
jge 0x401916
test esi, esi
jl 0x401916
mov eax, dword [edi]
jmp 0x401918
xor eax, eax
push eax
call fcn.00447e70
add esp, 4
inc esi
add edi, 4
cmp esi, ebp
jl 0x40190e
push ebx
call fcn.00447e70
mov eax, dword [esp + 0x24]
add esp, 4
mov edi, 0x45b670
mov byte [esp + 0x4ec], 0
test eax, eax
mov dword [esp + 0x10], edi
je 0x40197a
mov eax, dword [esp + 0x18]
xor esi, esi
test eax, eax
jle 0x40197a
cmp esi, eax
jge 0x401966
test esi, esi
jl 0x401966
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + esi*4]
jmp 0x401968
xor eax, eax
push eax
call fcn.00447e70
mov eax, dword [esp + 0x1c]
add esp, 4
inc esi
cmp esi, eax
jl 0x401959
mov edx, dword [esp + 0x14]
push edx
call fcn.00447e70
mov eax, dword [esp + 0x40]
add esp, 4
test eax, eax
mov dword [esp + 0x4ec], 0xffffffff
mov dword [esp + 0x2c], edi
je 0x4019cd
mov eax, dword [esp + 0x34]
xor esi, esi
test eax, eax
jle 0x4019cd
cmp esi, eax
jge 0x4019b9
test esi, esi
jl 0x4019b9
mov eax, dword [esp + 0x30]
mov eax, dword [eax + esi*4]
jmp 0x4019bb
xor eax, eax
push eax
call fcn.00447e70
mov eax, dword [esp + 0x38]
add esp, 4
inc esi
cmp esi, eax
jl 0x4019ac
mov ecx, dword [esp + 0x30]
push ecx
call fcn.00447e70
add esp, 4
mov eax, 1
jmp 0x401acc
mov edi, dword [esp + 0x4f4]
push edi
call dword [0x45b310]
add eax, 0x50
push eax
call fcn.00447e47
add esp, 4
mov esi, eax
call fcn.004561ef
mov eax, dword [eax + 8]
push edi
push 0x28e4
push eax
push esi
call fcn.00434580
mov edx, dword [0x468130]
add esp, 0x10
push 0x30
push edx
push esi
push 0
call dword [0x45b584]
push esi
call fcn.00447e70
add esp, 4
xor esi, esi
test ebp, ebp
mov byte [esp + 0x4ec], 1
jle 0x401a62
cmp esi, ebp
mov edi, ebx
jge 0x401a4f
test esi, esi
jl 0x401a4f
mov eax, dword [edi]
jmp 0x401a51
xor eax, eax
push eax
call fcn.00447e70
add esp, 4
inc esi
add edi, 4
cmp esi, ebp
jl 0x401a47
push ebx
call fcn.00447e70
mov eax, dword [esp + 0x24]
add esp, 4
test eax, eax
mov byte [esp + 0x4ec], 0
mov dword [esp + 0x10], 0x45b670
je 0x401aa9
mov eax, dword [esp + 0x18]
xor esi, esi
test eax, eax
jle 0x401aa9
push esi
lea ecx, [esp + 0x14]
call fcn.004212f0
push eax
call fcn.00447e70
mov eax, dword [esp + 0x1c]
add esp, 4
inc esi
cmp esi, eax
jl 0x401a8d
mov eax, dword [esp + 0x14]
push eax
call fcn.00447e70
add esp, 4
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4ec], 0xffffffff
call fcn.00401ba0
xor eax, eax
mov ecx, dword [esp + 0x4e4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x4e0
ret