Function at 0x40ec00
Capabilities:
Check if file exists
Get file attributes
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49b30d
mov eax, dword fs:[0]
push eax
sub esp, 0x16c
mov eax, dword [0x4cf06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push eax
push ecx
push edx
mov ecx, esi
call fcn.0040e880
test eax, eax
je 0x41022e
push 0
call fcn.00486e21
push 0x8000
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x170], 0
call fcn.0048714e
add esp, 8
mov dword [ebp - 0x178], eax
test eax, eax
je 0x40ec92
xor ecx, ecx
mov dword [ebp - 0x174], 0x8000
mov word [eax], cx
mov word [eax + 0x7ffe], cx
push 0x10002
mov dword [ebp - 4], 0
call fcn.0047d522
xor ecx, ecx
mov dword [ebp - 0x158], eax
add esp, 4
mov dword [ebp - 0x154], 0xffffffff
mov word [eax], cx
mov byte [ebp - 4], 1
lea eax, [esi + 0x1bc]
mov dword [ebp - 0x108], eax
lea edx, [esi + 0x1c8]
lea eax, [esi + 0x1c0]
mov byte [ebp - 0x14], cl
mov dword [ebp - 0x104], eax
lea ecx, [esi + 0x1cc]
lea eax, [esi + 0x1d0]
mov dword [ebp - 0xf8], ecx
mov dword [ebp - 0xf4], eax
lea edi, [esi + 0x1c4]
lea eax, [esi + 0x1d4]
mov dword [ecx], 0
mov dword [ebp - 0xf0], eax
mov ecx, esi
lea eax, [esi + 0x1d8]
mov dword [ebp - 0x12c], 0x4aed10
mov dword [ebp - 0xec], eax
lea eax, [esi + 0x1dc]
push 0x4aed84
mov dword [ebp - 0x128], 0x4aed1c
mov dword [ebp - 0x124], 0x4aed28
mov dword [ebp - 0x120], 0x4aed34
mov dword [ebp - 0x11c], 0x4aed44
mov dword [ebp - 0x118], 0x4ac44c
mov dword [ebp - 0x114], 0x4aed54
mov dword [ebp - 0x110], 0x4aed64
mov dword [ebp - 0x10c], 0x4aed74
mov dword [ebp - 0x1c], 0x1000000
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x100], edi
mov dword [ebp - 0xfc], edx
mov dword [ebp - 0xe8], eax
mov dword [esi + 0x1bc], 0
mov dword [esi + 0x1c0], 0
mov dword [edi], 0
mov dword [edx], 0
mov dword [esi + 0x1ec], 0
mov dword [esi + 0x1f0], 0
mov dword [esi + 0x1f4], 0
mov dword [esi + 0x1f8], 0
call fcn.0045e120
push 2
push 0x4aed8c
mov ecx, esi
call fcn.0045e420
push 0x80
push 0x4aed98
mov ecx, esi
mov dword [esi + 0x1c], eax
call fcn.0045e420
push 5
push 0x4aeda0
mov ecx, esi
mov dword [esi + 0x20], eax
call fcn.0045e420
push 8
push 0x4aedac
mov ecx, esi
mov dword [esi + 0x24], eax
call fcn.0045e420
cmp eax, 1
jle 0x40ee47
cmp eax, 0xf4240
jl 0x40ee47
mov ecx, 0xf4240
jmp 0x40ee51
mov ecx, 1
cmp eax, ecx
cmovg ecx, eax
push 1
mov dword [esi + 0x2c], ecx
mov ecx, esi
push 0x4aedb8
call fcn.0045e420
cmp eax, 1
jle 0x40ee75
cmp eax, 0xfff
jl 0x40ee75
mov ecx, 0xfff
jmp 0x40ee7f
mov ecx, 1
cmp eax, ecx
cmovg ecx, eax
mov edx, dword [esi + 0x2c]
mov dword [esi + 0x28], ecx
call fcn.0040e310
cmp dword [esi + 0x20], eax
jge 0x40ee92
mov dword [esi + 0x20], eax
push 0x100
push str.max_openfiles
mov ecx, esi
call fcn.0045e420
push 0
push str.max_attrsize2
mov ecx, esi
mov dword [esi + 0x30], eax
call fcn.0045e420
mov dword [esi + 0x34], eax
test eax, eax
jg 0x40eed8
push 0
push str.max_attrsize
mov ecx, esi
call fcn.0045e420
cdq
and edx, 0xfffff
add eax, edx
sar eax, 0x14
mov dword [esi + 0x34], eax
cmp eax, 0x80
jge 0x40eee6
mov dword [esi + 0x34], 0x80
push 0
push str.max_dirsize2
mov ecx, esi
call fcn.0045e420
mov dword [esi + 0x38], eax
test eax, eax
jg 0x40ef18
push 0
push str.max_dirsize
mov ecx, esi
call fcn.0045e420
cdq
and edx, 0xfffff
add eax, edx
sar eax, 0x14
mov dword [esi + 0x38], eax
cmp eax, 0x80
jge 0x40ef26
mov dword [esi + 0x38], 0x80
push 0x10
push str.max_movesize
mov ecx, esi
call fcn.0045e420
mov dword [esi + 0x3c], eax
cmp eax, 8
jge 0x40ef43
mov dword [esi + 0x3c], 8
push 0x10
push str.max_digestsize
mov ecx, esi
call fcn.0045e420
mov dword [esi + 0x40], eax
cmp eax, 8
jge 0x40ef60
mov dword [esi + 0x40], 8
push 0x4000
push str.max_clustersize
mov ecx, esi
call fcn.0045e420
mov dword [esi + 0x44], eax
and eax, 0x800001ff
jns 0x40ef84
dec eax
or eax, 0xfffffe00
add eax, 1
je 0x40ef8d
mov dword [esi + 0x44], 0x4000
push 0x200
push str.min_clustersize
mov ecx, esi
call fcn.0045e420
mov dword [esi + 0x48], eax
and eax, 0x800001ff
jns 0x40efb1
dec eax
or eax, 0xfffffe00
add eax, 1
je 0x40efba
mov dword [esi + 0x48], 0x200
push 1
push str.write_truncate
mov ecx, esi
call fcn.0045e420
push 0
push 0x40
push 0x4aee60
mov ecx, esi
mov dword [esi + 0x4c], eax
call fcn.0045e4e0
push 0
push 0x80
push 0x4aee78
mov ecx, esi
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], edx
call fcn.0045e4e0
push 0
push 0
push 0x4aee8c
mov ecx, esi
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], edx
call fcn.0045e4e0
push 0
push 0x4aee9c
mov ecx, esi
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], edx
call fcn.0045e420
push 0
push 0x4aeeac
mov ecx, esi
mov dword [esi + 0x68], eax
call fcn.0045e420
push 0xa
push 0x4aeebc
mov ecx, esi
mov dword [esi + 0x6c], eax
call fcn.0045e420
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], eax
test eax, eax
js 0x40f051
cmp eax, 0x3e8
jle 0x40f05f
mov dword [esi + 0x70], 0xa
mov dword [esi + 0x74], 0xa
push 1
push 0x4aeec8
mov ecx, esi
call fcn.0045e420
push 0
push 0
push str.default_copy_flags
mov ecx, esi
mov dword [esi + 0x78], eax
call fcn.0045e4e0
push 0
push 0
push str.default_copy_unflags
mov ecx, esi
mov dword [esi + 0x80], eax
mov dword [esi + 0x84], edx
call fcn.0045e4e0
push 1
push 0x4aef08
mov ecx, esi
mov dword [esi + 0x88], eax
mov dword [esi + 0x8c], edx
call fcn.0045e420
push 0
push 0x4aef18
mov ecx, esi
mov dword [esi + 0x90], eax
call fcn.0045e420
push 1
push 0x4aef24
mov ecx, esi
mov dword [esi + 0x94], eax
call fcn.0045e420
push 0
push 0x4aef34
mov ecx, esi
mov dword [esi + 0x98], eax
call fcn.0045e420
push 0
push 0x4aef44
mov ecx, esi
mov dword [esi + 0x9c], eax
call fcn.0045e420
push 0
push 0x4aef50
mov ecx, esi
mov dword [esi + 0xa0], eax
call fcn.0045e420
push 0
push str.acl_reset
mov ecx, esi
mov dword [esi + 0xa4], eax
call fcn.0045e420
push 0
push 0x4aef68
mov ecx, esi
mov dword [esi + 0xa8], eax
call fcn.0045e420
push 1
push 0x4aef74
mov ecx, esi
mov dword [esi + 0x13c], eax
call fcn.0045e420
push 1
push 0x4aef80
mov ecx, esi
mov dword [esi + 0x140], eax
call fcn.0045e420
push 0
push 0x4aef90
mov ecx, esi
mov dword [esi + 0x144], eax
mov dword [esi + 0x148], 3
call fcn.0045e420
push 0
push 0x4aef9c
mov ecx, esi
mov dword [esi + 0x14c], eax
call fcn.0045e420
mov dword [esi + 0x150], eax
push 0
push str.debug_flags
mov ecx, esi
call fcn.0045e420
push 0
push str.debug_main_flags
mov ecx, esi
mov dword [esi + 0x154], eax
call fcn.0045e420
push 0
push 0x4aefcc
mov ecx, esi
mov dword [esi + 0x158], eax
call fcn.0045e420
push 1
push 0x4aefd8
mov ecx, esi
mov dword [esi + 0x15c], eax
call fcn.0045e420
xorps xmm0, xmm0
mov dword [esi + 0x160], eax
push 0
movups xmmword [esi + 0x198], xmm0
push 0x4aefec
mov ecx, esi
movups xmmword [esi + 0x1a8], xmm0
call fcn.0045e420
push 0xffffffffffffffff
push 0x4aeffc
mov ecx, esi
mov dword [esi + 0x1b8], eax
call fcn.0045e420
push 5
push str.wait_lv
mov ecx, esi
mov dword [esi + 0xac], eax
call fcn.0045e420
push 1
push str.is_autoslow_io2
mov ecx, esi
mov dword [esi + 0xb0], eax
call fcn.0045e420
push 0xb
push 0x4af01c
mov ecx, esi
mov dword [esi + 0xb8], eax
call fcn.0045e420
push 0xffffffffffffffff
push str.priority
mov ecx, esi
mov dword [esi + 0xb4], eax
call fcn.0045e420
push 0
push 0x4af034
mov ecx, esi
mov dword [esi + 0xbc], eax
call fcn.0045e420
push 0
push 0x4af03c
mov ecx, esi
mov dword [esi + 0xc0], eax
call fcn.0045e420
push 0
push 0x4af04c
mov ecx, esi
mov dword [esi + 0xc4], eax
call fcn.0045e420
push 0
push 0x4af050
mov ecx, esi
mov dword [esi + 0xc8], eax
call fcn.0045e420
push 0
push 0x4af058
mov ecx, esi
mov dword [esi + 0xcc], eax
call fcn.0045e420
push 0
push str.no_sacl
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0045e420
push 0
push 0x4af068
mov ecx, esi
mov dword [esi + 0xd4], eax
call fcn.0045e420
push 2
push 0x4af070
mov ecx, esi
mov dword [esi + 0xd8], eax
call fcn.0045e420
push 3
push 0x4af07c
mov ecx, esi
mov dword [esi + 0xdc], eax
call fcn.0045e420
push 0
push 0x4af088
mov ecx, esi
mov dword [esi + 0xe0], eax
call fcn.0045e420
push 1
push 0x4af094
mov ecx, esi
mov dword [esi + 0xe4], eax
call fcn.0045e420
push 0xffffffffffffffff
push 0x4af0a4
mov ecx, esi
mov dword [esi + 0xe8], eax
call fcn.0045e420
mov dword [esi + 0xf0], eax
cmp eax, 0xffffffff
jne 0x40f394
push eax
push str.hash_mode2
mov ecx, esi
call fcn.0045e420
mov ecx, eax
mov dword [esi + 0xf0], ecx
cmp ecx, 0xffffffff
je 0x40f3bb
cmp ecx, 2
je 0x40f394
cmp ecx, 1
jne 0x40f3bb
test eax, eax
je 0x40f3c5
cmp eax, 1
je 0x40f3c5
cmp eax, 2
je 0x40f3c5
cmp eax, 3
je 0x40f3c5
cmp eax, 7
je 0x40f3c5
cmp eax, 8
je 0x40f3c5
cmp eax, 5
je 0x40f3c5
cmp eax, 6
je 0x40f3c5
mov dword [esi + 0xf0], 6
push 1
push 0x4af0bc
mov ecx, esi
call fcn.0045e420
push 0
push 0x4af0c8
mov ecx, esi
mov dword [esi + 0x188], eax
call fcn.0045e420
push 0
push 0x4af0d8
mov ecx, esi
mov dword [esi + 0x18c], eax
call fcn.0045e420
push 0
push 0x4af0e4
mov ecx, esi
mov dword [esi + 0x190], eax
call fcn.0045e420
push 0
push 0x4af0ec
mov ecx, esi
mov dword [esi + 0x194], eax
call fcn.0045e420
push 0
push 0x4af0f4
mov ecx, esi
mov dword [esi + 0xf4], eax
call fcn.0045e420
push 0
push 0x4af108
mov ecx, esi
mov dword [esi + 0xf8], eax
call fcn.0045e420
push 1
push 0x4af114
mov ecx, esi
mov dword [esi + 0xfc], eax
call fcn.0045e420
push 1
push 0x4af120
mov ecx, esi
mov dword [esi + 0x100], eax
call fcn.0045e420
push 0
push 0x4af134
mov ecx, esi
mov dword [esi + 0x104], eax
call fcn.0045e420
push 1
push 0x4af140
mov ecx, esi
mov dword [esi + 0x108], eax
call fcn.0045e420
push 0
push 0x4af14c
mov ecx, esi
mov dword [esi + 0x10c], eax
call fcn.0045e420
push 0x493e0
push str.max_linkhash
mov ecx, esi
mov dword [esi + 0x110], eax
call fcn.0045e420
push 0x40000000
push str.allow_cont_fsize
mov ecx, esi
mov dword [esi + 0x114], eax
call fcn.0045e420
cdq
mov ecx, esi
push 0
push str.recreate
mov dword [esi + 0x118], eax
mov dword [esi + 0x11c], edx
call fcn.0045e420
push 0
push 0x4af188
mov ecx, esi
mov dword [esi + 0x120], eax
call fcn.0045e420
push 0
push 0x4af198
mov ecx, esi
mov dword [esi + 0x124], eax
call fcn.0045e420
push 1
push 0x4af1a4
mov ecx, esi
mov dword [esi + 0x128], eax
call fcn.0045e420
push 0x14
push str.finish_notify_tout
mov ecx, esi
mov dword [esi + 0x12c], eax
call fcn.0045e420
push 1
push 0x4af1c8
mov ecx, esi
mov dword [esi + 0x130], eax
call fcn.0045e420
push 0
push 0x4af1d8
mov ecx, esi
mov dword [esi + 0x134], eax
call fcn.0045e420
push 1
push 0x4af1e0
mov ecx, esi
mov dword [esi + 0x164], eax
call fcn.0045e420
push 0
push 0x4af1ec
mov ecx, esi
mov dword [esi + 0x168], eax
call fcn.0045e420
push 1
push 0x4af1f4
mov ecx, esi
mov dword [esi + 0x16c], eax
call fcn.0045e420
push 0
mov dword [esi + 0x170], eax
call fcn.00486ddf
add esp, 4
mov ecx, esi
push edx
push eax
push 0x4af200
call fcn.0045e4e0
push 0
push 0
push 0x4af210
mov ecx, esi
mov dword [esi + 0x178], eax
mov dword [esi + 0x17c], edx
call fcn.0045e4e0
push 1
push 0x4af224
mov ecx, esi
mov dword [esi + 0x180], eax
mov dword [esi + 0x184], edx
call fcn.0045e420
mov dword [esi + 0x138], eax
test eax, eax
js 0x40f60f
cmp eax, 2
jle 0x40f619
mov dword [esi + 0x138], 1
mov edi, dword [ebp - 0x178]
mov ecx, esi
push 0
push 0x4ac383
push 0x8000
push edi
push 0x4af230
call fcn.0045e380
test eax, eax
je 0x40f699
or edx, 0xffffffff
mov ecx, edi
call fcn.0045d230
mov dword [ebp - 0x160], eax
test eax, eax
je 0x40f658
cmp eax, dword [esi + 0x1fc]
je 0x40f699
mov ecx, dword [esi + 0x1fc]
test ecx, ecx
je 0x40f67b
push ecx
call fcn.0047d4ed
mov eax, dword [ebp - 0x160]
add esp, 4
mov dword [esi + 0x1fc], 0
mov dword [esi + 0x200], 0xffffffff
test eax, eax
je 0x40f699
or edx, 0xffffffff
mov ecx, eax
call fcn.00412220
mov dword [esi + 0x1fc], eax
push 0
push 0x4ac397
push 0x8000
push edi
push 0x4af238
mov ecx, esi
call fcn.0045e380
test eax, eax
je 0x40f713
or edx, 0xffffffff
mov ecx, edi
call fcn.0045d230
mov dword [ebp - 0x160], eax
test eax, eax
je 0x40f6d2
cmp eax, dword [esi + 0x204]
je 0x40f713
mov ecx, dword [esi + 0x204]
test ecx, ecx
je 0x40f6f5
push ecx
call fcn.0047d4ed
mov eax, dword [ebp - 0x160]
add esp, 4
mov dword [esi + 0x204], 0
mov dword [esi + 0x208], 0xffffffff
test eax, eax
je 0x40f713
or edx, 0xffffffff
mov ecx, eax
call fcn.00412220
mov dword [esi + 0x204], eax
push 0
push str.delete_diff_force_copy_move_noexist_only_sep1_sync_update_move_noexist
push 0x8000
push edi
push 0x4af244
mov ecx, esi
call fcn.0045e380
test eax, eax
je 0x40f802
lea eax, [ebp - 0x15c]
mov dword [ebp - 0x15c], 0
push eax
mov dl, 0x2c
mov ecx, edi
call fcn.0045ccd0
add esp, 4
test eax, eax
je 0x40f802
nop dword [eax]
or edx, 0xffffffff
mov ecx, eax
call fcn.0045d230
mov dword [ebp - 0x164], 0
mov dword [ebp - 0x160], 0xffffffff
test eax, eax
je 0x40f792
or edx, 0xffffffff
mov ecx, eax
call fcn.00412220
mov dword [ebp - 0x164], eax
mov byte [ebp - 4], 2
lea eax, [ebp - 0x164]
push dword [ebp - 0x160]
push eax
push ecx
lea eax, [ebp - 0x16c]
push eax
lea ecx, [esi + 0x2e0]
call fcn.00412300
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x164]
test eax, eax
je 0x40f7d7
push eax
call fcn.0047d4ed
add esp, 4
mov dword [ebp - 0x164], 0
lea eax, [ebp - 0x15c]
mov dword [ebp - 0x160], 0xffffffff
push eax
mov dl, 0x2c
xor ecx, ecx
call fcn.0045ccd0
add esp, 4
test eax, eax
jne 0x40f760
mov edi, dword [ebp - 0x178]
push 0
push 0x4ac3da
push 0x104
push edi
push 0x4af298
mov ecx, esi
call fcn.0045e380
push 0x4af2a0
push edi
call fcn.00482c1c
add esp, 8
mov dword [ebp - 0x168], eax
test eax, eax
je 0x40f846
push eax
call fcn.00486e7a
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 0x168]
jmp 0x40f84b
mov ecx, 0xffffd8f0
mov dword [esi + 0x20c], ecx
test eax, eax
je 0x40f879
push 0x4af2a4
push 0
call fcn.00482c1c
add esp, 8
mov dword [ebp - 0x168], eax
test eax, eax
je 0x40f879
push eax
call fcn.00486e7a
add esp, 4
jmp 0x40f87e
mov eax, 0xffffd8f0
mov dword [esi + 0x210], eax
mov eax, dword [ebp - 0x168]
test eax, eax
je 0x40f8c0
push 0x4af2a8
push 0
call fcn.00482c1c
add esp, 8
mov dword [ebp - 0x168], eax
test eax, eax
je 0x40f8ba
push eax
call fcn.00486e7a
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 0x168]
jmp 0x40f8c5
mov eax, dword [ebp - 0x168]
mov ecx, 0xffffd8f0
mov dword [esi + 0x214], ecx
test eax, eax
je 0x40f8ed
push 0x4af2ac
push 0
call fcn.00482c1c
add esp, 8
test eax, eax
je 0x40f8ed
push eax
call fcn.00486e7a
add esp, 4
jmp 0x40f8f2
mov eax, 0xffffd8f0
push 0
push 0x4ac3db
mov dword [esi + 0x218], eax
mov ecx, esi
push 0x40
lea eax, [esi + 0x21c]
push eax
push 0x4af2b0
call fcn.0045e380
push 0
push 0x4ac3eb
push 0x20
lea eax, [esi + 0x25c]
mov ecx, esi
push eax
push 0x4af2bc
call fcn.0045e380
lea eax, [ebp - 0x15c]
mov dword [ebp - 0x15c], 0
push eax
push 0x4ac3fe
push 0x8000
push edi
push 0x4af2c4
mov ecx, esi
call fcn.0045e380
cmp dword [ebp - 0x15c], 0
je 0x40f993
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
cmp eax, 0x411
jne 0x40f993
cmp dword [esi + 0xac], 0x409
je 0x40f993
push 0
push 0x4ac3ff
push 0x8000
push edi
push str.status_font
mov ecx, esi
call fcn.0045e380
lea eax, [esi + 0x27c]
push eax
push edi
call fcn.00411410
push 0
push 0x4af2e0
mov ecx, esi
call fcn.0045e420
push 0
push str.FastCopy.log
push 0x104
push edi
push str.logfile
mov ecx, esi
mov dword [esi + 0x2bc], eax
call fcn.0045e380
push dword [ebp - 0x158]
mov dword [ebp - 0x154], 0xffffffff
push edi
call fcn.00411410
push 0x5c
push dword [ebp - 0x158]
call fcn.0047ece0
add esp, 8
test eax, eax
jne 0x40fa4c
mov ecx, dword [ebp - 0x158]
or edx, 0xffffffff
call fcn.00412220
mov edx, dword [esi + 0x1e0]
test eax, eax
mov ecx, 0x4c2758
mov dword [ebp - 0x160], eax
cmovne ecx, eax
mov dword [ebp - 0x154], 0xffffffff
push 0x7fffffff
push ecx
mov ecx, dword [ebp - 0x158]
call fcn.0045c480
mov eax, dword [ebp - 0x160]
add esp, 8
test eax, eax
je 0x40fa4c
push eax
call fcn.0047d4ed
add esp, 4
push dword [ebp - 0x158]
call fcn.004889e7
add esp, 4
mov dword [esi + 0x1e8], eax
xor eax, eax
mov dword [ebp - 0x15c], eax
nop dword [eax + eax]
mov ecx, dword [ebp + eax*4 - 0x108]
push dword [ebp + eax*4 - 0x12c]
mov dword [ebp - 0x160], ecx
mov ecx, esi
call fcn.0045e120
mov eax, dword [esi + 0x70]
test eax, eax
js 0x40fa99
cmp eax, 0x3e8
jle 0x40faac
mov dword [esi + 0x70], 0xa
mov eax, 0xa
mov dword [esi + 0x74], 0xa
push 4
push eax
call fcn.00482c3a
mov ecx, dword [ebp - 0x160]
add esp, 8
mov dword [ecx], eax
xor ecx, ecx
mov eax, dword [esi + 0x70]
add eax, 0x1e
mov dword [ebp - 0x168], ecx
test eax, eax
jle 0x40fb8f
push ecx
lea eax, [ebp - 0x80]
push 0x4af308
push eax
call fcn.0040e230
mov eax, dword [ebp - 0x168]
add esp, 0xc
mov ecx, esi
cmp eax, dword [esi + 0x70]
jge 0x40fb67
mov eax, dword [ebp - 0x15c]
cmp byte [ebp + eax - 0x1c], 0
lea eax, [ebp - 0x80]
je 0x40fb1d
push dword [ebp - 0x158]
mov dword [ebp - 0x154], 0xffffffff
push edi
push eax
call fcn.0040ebc0
jmp 0x40fb46
push 0
push 0x4ac412
push 0x8000
push edi
push eax
call fcn.0045e380
push dword [ebp - 0x158]
mov dword [ebp - 0x154], 0xffffffff
push edi
call fcn.00411410
push dword [ebp - 0x158]
call fcn.004889e7
mov ecx, dword [ebp - 0x160]
add esp, 4
mov edx, dword [ebp - 0x168]
mov ecx, dword [ecx]
mov dword [ecx + edx*4], eax
jmp 0x40fb74
lea eax, [ebp - 0x80]
push eax
call fcn.0045e260
test eax, eax
je 0x40fb8f
mov ecx, dword [ebp - 0x168]
mov eax, dword [esi + 0x70]
inc ecx
add eax, 0x1e
mov dword [ebp - 0x168], ecx
cmp ecx, eax
jl 0x40fad5
mov eax, dword [ebp - 0x15c]
inc eax
mov dword [ebp - 0x15c], eax
cmp eax, 9
jb 0x40fa70
mov dword [ebp - 0x15c], 0
nop
push 0x48
lea eax, [ebp - 0x150]
push 0
push eax
call fcn.00481280
mov byte [ebp - 4], 3
lea eax, [ebp - 0xe4]
push dword [ebp - 0x15c]
push 0x4af30c
push eax
call fcn.0040e230
add esp, 0x18
lea eax, [ebp - 0xe4]
mov ecx, esi
push eax
call fcn.0045e120
push 0
push 0x4ac413
push 0x8000
push edi
push 0x4af314
mov ecx, esi
call fcn.0045e380
test eax, eax
je 0x40ff50
push dword [ebp - 0x158]
push edi
call fcn.00411410
push dword [ebp - 0x158]
call fcn.004889e7
add esp, 4
mov dword [ebp - 0x150], eax
mov ecx, esi
push 0
push 0x4ac45d
push 0x8000
push edi
push 0x4af31c
call fcn.0045e380
push dword [ebp - 0x158]
push edi
call fcn.00411410
push dword [ebp - 0x158]
call fcn.004889e7
add esp, 4
mov dword [ebp - 0x14c], eax
mov ecx, esi
push 0
push 0x4ac45e
push 0x8000
push edi
push 0x4af320
call fcn.0045e380
push dword [ebp - 0x158]
push edi
call fcn.00411410
push dword [ebp - 0x158]
call fcn.004889e7
add esp, 4
mov dword [ebp - 0x148], eax
mov ecx, esi
push 0
push 0x4ac45f
push 0x8000
push edi
push 0x4af324
call fcn.0045e380
push dword [ebp - 0x158]
push edi
call fcn.00411410
push dword [ebp - 0x158]
call fcn.004889e7
add esp, 4
mov dword [ebp - 0x144], eax
mov ecx, esi
push dword [ebp - 0x158]
push edi
push 0x4af328
call fcn.0040ebc0
push dword [ebp - 0x158]
call fcn.004889e7
add esp, 4
mov dword [ebp - 0x120], eax
mov ecx, esi
push dword [ebp - 0x158]
push edi
push 0x4af338
call fcn.0040ebc0
push dword [ebp - 0x158]
call fcn.004889e7
add esp, 4
mov dword [ebp - 0x11c], eax
mov ecx, esi
push 0
push 0x4aecf5
push 0x8000
push edi
push 0x4af348
call fcn.0045e380
push dword [ebp - 0x158]
push edi
call fcn.00411410
push dword [ebp - 0x158]
call fcn.004889e7
add esp, 4
mov dword [ebp - 0x118], eax
push 0
push 0x4aecf6
push 0x8000
push edi
push 0x4af358
mov ecx, esi
call fcn.0045e380
push dword [ebp - 0x158]
push edi
call fcn.00411410
push dword [ebp - 0x158]
call fcn.004889e7
add esp, 4
mov dword [ebp - 0x114], eax
mov ecx, esi
push 0
push 0x4aecf7
push 0x8000
push edi
push 0x4af368
call fcn.0045e380
push dword [ebp - 0x158]
push edi
call fcn.00411410
push dword [ebp - 0x158]
call fcn.004889e7
add esp, 4
mov dword [ebp - 0x110], eax
mov ecx, esi
push 0
push 0x4aed0e
push 0x8000
push edi
push 0x4af378
call fcn.0045e380
push dword [ebp - 0x158]
mov dword [ebp - 0x154], 0xffffffff
push edi
call fcn.00411410
push dword [ebp - 0x158]
call fcn.004889e7
add esp, 4
mov edi, eax
mov ecx, esi
mov dword [ebp - 0x10c], edi
push 0
push 0x4af388
call fcn.0045e420
push 0
push 0x4af398
mov ecx, esi
mov dword [ebp - 0x140], eax
call fcn.0045e420
push 1
push 0x4af3a4
mov ecx, esi
mov dword [ebp - 0x13c], eax
call fcn.0045e420
push 0
push 0x4af3b4
mov ecx, esi
mov dword [ebp - 0x138], eax
call fcn.0045e420
push 0
push 0x4af3c4
mov ecx, esi
mov dword [ebp - 0x134], eax
call fcn.0045e420
push 0
push 0x4af3c8
mov ecx, esi
mov dword [ebp - 0x130], eax
call fcn.0045e420
push 0
push 0x4af3d0
mov ecx, esi
mov dword [ebp - 0x12c], eax
call fcn.0045e420
push 0
mov dword [ebp - 0x128], eax
push 0x4af3d8
mov ecx, esi
call fcn.0045e420
mov dword [ebp - 0x124], eax
mov ecx, esi
lea eax, [ebp - 0x150]
push eax
call fcn.004114a0
push dword [ebp - 0x11c]
call fcn.00486e21
push dword [ebp - 0x120]
call fcn.00486e21
push dword [ebp - 0x118]
call fcn.00486e21
push dword [ebp - 0x114]
call fcn.00486e21
push dword [ebp - 0x110]
call fcn.00486e21
push edi
call fcn.00486e21
push dword [ebp - 0x144]
call fcn.00486e21
push dword [ebp - 0x148]
call fcn.00486e21
push dword [ebp - 0x14c]
call fcn.00486e21
push dword [ebp - 0x150]
call fcn.00486e21
mov eax, dword [ebp - 0x15c]
add esp, 0x28
mov edi, dword [ebp - 0x178]
inc eax
mov dword [ebp - 0x15c], eax
cmp eax, 0x3e8
jl 0x40fbb0
jmp 0x40ffc1
push dword [ebp - 0x11c]
call fcn.00486e21
push dword [ebp - 0x120]
call fcn.00486e21
push dword [ebp - 0x118]
call fcn.00486e21
push dword [ebp - 0x114]
call fcn.00486e21
push dword [ebp - 0x110]
call fcn.00486e21
push dword [ebp - 0x10c]
call fcn.00486e21
push dword [ebp - 0x144]
call fcn.00486e21
push dword [ebp - 0x148]
call fcn.00486e21
push dword [ebp - 0x14c]
call fcn.00486e21
push dword [ebp - 0x150]
call fcn.00486e21
add esp, 0x28
xor eax, eax
mov dword [ebp - 0x160], eax
nop dword [eax]
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x100], 0xffffffff
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 0xffffffff
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0xf0], 0xffffffff
mov dword [ebp - 0xec], 0xffffffff
mov dword [ebp - 0xe8], 0
push eax
push 0x4af3e0
push edi
mov byte [ebp - 4], 6
call fcn.0040e230
add esp, 0xc
mov ecx, esi
push edi
call fcn.0045e120
push 0
push 0x4aed0f
push 0x8000
push edi
push 0x4af3f0
mov ecx, esi
call fcn.0045e380
test eax, eax
je 0x4101f1
push dword [ebp - 0x158]
mov dword [ebp - 0x154], 0xffffffff
push edi
call fcn.00411410
mov ecx, dword [ebp - 0x158]
or edx, 0xffffffff
mov dword [ebp - 0x100], 0xffffffff
call fcn.00412220
push 0
push 0x4aed63
push 0x8000
push edi
push 0x4af3f8
mov ecx, esi
mov dword [ebp - 0x104], eax
mov dword [ebp - 0x100], 0xffffffff
call fcn.0045e380
push dword [ebp - 0x158]
mov dword [ebp - 0x154], 0xffffffff
push edi
call fcn.00411410
mov ecx, dword [ebp - 0x158]
or edx, 0xffffffff
mov dword [ebp - 0xf8], 0xffffffff
call fcn.00412220
push 0
push 0x4aed89
push 0x8000
push edi
push 0x4af400
mov ecx, esi
mov dword [ebp - 0xfc], eax
mov dword [ebp - 0xf8], 0xffffffff
call fcn.0045e380
push dword [ebp - 0x158]
mov dword [ebp - 0x154], 0xffffffff
push edi
call fcn.00411410
mov ecx, dword [ebp - 0x158]
or edx, 0xffffffff
mov dword [ebp - 0xf0], 0xffffffff
call fcn.00412220
push 0
push 0x4af404
mov ecx, esi
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0xf0], 0xffffffff
call fcn.0045e420
push 0
push 0x4aed8a
push 0x8000
push edi
push 0x4af40c
mov ecx, esi
mov dword [ebp - 0xe8], eax
call fcn.0045e380
test eax, eax
je 0x41018c
push 0xa
push 0
push edi
call fcn.00486c2c
add esp, 0xc
mov dword [ebp - 0xec], eax
lea eax, [ebp - 0x104]
mov ecx, esi
push eax
call fcn.00411860
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0xf4]
test eax, eax
je 0x4101b1
push eax
call fcn.0047d4ed
add esp, 4
mov eax, dword [ebp - 0xfc]
test eax, eax
je 0x4101c4
push eax
call fcn.0047d4ed
add esp, 4
mov eax, dword [ebp - 0x104]
test eax, eax
je 0x4101d7
push eax
call fcn.0047d4ed
add esp, 4
mov eax, dword [ebp - 0x160]
inc eax
mov dword [ebp - 0x160], eax
cmp eax, 0x3e8
jl 0x40ffd0
jmp 0x410200
lea ecx, [ebp - 0x104]
mov byte [ebp - 4], 1
call fcn.00410250
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x410215
mov ecx, esi
call fcn.00410500
push dword [ebp - 0x158]
call fcn.0047d4ed
push edi
call fcn.00486e21
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0047d39f
mov esp, ebp
pop ebp
ret 0xc