Function at 0x100097e0
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016d962
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.10012397
mov ecx, eax
test ecx, ecx
je 0x10009db0
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.10009000
test al, al
jne 0x100098a2
lea ecx, [ebp - 0x418]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10009880
sub ecx, edx
lea eax, [ebp - 0x418]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x42c]
call fcn.10007800
push 0x1017bcdc
push str.NDA.dll
lea ecx, [ebp - 0x42c]
mov byte [ebp - 4], 2
call fcn.10009df0
mov esi, dword [ebp - 0x42c]
push esi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
call fcn.10012397
mov ecx, eax
test ecx, ecx
je 0x10009dba
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.10012397
mov ecx, eax
test ecx, ecx
je 0x10009dc4
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.1001306c
lea ecx, [ebp - 0x460]
mov byte [ebp - 4], 6
call fcn.10010f58
mov dword [ebp - method.CFileException.virtual_0], vtable.CFileException.0
call fcn.10012397
mov ecx, eax
test ecx, ecx
je 0x10009dce
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.10009200
mov ecx, dword [esi - 0x10]
lea eax, [esi - 0x10]
mov byte [ebp - 4], 9
mov dword [ebp - 0x44c], eax
test ecx, ecx
je 0x100099b5
mov eax, dword [ecx]
call dword [eax + 0x10]
mov ecx, eax
test ecx, ecx
jne 0x100099cb
call fcn.10012397
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x10]
mov ecx, eax
test ecx, ecx
je 0x10009dd8
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.10009180
mov esi, dword [ebp - 0x420]
lea eax, [ebp - 0x460]
add esp, 0x14
lea ecx, [ebp - 0x480]
push eax
push 0x8002
push esi
call fcn.10013465
mov byte [ebp - 4], 8
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10009a37
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.1001359b
test eax, eax
je 0x10009ab7
xor esi, esi
mov al, byte [ebp - 0x419]
mov byte [ebp - 0x421], al
cmp esi, ebx
je 0x10009a6c
mov byte [ebx], al
inc ebx
mov dword [ebp - 0x438], ebx
jmp 0x10009a93
lea eax, [ebp - 0x421]
push eax
push ebx
lea ecx, [ebp - 0x43c]
call fcn.100081d0
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.1001359b
test eax, eax
jne 0x10009a51
mov edi, dword [ebp - 0x43c]
mov dword [ebp - 0x428], edi
lea ecx, [ebp - 0x480]
call fcn.10013244
xor eax, eax
push 0x100
push eax
mov dword [ebp - 0x16], eax
lea eax, [ebp - 0x118]
push eax
call fcn.1014ab50
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.10009620
push 6
lea eax, [ebp - 0x18]
push eax
push 0x18
push 0xb6
push esi
call fcn.100094d0
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.10009620
push 5
push 0x18
push 0xb6
push esi
call fcn.100096c0
lea eax, [ebp - 0x420]
push eax
push 0x18
push 0xb6
push esi
call fcn.10009570
add esp, 0x30
test byte [ebp - 0x41e], 1
jne 0x10009b18
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 0x10009b65
push 0
push 0x17
push 0xb6
push esi
call fcn.10009620
push 0x100
lea eax, [ebp - 0x118]
push eax
push 0xad
push 0xb6
push esi
call fcn.100094d0
add esp, 0x24
push 0x14
call edi
push 0
push 0x17
push 0xb6
push esi
call fcn.10009620
push 5
push 0x18
push 0xb6
push esi
call fcn.100096c0
lea eax, [ebp - 0x420]
push eax
push 0x18
push 0xb6
push esi
call fcn.10009570
add esp, 0x30
test byte [ebp - 0x41e], 1
jne 0x10009ba6
sub ebx, dword [ebp - 0x428]
mov edi, 0x100
cmp ebx, edi
jle 0x10009ca8
nop dword [eax + eax]
push 0x100
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.1014ab50
mov esi, dword [ebp - 0x428]
add esp, 0xc
xor ecx, ecx
nop
cmp edi, ebx
jge 0x10009c38
mov al, byte [esi + edi]
inc edi
mov byte [ebp + ecx - 0x218], al
inc ecx
cmp ecx, 0x100
jl 0x10009c20
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x218]
push 0x100
push eax
push 0xad
push 0xb6
push esi
call fcn.100094d0
add esp, 0x14
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
push 0x17
push 0xb6
push esi
call fcn.10009620
push 5
push 0x18
push 0xb6
push esi
call fcn.100096c0
lea eax, [ebp - 0x420]
push eax
push 0x18
push 0xb6
push esi
call fcn.10009570
add esp, 0x30
test byte [ebp - 0x41e], 1
jne 0x10009c5a
cmp edi, ebx
jl 0x10009c00
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 0x10009cd6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x480]
call fcn.1001308e
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 0x10009d11
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10009de2
push edx
push ecx
call fcn.101482e9
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 0x10009d39
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 0x10009d57
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 0x10009d75
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 0x10009d94
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.101482f7
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.10007630
push 0x80004005
call fcn.10007630
push 0x80004005
call fcn.10007630
push 0x80004005
call fcn.10007630
push 0x80004005
call fcn.10007630
call fcn.1014de65
int3