Function at 0x403d10
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [0x43100c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
sub esp, 8
lea ecx, [ebp + 8]
call fcn.00413980
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x403d60
push 0
push 0x42e35b
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
mov byte [ebp - 0x1c], 0
call fcn.00413e60
lea eax, [ebp - 0x1c]
mov esi, 1
xor ecx, ecx
jmp 0x403d96
cmp dword [ebp + 0x18], ecx
lea eax, [ebp + 8]
mov dword [ebp - 0x3c], 0
cmovb ecx, dword [ebp + 0x18]
cmp dword [ebp + 0x1c], 0x10
push ecx
cmovae eax, dword [ebp + 8]
lea ecx, [ebp - 0x4c]
push eax
mov dword [ebp - 0x38], 0xf
mov byte [ebp - 0x4c], 0
call fcn.00413e60
xor esi, esi
lea eax, [ebp - 0x4c]
lea ecx, [esi + 2]
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x34], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x24], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
test ecx, ecx
je 0x403df0
mov edx, dword [ebp - 0x38]
cmp edx, 0x10
jb 0x403df0
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403de6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403fff
push edx
push ecx
call fcn.0041541e
add esp, 8
test esi, esi
je 0x403e28
mov edx, dword [ebp - 8]
cmp edx, 0x10
jb 0x403e28
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403e1e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403fff
push edx
push ecx
call fcn.0041541e
add esp, 8
cmp dword [ebp - 0x20], 0x10
lea eax, [ebp - 0x34]
cmovae eax, dword [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
mov edx, dword [ebp - 0x20]
cmp edx, 0x10
jb 0x403e6e
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403e64
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403fff
push edx
push ecx
call fcn.0041541e
add esp, 8
sub esp, 0x18
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x431964
call fcn.00413b00
lea ecx, [ebp - 0x4c]
call fcn.00402ac0
add esp, 0x18
push eax
lea eax, [ebp + 8]
push eax
sub esp, 0x18
mov ecx, esp
push 0x431cc4
call fcn.00413b00
lea ecx, [ebp - 0x1c]
call fcn.00402ac0
add esp, 0x18
lea ecx, [ebp - 0x34]
mov edx, eax
call fcn.004140a0
add esp, 4
mov edx, eax
mov ecx, esi
call fcn.00413fb0
sub esp, 0x14
mov esi, esp
sub esp, 0x18
mov ecx, esp
push 0x431fdc
call fcn.00413b00
mov ecx, esi
call fcn.00402ac0
mov ecx, esp
push 1
push str.0123456789
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 0xf
mov byte [ecx], 0
call fcn.00413e60
call fcn.00403620
mov edx, dword [ebp - 0x20]
add esp, 0x48
cmp edx, 0x10
jb 0x403f38
mov ecx, dword [ebp - 0x34]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403f2e
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404004
push edx
push ecx
call fcn.0041541e
add esp, 8
mov edx, dword [ebp - 8]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0xf
mov byte [ebp - 0x34], 0
cmp edx, 0x10
jb 0x403f7e
mov ecx, dword [ebp - 0x1c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403f74
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404004
push edx
push ecx
call fcn.0041541e
add esp, 8
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0xf
mov byte [ebp - 0x1c], 0
cmp edx, 0x10
jb 0x403fc0
mov ecx, dword [ebp - 0x4c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403fb6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404004
push edx
push ecx
call fcn.0041541e
add esp, 8
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x403ff0
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x403fe6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x404009
push edx
push ecx
call fcn.0041541e
add esp, 8
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00414dac
mov esp, ebp
pop ebp
ret
call fcn.0041886c
call fcn.0041886c
call fcn.0041886c
int3