Function at 0x40f400
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a8179
mov eax, dword fs:[0]
push eax
sub esp, 0x190
mov eax, dword [section..data]
xor eax, esp
mov dword [esp + 0x188], eax
push ebx
push esi
push edi
mov eax, dword [section..data]
xor eax, esp
push eax
lea eax, [esp + 0x1a0]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x40], 0
test ebx, ebx
je 0x40f469
mov dword [ebx], 0
xor ecx, ecx
mov dword [esp + 0x88], 7
push 0xffffffffffffffff
push ecx
mov word [esp + 0x7c], cx
lea ecx, [esp + 0x7c]
push eax
mov dword [esp + 0x90], 0
call fcn.0040b790
mov dword [esp + 0x1a8], 0
xor eax, eax
xorps xmm0, xmm0
mov dword [esp + 0xfc], 0
movlpd qword [esp + 0xec], xmm0
movq qword [esp + 0xf4], xmm0
mov dword [esp + 0x114], 7
mov dword [esp + 0x110], 0
mov word [esp + 0x100], ax
mov dword [esp + 0x12c], 7
mov dword [esp + 0x128], eax
mov word [esp + 0x118], ax
mov dword [esp + 0x144], 7
mov dword [esp + 0x140], eax
mov word [esp + 0x130], ax
push 0x4c
push eax
lea eax, [esp + 0x150]
push eax
call fcn.004a729e
xor eax, eax
mov dword [esp + 0x168], 0x46
add esp, 0xc
mov dword [esp + 0x180], 0x46
mov dword [esp + 0x154], 1
mov dword [esp + 0x178], 1
mov dword [esp + 0xa0], 7
mov dword [esp + 0x9c], 0
mov word [esp + 0x8c], ax
lea eax, [esp + 0x8c]
mov byte [esp + 0x1a8], 2
push eax
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esp + 0x98]
push eax
call fcn.0040b790
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x30]
mov edi, eax
mov dword [esp + 0x38], edi
test edi, edi
jne 0x40f638
test ebx, ebx
je 0x40f5c4
mov dword [ebx], 0xb
mov ebx, dword [esp + 0x30]
lea eax, [esp + 0xec]
push eax
mov ecx, ebx
call fcn.00410080
cmp dword [esp + 0xa0], 8
mov esi, dword [0x4b93e4]
jb 0x40f5f3
push dword [esp + 0x8c]
call esi
add esp, 4
xor eax, eax
mov dword [esp + 0xa0], 7
lea ecx, [esp + 0xec]
mov dword [esp + 0x9c], 0
mov word [esp + 0x8c], ax
call fcn.0040d780
cmp dword [esp + 0x88], 8
jb 0x410054
push dword [esp + 0x74]
call esi
jmp 0x410051
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esp + 0xac]
push eax
call fcn.0040b790
lea ecx, [esp + 0xbc]
call fcn.0049fed0
add esp, 0x18
mov byte [esp + 0x1a8], 3
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call fcn.00408eb0
mov dword [esp + 0x18], eax
mov byte [esp + 0x1a8], 4
lea esi, [esp + 0xa4]
cmp dword [esp + 0xb8], 0x10
mov eax, dword [0x4e5720]
cmovae esi, dword [esp + 0xa4]
mov ebx, dword [0x4b9124]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 1
test eax, eax
jne 0x40f6f4
call fcn.0043ee60
test al, al
je 0x40f6eb
push str.AFCFileInfoOpen
push dword [0x4e57b0]
call ebx
mov dword [0x4e5720], eax
jmp 0x40f6f0
mov eax, dword [0x4e5720]
test eax, eax
je 0x40f708
lea ecx, [esp + 0x2c]
push ecx
push esi
push edi
call eax
mov esi, eax
add esp, 0xc
mov dword [esp + 0x28], esi
jmp 0x40f70d
mov esi, 1
mov edi, dword [0x4b93e4]
test esi, esi
jne 0x40f827
jmp 0x40f720
mov eax, dword [0x4e571c]
mov esi, dword [esp + 0x2c]
test eax, eax
jne 0x40f753
call fcn.0043ee60
test al, al
je 0x40f74a
push str.AFCKeyValueRead
push dword [0x4e57b0]
call ebx
mov dword [0x4e571c], eax
jmp 0x40f74f
mov eax, dword [0x4e571c]
test eax, eax
je 0x40f763
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x24]
push ecx
push esi
call eax
add esp, 0xc
cmp dword [esp + 0x20], 0
je 0x40f819
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0xc4]
call fcn.00411810
mov byte [esp + 0x1a8], 5
movzx ecx, byte [0x4e5c14]
push ecx
push eax
push ecx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x28]
call fcn.004119b0
mov byte [esp + 0x1a8], 4
cmp dword [esp + 0xe8], 0x10
jb 0x40f7c2
push dword [esp + 0xd4]
call edi
add esp, 4
cmp dword [esp + 0xd0], 0x10
mov dword [esp + 0xe8], 0xf
mov dword [esp + 0xe4], 0
mov byte [esp + 0xd4], 0
jb 0x40f7f6
push dword [esp + 0xbc]
call edi
add esp, 4
mov dword [esp + 0xd0], 0xf
mov dword [esp + 0xcc], 0
mov byte [esp + 0xbc], 0
jmp 0x40f720
mov ecx, dword [esp + 0x2c]
call fcn.0043f540
jmp 0x40fa22
cmp esi, 1
jne 0x40fa26
cmp dword [esp + 0xb8], 0x10
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0xa4]
cmovae edx, dword [esp + 0xa4]
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0
push eax
mov dword [esp + 0x28], 0
call fcn.0043f4e0
mov esi, eax
add esp, 8
mov dword [esp + 0x28], esi
test esi, esi
jne 0x40fa26
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], esi
mov byte [esp + 0x5c], al
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], eax
mov byte [esp + 0x44], al
mov byte [esp + 0x1a8], 7
cmp dword [esp + 0x20], eax
jbe 0x40f9ff
lea ecx, [ecx]
mov edx, dword [esp + 0x24]
add edx, esi
cmp byte [edx], 0
jne 0x40f8bf
xor ecx, ecx
jmp 0x40f8cd
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f8c4
sub ecx, ebx
push ecx
push edx
lea ecx, [esp + 0x64]
call fcn.0040ab60
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x24]
inc eax
add esi, eax
add edx, esi
cmp byte [edx], 0
jne 0x40f8ee
xor ecx, ecx
jmp 0x40f8fc
mov ecx, edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x40f8f3
sub ecx, ebx
push ecx
push edx
lea ecx, [esp + 0x4c]
call fcn.0040ab60
mov eax, dword [esp + 0x54]
lea ecx, [esp + 0xbc]
inc eax
mov dword [esp + 0xd0], 0xf
push 0xffffffffffffffff
add esi, eax
mov dword [esp + 0xd0], 0
push 0
lea eax, [esp + 0x64]
mov byte [esp + 0xc4], 0
push eax
call fcn.0040aa40
push 0xffffffffffffffff
mov byte [esp + 0x1ac], 8
lea eax, [esp + 0x48]
push 0
push eax
lea ecx, [esp + 0xe0]
mov dword [esp + 0xf4], 0xf
mov dword [esp + 0xf0], 0
mov byte [esp + 0xe0], 0
call fcn.0040aa40
mov byte [esp + 0x1a8], 9
movzx eax, byte [0x4e5c14]
push eax
lea eax, [esp + 0xc0]
push eax
push ecx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x28]
call fcn.004119b0
mov byte [esp + 0x1a8], 7
cmp dword [esp + 0xe8], 0x10
jb 0x40f9c1
push dword [esp + 0xd4]
call edi
add esp, 4
cmp dword [esp + 0xd0], 0x10
mov dword [esp + 0xe8], 0xf
mov dword [esp + 0xe4], 0
mov byte [esp + 0xd4], 0
jb 0x40f9f5
push dword [esp + 0xbc]
call edi
add esp, 4
cmp esi, dword [esp + 0x20]
jb 0x40f8b0
mov ecx, dword [esp + 0x24]
call fcn.00426150
lea ecx, [esp + 0x44]
call fcn.0040b1b0
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1a8], 4
call fcn.0040b1b0
mov esi, dword [esp + 0x28]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x40fa30
mov dword [eax], esi
cmp esi, 1
je 0x40fa3a
cmp esi, 0xb
jne 0x40fa6b
mov ebx, dword [esp + 0x14]
lea esi, [ebx + 0x34]
push esi
call dword [0x4b90bc]
mov ecx, dword [ebx + 0x2c]
test ecx, ecx
je 0x40fa54
call fcn.00479b10
mov ecx, dword [ebx + 0x30]
test ecx, ecx
je 0x40fa60
call fcn.00479b10
push esi
call dword [0x4b90c0]
mov esi, dword [esp + 0x28]
test esi, esi
je 0x40faa6
cmp dword [esp + 0xb8], 0x10
lea eax, [esp + 0xa4]
cmovae eax, dword [esp + 0xa4]
push eax
push esi
push str.FILEINFO_Err:__d___s
push str.CAFCFileSystem::FileInfo
push 0x322
push str.AMDAFCFileSystem.cpp
push 3
call fcn.004438a0
add esp, 0x1c
xor eax, eax
test esi, esi
sete al
sub esp, 0x18
mov ecx, esp
mov dword [esp + 0x2c], esp
mov dword [esp + 0x10c], eax
push 0x4bd1c8
call fcn.0040b350
sub esp, 0x18
mov byte [esp + 0x1d8], 0xa
mov ecx, esp
xor eax, eax
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esp + 0xac]
push eax
call fcn.0040b790
lea ecx, [esp + 0x8c]
mov byte [esp + 0x1d8], 4
call fcn.004118d0
mov esi, eax
add esp, 0x30
lea eax, [esp + 0x74]
cmp eax, esi
je 0x40fb52
cmp dword [esp + 0x88], 8
jb 0x40fb2b
push dword [esp + 0x74]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x88], 7
push esi
lea ecx, [esp + 0x78]
mov dword [esp + 0x88], 0
mov word [esp + 0x78], ax
call fcn.0040acc0
cmp dword [esp + 0x70], 8
jb 0x40fb62
push dword [esp + 0x5c]
call edi
add esp, 4
push 2
push 0xffffffffffffffff
push 0x4bd1c8
lea ecx, [esp + 0x80]
call fcn.00410f70
mov esi, eax
cmp esi, 0xffffffff
jne 0x40fbaa
push 1
push 0x4bd0a4
lea ecx, [esp + 0x120]
call fcn.0040b250
push esi
push 0
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x10c]
call fcn.0040b790
jmp 0x40fc95
push esi
push 0
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x80]
call fcn.00407440
mov ebx, eax
lea eax, [esp + 0x118]
cmp eax, ebx
je 0x40fc0e
cmp dword [esp + 0x12c], 8
jb 0x40fbe1
push dword [esp + 0x118]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x12c], 7
push ebx
lea ecx, [esp + 0x11c]
mov dword [esp + 0x12c], 0
mov word [esp + 0x11c], ax
call fcn.0040acc0
cmp dword [esp + 0x70], 8
jb 0x40fc1e
push dword [esp + 0x5c]
call edi
add esp, 4
push 0xffffffffffffffff
lea eax, [esi + 1]
push eax
lea eax, [esp + 0x64]
push eax
lea ecx, [esp + 0x80]
call fcn.00407440
mov esi, eax
lea eax, [esp + 0x100]
cmp eax, esi
je 0x40fc85
cmp dword [esp + 0x114], 8
jb 0x40fc58
push dword [esp + 0x100]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0x114], 7
push esi
lea ecx, [esp + 0x104]
mov dword [esp + 0x114], 0
mov word [esp + 0x104], ax
call fcn.0040acc0
cmp dword [esp + 0x70], 8
jb 0x40fc95
push dword [esp + 0x5c]
call edi
add esp, 4
push 7
push str.st_size
lea ecx, [esp + 0x4c]
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], 0
mov byte [esp + 0x4c], 0
call fcn.0040ab60
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
call fcn.00410de0
cmp dword [esp + 0x58], 0x10
mov esi, dword [eax]
jb 0x40fcdf
push dword [esp + 0x44]
call edi
add esp, 4
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], 0
mov byte [esp + 0x44], 0
cmp esi, dword [esp + 0x18]
je 0x40fd2c
cmp dword [esi + 0x3c], 0x10
lea eax, [esi + 0x28]
jb 0x40fd05
mov eax, dword [eax]
push eax
call dword [0x4b9414]
add esp, 4
mov dword [esp + 0xec], eax
lea eax, [esp + 0x14]
mov dword [esp + 0xf0], edx
lea ecx, [esp + 0x18]
push esi
push eax
call fcn.00410b20
push 8
push str.st_mtime
lea ecx, [esp + 0x4c]
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], 0
mov byte [esp + 0x4c], 0
call fcn.0040ab60
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
call fcn.00410de0
cmp dword [esp + 0x58], 0x10
mov esi, dword [eax]
jb 0x40fd76
push dword [esp + 0x44]
call edi
add esp, 4
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], 0
mov byte [esp + 0x44], 0
cmp esi, dword [esp + 0x18]
je 0x40fdaf
lea ecx, [esi + 0x28]
lea edx, [esp + 0x148]
call fcn.0040f380
push esi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
call fcn.00410b20
push 0xc
push str.st_birthtime
lea ecx, [esp + 0x4c]
mov dword [esp + 0x60], 0xf
mov dword [esp + 0x5c], 0
mov byte [esp + 0x4c], 0
call fcn.0040ab60
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
call fcn.00410de0
cmp dword [esp + 0x58], 0x10
mov esi, dword [eax]
jb 0x40fdf9
push dword [esp + 0x44]
call edi
add esp, 4
mov dword [esp + 0x58], 0xf
mov dword [esp + 0x54], 0
mov byte [esp + 0x44], 0
cmp esi, dword [esp + 0x18]
je 0x40fe32
lea ecx, [esi + 0x28]
lea edx, [esp + 0x16c]
call fcn.0040f380
push esi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
call fcn.00410b20
push str.st_ifmt
lea ecx, [esp + 0x60]
call fcn.0040ac60
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
call fcn.00410de0
cmp dword [esp + 0x70], 0x10
mov esi, dword [eax]
jb 0x40fe65
push dword [esp + 0x5c]
call edi
add esp, 4
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], 0
mov byte [esp + 0x5c], 0
cmp esi, dword [esp + 0x18]
je 0x40ff07
push 0xffffffffffffffff
push 0
lea eax, [esi + 0x28]
mov dword [esp + 0x60], 0xf
push eax
lea ecx, [esp + 0x50]
mov dword [esp + 0x60], 0
mov byte [esp + 0x50], 0
call fcn.0040aa40
push 0
push str.S_IFDIR
lea ecx, [esp + 0x4c]
call fcn.004106c0
xor ecx, ecx
cmp eax, 0xffffffff
push 0
setne cl
mov dword [esp + 0x100], ecx
lea ecx, [esp + 0x48]
push str.S_IFLNK
call fcn.004106c0
xor ecx, ecx
cmp eax, 0xffffffff
push esi
setne cl
lea eax, [esp + 0x18]
mov dword [esp + 0xfc], ecx
lea ecx, [esp + 0x1c]
push eax
call fcn.00410b20
cmp dword [esp + 0x58], 0x10
jb 0x40ff07
push dword [esp + 0x44]
call edi
add esp, 4
push str.LinkTarget
lea ecx, [esp + 0x60]
call fcn.0040ac60
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
call fcn.00410de0
cmp dword [esp + 0x70], 0x10
mov esi, dword [eax]
jb 0x40ff3a
push dword [esp + 0x5c]
call edi
add esp, 4
mov dword [esp + 0x70], 0xf
mov dword [esp + 0x6c], 0
mov byte [esp + 0x5c], 0
cmp esi, dword [esp + 0x18]
je 0x40ff9a
cmp dword [esi + 0x3c], 0x10
lea edx, [esi + 0x28]
jb 0x40ff60
mov edx, dword [edx]
push 0xffffffffffffffff
lea ecx, [esp + 0x48]
call fcn.004a0000
add esp, 4
lea ecx, [esp + 0x130]
push eax
call fcn.0040a8f0
cmp dword [esp + 0x58], 8
jb 0x40ff8b
push dword [esp + 0x44]
call edi
add esp, 4
push esi
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x20]
call fcn.00410b20
mov ebx, dword [esp + 0x30]
lea eax, [esp + 0xec]
push eax
mov ecx, ebx
call fcn.00410080
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x18]
push eax
push dword [eax]
lea eax, [esp + 0x1c]
push eax
call fcn.00411210
push dword [esp + 0x18]
call edi
add esp, 4
cmp dword [esp + 0xb8], 0x10
jb 0x40ffe1
push dword [esp + 0xa4]
call edi
add esp, 4
cmp dword [esp + 0xa0], 8
mov dword [esp + 0xb8], 0xf
mov dword [esp + 0xb4], 0
mov byte [esp + 0xa4], 0
jb 0x410015
push dword [esp + 0x8c]
call edi
add esp, 4
xor eax, eax
mov dword [esp + 0xa0], 7
lea ecx, [esp + 0xec]
mov dword [esp + 0x9c], 0
mov word [esp + 0x8c], ax
call fcn.0040d780
cmp dword [esp + 0x88], 8
jb 0x410054
push dword [esp + 0x74]
call edi
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x1a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x188]
xor ecx, esp
call fcn.004a6303
mov esp, ebp
pop ebp
ret 0xc