Function at 0x10009700
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016d812
mov eax, dword fs:[0]
push eax
sub esp, 0x474
mov eax, dword [0x101cfe2c]
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 dword [ebp - 0x440], 0
push str.NDA.dll
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x200
lea ecx, [ebp - 0x418]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
call fcn.10012257
mov ecx, eax
test ecx, ecx
je 0x10009cd0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x42c], eax
lea eax, [ebp - 0x418]
mov byte [ebp - 4], 1
push eax
lea ecx, [ebp - 0x42c]
call fcn.10008f20
test al, al
jne 0x100097c2
lea ecx, [ebp - 0x418]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100097a0
sub ecx, edx
lea eax, [ebp - 0x418]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x42c]
call fcn.10007720
push 0x1017bcdc
push str.NDA.dll
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 2
call fcn.10009d10
mov esi, dword [ebp - 0x42c]
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
call fcn.10012257
mov ecx, eax
test ecx, ecx
je 0x10009cda
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebp - 0x448], eax
lea ecx, [eax + 0x10]
mov dword [ebp - 0x464], ecx
mov byte [ebp - 4], 3
call fcn.10012257
mov ecx, eax
test ecx, ecx
je 0x10009ce4
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [ebp - 0x444], eax
lea ecx, [eax + 0x10]
mov dword [ebp - 0x468], ecx
xor edi, edi
xor eax, eax
xor ebx, ebx
mov dword [ebp - 0x428], edi
mov dword [ebp - 0x43c], edi
mov dword [ebp - 0x438], ebx
mov dword [ebp - 0x430], eax
mov dword [ebp - 0x434], eax
lea ecx, [ebp - 0x480]
mov byte [ebp - 4], 5
call fcn.10012f2c
lea ecx, [ebp - 0x460]
mov byte [ebp - 4], 6
call fcn.10010e18
mov dword [ebp - method.CFileException.virtual_0], vtable.CFileException.0
call fcn.10012257
mov ecx, eax
test ecx, ecx
je 0x10009cee
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x450], eax
lea ecx, [ebp - 0x450]
mov dword [ebp - 0x458], ebx
mov dword [ebp - 0x454], 0xffffffff
call fcn.10009120
mov ecx, dword [esi - 0x10]
lea eax, [esi - 0x10]
mov byte [ebp - 4], 9
mov dword [ebp - 0x44c], eax
test ecx, ecx
je 0x100098d5
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x100098eb
call fcn.10012257
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x10009cf8
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x440], 1
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0xc]
push dword [eax - 0xc]
push eax
push dword [esi - 0xc]
lea eax, [ebp - 0x420]
push esi
push eax
call fcn.100090a0
mov esi, dword [ebp - 0x420]
lea eax, [ebp - 0x460]
add esp, 0x14
lea ecx, [ebp - 0x480]
push eax
push 0x8002
push esi
call fcn.10013325
mov byte [ebp - 4], 8
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10009957
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push 1
lea eax, [ebp - 0x419]
push eax
lea ecx, [ebp - 0x480]
call fcn.1001345b
test eax, eax
je 0x100099d7
xor esi, esi
mov al, byte [ebp - 0x419]
mov byte [ebp - 0x421], al
cmp esi, ebx
je 0x1000998c
mov byte [ebx], al
inc ebx
mov dword [ebp - 0x438], ebx
jmp 0x100099b3
lea eax, [ebp - 0x421]
push eax
push ebx
lea ecx, [ebp - 0x43c]
call fcn.100080f0
mov eax, dword [ebp - 0x434]
mov esi, eax
mov ebx, dword [ebp - 0x438]
mov dword [ebp - 0x430], eax
push 1
lea eax, [ebp - 0x419]
push eax
lea ecx, [ebp - 0x480]
call fcn.1001345b
test eax, eax
jne 0x10009971
mov edi, dword [ebp - 0x43c]
mov dword [ebp - 0x428], edi
lea ecx, [ebp - 0x480]
call fcn.10013104
xor eax, eax
push 0x100
push eax
mov dword [ebp - 0x16], eax
lea eax, [ebp - 0x118]
push eax
call fcn.1014aa00
mov esi, dword [ebp + 8]
push 0
mov word [ebp - 0x18], 0xad
mov al, byte [edi]
push 0x17
mov byte [ebp - 0x14], al
mov al, byte [edi + 1]
push 0xb6
push esi
mov byte [ebp - 0x13], al
call fcn.10009540
push 6
lea eax, [ebp - 0x18]
push eax
push 0x18
push 0xb6
push esi
call fcn.100093f0
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
add esp, 0x30
push 0x14
call edi
push 0
push 0x17
push 0xb6
push esi
call fcn.10009540
push 5
push 0x18
push 0xb6
push esi
call fcn.100095e0
lea eax, [ebp - 0x420]
push eax
push 0x18
push 0xb6
push esi
call fcn.10009490
add esp, 0x30
test byte [ebp - 0x41e], 1
jne 0x10009a38
mov ecx, dword [ebp - 0x428]
mov edx, 2
mov al, byte [ecx + edx]
mov byte [ebp + edx - 0x11a], al
inc edx
cmp edx, 0x100
jl 0x10009a85
push 0
push 0x17
push 0xb6
push esi
call fcn.10009540
push 0x100
lea eax, [ebp - 0x118]
push eax
push 0xad
push 0xb6
push esi
call fcn.100093f0
add esp, 0x24
push 0x14
call edi
push 0
push 0x17
push 0xb6
push esi
call fcn.10009540
push 5
push 0x18
push 0xb6
push esi
call fcn.100095e0
lea eax, [ebp - 0x420]
push eax
push 0x18
push 0xb6
push esi
call fcn.10009490
add esp, 0x30
test byte [ebp - 0x41e], 1
jne 0x10009ac6
sub ebx, dword [ebp - 0x428]
mov edi, 0x100
cmp ebx, edi
jle 0x10009bc8
nop dword [eax + eax]
push 0x100
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1014aa00
mov esi, dword [ebp - 0x428]
add esp, 0xc
xor ecx, ecx
nop
cmp edi, ebx
jge 0x10009b58
mov al, byte [esi + edi]
inc edi
mov byte [ebp + ecx - 0x218], al
inc ecx
cmp ecx, 0x100
jl 0x10009b40
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x100
push eax
push 0xad
push 0xb6
push esi
call fcn.100093f0
add esp, 0x14
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0x17
push 0xb6
push esi
call fcn.10009540
push 5
push 0x18
push 0xb6
push esi
call fcn.100095e0
lea eax, [ebp - 0x420]
push eax
push 0x18
push 0xb6
push esi
call fcn.10009490
add esp, 0x30
test byte [ebp - 0x41e], 1
jne 0x10009b7a
cmp edi, ebx
jl 0x10009b20
mov edx, dword [ebp - 0x450]
or ebx, 0xffffffff
mov byte [ebp - 4], 6
add edx, 0xfffffff0
mov dword [ebp - method.CFileException.virtual_0], vtable.CFileException.0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10009bf6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x480]
call fcn.10012f4e
mov ecx, dword [ebp - 0x428]
mov eax, ecx
mov edx, dword [ebp - 0x430]
sub edx, ecx
mov byte [ebp - 4], 4
cmp edx, 0x1000
jb 0x10009c31
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009d02
push edx
push ecx
call fcn.101481a0
mov edx, dword [ebp - 0x444]
add esp, 8
mov byte [ebp - 4], 3
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10009c59
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x448]
mov eax, ebx
mov byte [ebp - 4], 2
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10009c77
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x44c]
mov eax, ebx
mov byte [ebp - 4], 0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10009c95
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10009cb4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.101481ae
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10007550
push 0x80004005
call fcn.10007550
push 0x80004005
call fcn.10007550
push 0x80004005
call fcn.10007550
push 0x80004005
call fcn.10007550
call fcn.1014dd15
int3