Function at 0x10029c70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x94
xor eax, eax
mov dword [esp + 8], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov eax, dword [0x10245500]
sub eax, dword [0x102454fc]
push ebx
sar eax, 2
push esi
push edi
test eax, eax
je 0x10029d2e
cmp eax, 0x3fffffff
ja 0x1002a1cc
lea esi, [eax*4]
cmp esi, 0x1000
jb 0x10029cea
lea eax, [esi + 0x23]
cmp eax, esi
jbe 0x1002a1d1
push eax
call fcn.10176cb7
add esp, 4
test eax, eax
je 0x10029ce4
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x10029cfd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
test esi, esi
je 0x10029cfb
push esi
call fcn.10176cb7
add esp, 4
mov ebx, eax
jmp 0x10029cfd
xor ebx, ebx
lea eax, [ebx + esi]
mov dword [esp + 0x14], ebx
mov esi, dword [0x10245500]
mov dword [esp + 0x78], eax
mov eax, dword [0x102454fc]
sub esi, eax
push esi
push eax
push ebx
mov dword [esp + 0x7c], ebx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
sar esi, 2
lea eax, [ebx + esi*4]
mov dword [esp + 0x74], eax
mov eax, dword [0x10245508]
mov ecx, dword [0x10245510]
sub ecx, dword [0x1024550c]
mov dword [esp + 0x6c], eax
mov dword [esp + 0x7c], eax
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov eax, 0x2aaaaaab
imul ecx
mov dword [esp + 0x28], 0
sar edx, 2
mov esi, edx
shr esi, 0x1f
add esi, edx
je 0x10029dcd
cmp esi, 0xaaaaaaa
ja 0x1002a1d6
push esi
call fcn.10012180
mov edi, dword [0x10245510]
lea ecx, [esi + esi*2]
mov esi, dword [0x1024550c]
mov ebx, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], ebx
lea ecx, [eax + ecx*8]
mov dword [esp + 0x30], ecx
cmp esi, edi
je 0x10029dbc
push esi
mov ecx, ebx
call fcn.10010d30
add esi, 0x18
add ebx, 0x18
cmp esi, edi
jne 0x10029da6
mov dword [esp + 0x18], ebx
push ecx
mov edx, ebx
mov ecx, ebx
call fcn.100044d0
add esp, 4
mov dword [esp + 0x2c], ebx
mov eax, dword [0x102454fc]
cmp eax, dword [0x10245500]
je 0x10029ddf
mov dword [0x10245500], eax
mov esi, dword [0x102454f0]
mov edi, dword [0x102454f4]
mov dword [0x10245508], 0
cmp esi, edi
je 0x10029e18
nop dword [eax]
mov ecx, esi
call fcn.10004070
add esi, 0x18
cmp esi, edi
jne 0x10029e00
mov eax, dword [0x102454f0]
mov dword [0x102454f4], eax
mov ecx, dword [0x1024550c]
mov edx, dword [0x10245510]
cmp ecx, edx
je 0x10029e3b
push ecx
call fcn.100044d0
mov eax, dword [0x1024550c]
add esp, 4
mov dword [0x10245510], eax
cmp dword [0x102121d4], 0xf
lea ecx, [esp + 0x80]
push dword [0x102121d0]
mov eax, 0x102121c0
mov byte [esp + 0x20], 0
cmova eax, dword [0x102121c0]
push eax
push dword [esp + 0x24]
call fcn.10022600
add esp, 8
mov dword [esp + 0x24], 0
lea edx, [esp + 0x84]
mov dword [esp + 0x28], 0
lea ecx, [esp + 0x24]
call fcn.10020c70
add esp, 4
lea ecx, [esp + 0x80]
test eax, eax
jne 0x1002a1db
call fcn.10004070
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x10029eb0
lock inc dword [ebx + 4]
mov esi, dword [esp + 0x20]
mov edi, ebx
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], edi
test ebx, ebx
je 0x10029eeb
lock inc dword [ebx + 4]
test ebx, ebx
je 0x10029eeb
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x10029eeb
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
or eax, 0xffffffff
lock xadd dword [ebx + 8], eax
jne 0x10029eeb
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
test esi, esi
je 0x1002a166
mov byte [esp + 0x1c], 0
nop dword [eax + eax]
push 4
push str..lua
push dword [esp + 0x24]
lea ecx, [esp + 0x60]
call fcn.10022600
add esp, 0xc
lea eax, [esp + 0x80]
lea edi, [esi + 0x20]
mov ecx, edi
push eax
call fcn.100247e0
cmp dword [esp + 0x68], 7
lea ecx, [esp + 0x54]
push dword [esp + 0x64]
cmova ecx, dword [esp + 0x58]
push ecx
mov ecx, eax
call fcn.10024660
lea ecx, [esp + 0x80]
mov esi, eax
call fcn.10004070
lea ecx, [esp + 0x54]
call fcn.10004070
test esi, esi
jne 0x1002a149
push edi
lea ecx, [esp + 0x58]
call fcn.10019d40
cmp dword [esp + 0x68], 7
lea ecx, [esp + 0x54]
mov eax, dword [esp + 0x64]
cmova ecx, dword [esp + 0x54]
lea esi, [ecx + eax*2]
mov edx, esi
call fcn.10019a00
sub esi, eax
mov dword [esp + 0x90], 0
sar esi, 1
lea ecx, [esp + 0x80]
push esi
xorps xmm0, xmm0
mov dword [esp + 0x98], 0
push eax
movaps xmmword [esp + 0x88], xmm0
call fcn.10021610
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x84]
call fcn.10019ca0
lea ecx, [esp + 0x80]
call fcn.10004070
mov ecx, dword [esp + 0x18]
mov eax, 0x2aaaaaab
mov edi, dword [esp + 0x28]
sub ecx, edi
imul ecx
mov byte [esp + 0x13], 0
sar edx, 2
mov ebx, edx
shr ebx, 0x1f
add ebx, edx
js 0x1002a0f5
xor esi, esi
test ebx, ebx
jle 0x1002a08c
cmp ebx, esi
jbe 0x1002a1c7
cmp dword [edi + 0x14], 0xf
mov eax, edi
jbe 0x1002a01a
mov eax, dword [edi]
cmp dword [esp + 0x50], 0xf
lea ecx, [esp + 0x3c]
push dword [edi + 0x10]
cmova ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x50]
push eax
call fcn.10011f10
add esp, 8
test al, al
je 0x1002a07c
cmp dword [esp + 0x6c], esi
jbe 0x1002a1e8
mov ecx, dword [esp + 0x14]
mov eax, esi
shr eax, 5
lea edx, [ecx + eax*4]
mov ecx, esi
and ecx, 0x1f
mov eax, 1
shl eax, cl
mov ecx, 0x102454fc
test dword [edx], eax
lea eax, [esp + 0x13]
push eax
setne byte [esp + 0x17]
call fcn.1002a730
mov al, 1
mov byte [esp + 0x13], al
jmp 0x1002a080
mov al, byte [esp + 0x13]
inc esi
add edi, 0x18
cmp ebx, esi
jg 0x1002a00a
test al, al
jne 0x1002a0a0
lea eax, [esp + 0x13]
mov byte [esp + 0x13], 0
push eax
mov ecx, 0x102454fc
call fcn.1002a730
mov eax, dword [0x102454f4]
lea ecx, [esp + 0x54]
push ecx
cmp eax, dword [0x102454f8]
je 0x1002a0c2
mov ecx, eax
call fcn.10019d40
add dword [0x102454f4], 0x18
jmp 0x1002a0c8
push eax
call fcn.10030410
mov eax, dword [0x10245510]
lea ecx, [esp + 0x3c]
push ecx
cmp eax, dword [0x10245514]
je 0x1002a0ea
mov ecx, eax
call fcn.10010d30
add dword [0x10245510], 0x18
jmp 0x1002a0f5
push eax
mov ecx, 0x1024550c
call fcn.10030660
mov ecx, dword [esp + 0x50]
cmp ecx, 0xf
jbe 0x1002a12b
mov edx, dword [esp + 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1002a121
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10029ce4
push ecx
push edx
call fcn.10177006
add esp, 8
lea ecx, [esp + 0x54]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0xf
mov byte [esp + 0x3c], 0
call fcn.10004070
lea ecx, [esp + 0x34]
call fcn.1001a7c0
mov esi, dword [esp + 0x34]
test esi, esi
jne 0x10029f00
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x24]
or esi, 0xffffffff
test edi, edi
je 0x1002a18c
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x1002a18c
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x1002a18c
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
test ebx, ebx
je 0x1002a1ae
mov eax, esi
lock xadd dword [ebx + 4], eax
jne 0x1002a1ae
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock xadd dword [ebx + 8], esi
dec esi
jne 0x1002a1ae
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
lea ecx, [esp + 0x28]
call fcn.10003ff0
lea ecx, [esp + 0x70]
call fcn.10006e00
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.100208b0
call fcn.10006df0
call fcn.10003680
call fcn.10006df0
push ecx
mov edx, eax
mov ecx, str.directory_iterator::directory_iterator
call fcn.10024870
call fcn.1002ad10
int3