Function at 0x10029030
Capabilities:
Check if file exists
Copy file
Create directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d7e36
mov eax, dword fs:[0]
push eax
sub esp, 0xa10
mov eax, dword [0x10118974]
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 - 0x8ec], ecx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x8e0], eax
mov dword [ebp - 0x8dc], ebx
call fcn.10064ac0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10029214
push 0x60
push str.d:jenkins.jenkinsworkspacemgamecef_basicjs_basicjs_basicjsexternalcpp_interface_misc.cc
lea ecx, [ebp - 0x658]
mov dword [ebp - 0x648], eax
mov dword [ebp - 0x644], 0xf
mov byte [ebp - 0x658], al
call fcn.1000b3d0
push 3
push 0x100e4e3c
lea ecx, [ebp - 0x640]
mov dword [ebp - 4], 0
mov dword [ebp - 0x630], 0
mov dword [ebp - 0x62c], 0xf
mov byte [ebp - 0x640], 0
call fcn.1000b3d0
mov byte [ebp - 4], 1
call fcn.10064ac0
mov ebx, eax
lea ecx, [ebp - 0x984]
push 0x759
lea eax, [ebp - 0x658]
push eax
lea eax, [ebp - 0x640]
push eax
call fcn.10007d20
mov edi, eax
push str.CopyDirectory_source:
push edi
mov byte [ebp - 4], 2
call fcn.100053e0
mov eax, dword [ebp - 0x8e0]
mov esi, 0x100e4c88
test eax, eax
mov ecx, esi
cmovne ecx, eax
push ecx
push edi
call fcn.100053e0
push str._dir:
push edi
call fcn.100053e0
mov eax, dword [ebp - 0x8dc]
test eax, eax
cmovne esi, eax
push esi
push edi
call fcn.100053e0
mov eax, dword [ebx]
add esp, 0x20
mov ecx, ebx
push edi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x984]
call fcn.10009120
mov edx, dword [ebp - 0x62c]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x100291b2
mov ecx, dword [ebp - 0x640]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100291a8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100294fc
push edx
push ecx
call fcn.100915df
add esp, 8
mov edx, dword [ebp - 0x644]
mov dword [ebp - 0x630], 0
mov dword [ebp - 0x62c], 0xf
mov byte [ebp - 0x640], 0
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x1002920e
mov ecx, dword [ebp - 0x658]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10029204
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10029501
push edx
push ecx
call fcn.100915df
add esp, 8
mov ebx, dword [ebp - 0x8dc]
mov edi, dword [ebp - 0x8e0]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
call esi
test eax, eax
jne 0x1002922e
xor eax, eax
jmp 0x100294de
push ebx
call esi
test eax, eax
jne 0x1002923d
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x628]
push edi
push eax
call ebx
push 0x100e7870
lea eax, [ebp - 0x628]
push eax
call ebx
lea eax, [ebp - 0x8d8]
push eax
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x8e8], eax
cmp eax, 0xffffffff
je 0x10029227
mov edi, dword [ebp + 0x10]
mov esi, 1
mov dword [ebp - 0x8e4], esi
nop dword [eax + eax]
push dword [ebp - 0x8e0]
lea eax, [ebp - 0x218]
push eax
call ebx
lea eax, [ebp - 0x8ac]
push eax
lea eax, [ebp - 0x218]
push eax
call ebx
push dword [ebp - 0x8dc]
lea eax, [ebp - 0x420]
push eax
call ebx
lea eax, [ebp - 0x8ac]
push eax
lea eax, [ebp - 0x420]
push eax
call ebx
test byte [ebp - 0x8d8], 0x10
je 0x1002937e
mov ecx, 0x100e7874
lea eax, [ebp - 0x8ac]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x1002930c
test dx, dx
je 0x10029308
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x1002930c
add eax, 4
add ecx, 4
test dx, dx
jne 0x100292e6
xor eax, eax
jmp 0x10029311
sbb eax, eax
or eax, 1
test eax, eax
je 0x100294b5
mov eax, 0x100e7878
lea ecx, [ebp - 0x8ac]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x1002934a
test dx, dx
je 0x10029346
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x1002934a
add ecx, 4
add eax, 4
test dx, dx
jne 0x10029324
xor eax, eax
jmp 0x1002934f
sbb eax, eax
or eax, 1
test eax, eax
je 0x100294b5
mov ecx, dword [ebp - 0x8ec]
lea eax, [ebp - 0x420]
push edi
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.10029030
and esi, eax
mov dword [ebp - 0x8e4], esi
jmp 0x100294b5
xor eax, eax
test edi, edi
sete al
push eax
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x100294b5
call fcn.10064ac0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x100294b5
push 0x60
push str.d:jenkins.jenkinsworkspacemgamecef_basicjs_basicjs_basicjsexternalcpp_interface_misc.cc
lea ecx, [ebp - 0x688]
mov dword [ebp - 0x678], eax
mov dword [ebp - 0x674], 0xf
mov byte [ebp - 0x688], al
call fcn.1000b3d0
push 3
push 0x100e4e3c
lea ecx, [ebp - 0x670]
mov dword [ebp - 4], 3
mov dword [ebp - 0x660], 0
mov dword [ebp - 0x65c], 0xf
mov byte [ebp - 0x670], 0
call fcn.1000b3d0
mov byte [ebp - 4], 4
call fcn.10064ac0
mov edi, eax
lea ecx, [ebp - 0xa1c]
push 0x77f
lea eax, [ebp - 0x688]
push eax
lea eax, [ebp - 0x670]
push eax
call fcn.10007d20
mov esi, eax
push str.Failed_to_copy_file
push esi
mov byte [ebp - 4], 5
call fcn.100053e0
lea eax, [ebp - 0x218]
push eax
push esi
call fcn.100053e0
push str._to
push esi
call fcn.100053e0
lea eax, [ebp - 0x420]
push eax
push esi
call fcn.100053e0
mov eax, dword [edi]
add esp, 0x20
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0xa1c]
call fcn.10009120
lea ecx, [ebp - 0x670]
call fcn.100088c0
lea ecx, [ebp - 0x688]
mov dword [ebp - 4], 0xffffffff
call fcn.100088c0
mov esi, dword [ebp - 0x8e4]
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x8d8]
push eax
push dword [ebp - 0x8e8]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x10029290
push dword [ebp - 0x8e8]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, esi
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.1009195e
mov esp, ebp
pop ebp
ret 0xc
call fcn.100af803
call fcn.100af803
int3