Function at 0x1002fdc0
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 [0x1027cc58]
sub eax, dword [0x1027cc54]
push ebx
sar eax, 2
push esi
push edi
test eax, eax
je 0x1002fe7e
cmp eax, 0x3fffffff
ja 0x1003031c
lea esi, [eax*4]
cmp esi, 0x1000
jb 0x1002fe3a
lea eax, [esi + 0x23]
cmp eax, esi
jbe 0x10030321
push eax
call fcn.1018b313
add esp, 4
test eax, eax
je 0x1002fe34
lea ebx, [eax + 0x23]
and ebx, 0xffffffe0
mov dword [ebx - 4], eax
jmp 0x1002fe4d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
test esi, esi
je 0x1002fe4b
push esi
call fcn.1018b313
add esp, 4
mov ebx, eax
jmp 0x1002fe4d
xor ebx, ebx
lea eax, [ebx + esi]
mov dword [esp + 0x14], ebx
mov esi, dword [0x1027cc58]
mov dword [esp + 0x78], eax
mov eax, dword [0x1027cc54]
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 [0x1027cc60]
mov ecx, dword [0x1027cc68]
sub ecx, dword [0x1027cc64]
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 0x1002ff1d
cmp esi, 0xaaaaaaa
ja 0x10030326
push esi
call fcn.10014300
mov edi, dword [0x1027cc68]
lea ecx, [esi + esi*2]
mov esi, dword [0x1027cc64]
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 0x1002ff0c
push esi
mov ecx, ebx
call fcn.10012190
add esi, 0x18
add ebx, 0x18
cmp esi, edi
jne 0x1002fef6
mov dword [esp + 0x18], ebx
push ecx
mov edx, ebx
mov ecx, ebx
call fcn.10004bc0
add esp, 4
mov dword [esp + 0x2c], ebx
mov eax, dword [0x1027cc54]
cmp eax, dword [0x1027cc58]
je 0x1002ff2f
mov dword [0x1027cc58], eax
mov esi, dword [0x1027cc48]
mov edi, dword [0x1027cc4c]
mov dword [0x1027cc60], 0
cmp esi, edi
je 0x1002ff68
nop dword [eax]
mov ecx, esi
call fcn.10004630
add esi, 0x18
cmp esi, edi
jne 0x1002ff50
mov eax, dword [0x1027cc48]
mov dword [0x1027cc4c], eax
mov ecx, dword [0x1027cc64]
mov edx, dword [0x1027cc68]
cmp ecx, edx
je 0x1002ff8b
push ecx
call fcn.10004bc0
mov eax, dword [0x1027cc64]
add esp, 4
mov dword [0x1027cc68], eax
cmp dword [0x10249588], 0xf
lea ecx, [esp + 0x80]
push dword [0x10249584]
mov eax, 0x10249574
mov byte [esp + 0x20], 0
cmova eax, dword [0x10249574]
push eax
push dword [esp + 0x24]
call fcn.10028d40
add esp, 8
mov dword [esp + 0x24], 0
lea edx, [esp + 0x84]
mov dword [esp + 0x28], 0
lea ecx, [esp + 0x24]
call fcn.100274b0
add esp, 4
lea ecx, [esp + 0x80]
test eax, eax
jne 0x1003032b
call fcn.10004630
mov ebx, dword [esp + 0x24]
test ebx, ebx
je 0x10030000
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 0x1003003b
lock inc dword [ebx + 4]
test ebx, ebx
je 0x1003003b
or eax, 0xffffffff
lock xadd dword [ebx + 4], eax
jne 0x1003003b
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
or eax, 0xffffffff
lock xadd dword [ebx + 8], eax
jne 0x1003003b
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
test esi, esi
je 0x100302b6
mov byte [esp + 0x1c], 0
nop dword [eax + eax]
push 4
push str..lua
push dword [esp + 0x24]
lea ecx, [esp + 0x60]
call fcn.10028d40
add esp, 0xc
lea eax, [esp + 0x80]
lea edi, [esi + 0x20]
mov ecx, edi
push eax
call fcn.1002ac20
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.1002aaa0
lea ecx, [esp + 0x80]
mov esi, eax
call fcn.10004630
lea ecx, [esp + 0x54]
call fcn.10004630
test esi, esi
jne 0x10030299
push edi
lea ecx, [esp + 0x58]
call fcn.10020970
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.10020520
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.100132d0
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x84]
call fcn.100207c0
lea ecx, [esp + 0x80]
call fcn.10004630
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 0x10030245
xor esi, esi
test ebx, ebx
jle 0x100301dc
cmp ebx, esi
jbe 0x10030317
cmp dword [edi + 0x14], 0xf
mov eax, edi
jbe 0x1003016a
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.10014090
add esp, 8
test al, al
je 0x100301cc
cmp dword [esp + 0x6c], esi
jbe 0x10030338
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, 0x1027cc54
test dword [edx], eax
lea eax, [esp + 0x13]
push eax
setne byte [esp + 0x17]
call fcn.10030880
mov al, 1
mov byte [esp + 0x13], al
jmp 0x100301d0
mov al, byte [esp + 0x13]
inc esi
add edi, 0x18
cmp ebx, esi
jg 0x1003015a
test al, al
jne 0x100301f0
lea eax, [esp + 0x13]
mov byte [esp + 0x13], 0
push eax
mov ecx, 0x1027cc54
call fcn.10030880
mov eax, dword [0x1027cc4c]
lea ecx, [esp + 0x54]
push ecx
cmp eax, dword [0x1027cc50]
je 0x10030212
mov ecx, eax
call fcn.10020970
add dword [0x1027cc4c], 0x18
jmp 0x10030218
push eax
call fcn.100366a0
mov eax, dword [0x1027cc68]
lea ecx, [esp + 0x3c]
push ecx
cmp eax, dword [0x1027cc6c]
je 0x1003023a
mov ecx, eax
call fcn.10012190
add dword [0x1027cc68], 0x18
jmp 0x10030245
push eax
mov ecx, 0x1027cc64
call fcn.100368f0
mov ecx, dword [esp + 0x50]
cmp ecx, 0xf
jbe 0x1003027b
mov edx, dword [esp + 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10030271
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1002fe34
push ecx
push edx
call fcn.1018b662
add esp, 8
lea ecx, [esp + 0x54]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0xf
mov byte [esp + 0x3c], 0
call fcn.10004630
lea ecx, [esp + 0x34]
call fcn.100213f0
mov esi, dword [esp + 0x34]
test esi, esi
jne 0x10030050
mov edi, dword [esp + 0x38]
mov ebx, dword [esp + 0x24]
or esi, 0xffffffff
test edi, edi
je 0x100302dc
mov eax, esi
lock xadd dword [edi + 4], eax
jne 0x100302dc
mov eax, dword [edi]
mov ecx, edi
call dword [eax]
mov eax, esi
lock xadd dword [edi + 8], eax
jne 0x100302dc
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
test ebx, ebx
je 0x100302fe
mov eax, esi
lock xadd dword [ebx + 4], eax
jne 0x100302fe
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax]
lock xadd dword [ebx + 8], esi
dec esi
jne 0x100302fe
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 4]
lea ecx, [esp + 0x28]
call fcn.100045b0
lea ecx, [esp + 0x70]
call fcn.10007430
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.1001f850
call fcn.10007420
call fcn.10003ad0
call fcn.10007420
push ecx
mov edx, eax
mov ecx, str.directory_iterator::directory_iterator
call fcn.1002acb0
call fcn.10030d90
int3