Function at 0x10002b20
Capabilities:
Check if file exists
Print debug messages
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1000ec40
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x10014160]
xor eax, esp
mov dword [esp + 0x80], eax
push ebx
push esi
push edi
mov eax, dword [0x10014160]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
mov esi, 0xf
xor edi, edi
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], edi
mov byte [esp + 0x58], 0
mov dword [esp + 0xa0], edi
mov dword [esp + 0x20], edi
cmp dword [ebx + 8], edi
jbe 0x10002d24
xor edx, edx
mov dword [esp + 0x14], edx
jmp 0x10002ba4
mov edx, dword [esp + 0x14]
mov eax, dword [ebx + 4]
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x24], ecx
cmp dword [edx + ecx + 0xb], eax
ja 0x10002e01
mov eax, dword [ebx]
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], edi
movzx ecx, word [edx + ecx + 9]
mov edx, dword [eax + 8]
lea edi, [esp + 0x18]
push edi
push ecx
mov ecx, ebx
call edx
mov eax, edi
push eax
lea ecx, [esp + 0x78]
call fcn.10003170
mov edi, eax
mov byte [esp + 0xa0], 1
lea ecx, [esp + 0x58]
cmp ecx, edi
je 0x10002c5c
cmp dword [esp + 0x6c], 0x10
jb 0x10002c09
mov edx, dword [esp + 0x58]
push edx
call fcn.10005371
add esp, 4
mov dword [esp + 0x6c], esi
mov dword [esp + 0x68], 0
mov byte [esp + 0x58], 0
cmp dword [edi + 0x14], 0x10
jae 0x10002c35
mov eax, dword [edi + 0x10]
inc eax
push eax
lea eax, [esp + 0x5c]
push edi
push eax
call fcn.10005520
add esp, 0xc
jmp 0x10002c41
mov ecx, dword [edi]
mov dword [esp + 0x58], ecx
mov dword [edi], 0
mov edx, dword [edi + 0x10]
mov dword [esp + 0x68], edx
mov eax, dword [edi + 0x14]
mov dword [esp + 0x6c], eax
mov dword [edi + 0x14], esi
mov dword [edi + 0x10], 0
mov byte [edi], 0
mov byte [esp + 0xa0], 0
cmp dword [esp + 0x88], 0x10
jb 0x10002c7b
mov ecx, dword [esp + 0x74]
push ecx
call fcn.10005371
add esp, 4
mov dword [esp + 0x88], esi
mov esi, dword [esp + 0x2c]
mov edi, dword [esi]
mov dword [esp + 0x84], 0
mov byte [esp + 0x74], 0
cmp edi, dword [esi + 4]
je 0x10002ccb
cmp dword [edi + 0x34], 0x10
mov ecx, dword [edi + 0x30]
jb 0x10002cab
mov eax, dword [edi + 0x20]
jmp 0x10002cae
lea eax, [edi + 0x20]
push ecx
push eax
lea edx, [esp + 0x60]
push edx
call fcn.10003560
cmp eax, 0xffffffff
jne 0x10002d72
add edi, 0x74
cmp edi, dword [esi + 4]
jne 0x10002c9d
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x24]
mov cx, word [edx + eax + 9]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x1c]
mov word [esp + 0x30], cx
mov dword [esp + 0x34], edx
lea ecx, [esp + 0x30]
lea edx, [ebx + 0x10]
mov dword [esp + 0x38], eax
call fcn.10003d90
lea edi, [esp + 0x50]
push eax
lea eax, [ebx + 0x10]
call fcn.10003a80
mov eax, dword [esp + 0x20]
add dword [esp + 0x14], 6
inc eax
xor edi, edi
mov dword [esp + 0x20], eax
mov esi, 0xf
cmp eax, dword [ebx + 8]
jb 0x10002ba0
cmp dword [ebx + 0x18], edi
jne 0x10002e52
push str.C:_fxlog
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10002d52
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.m_mapRes_is_EMPTY.
call edi
push 0x10011574
call edi
xor edi, edi
mov dword [esp + 0xa0], 0xffffffff
cmp dword [esp + 0x6c], 0x10
jb 0x10002e45
mov edx, dword [esp + 0x58]
push edx
jmp 0x10002e3d
cmp dword [edi + 0x50], 0x10
mov ecx, dword [edi + 0x4c]
lea eax, [edi + 0x3c]
jb 0x10002d80
mov eax, dword [eax]
push ecx
push eax
lea eax, [esp + 0x60]
push eax
call fcn.10003560
cmp eax, 0xffffffff
jne 0x10002db0
push 0
lea ecx, [edi + 4]
push ecx
or eax, eax
lea esi, [esp + 0x60]
call fcn.10003350
mov ecx, eax
push 1
mov eax, 0x1001159c
call fcn.10003440
push 0xffffffffffffffff
push 0
lea edx, [esp + 0x60]
push edx
lea ecx, [edi + 0x58]
call fcn.10001fb0
cmp dword [edi + 0x6c], 0x10
jb 0x10002dcc
mov eax, dword [edi + 0x58]
jmp 0x10002dcf
lea eax, [edi + 0x58]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x24]
mov cx, word [ecx + edx + 9]
mov edi, dword [edi + 0x68]
mov word [esp + 0x3c], cx
lea ecx, [esp + 0x3c]
lea edx, [ebx + 0x10]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], edi
call fcn.10003d90
lea edi, [esp + 0x48]
jmp 0x10002cfd
push str.C:_fxlog
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10002e26
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.return_false1.
call edi
push 0x10011574
call edi
xor edi, edi
mov dword [esp + 0xa0], 0xffffffff
cmp dword [esp + 0x6c], 0x10
jb 0x10002e45
mov ecx, dword [esp + 0x58]
push ecx
call fcn.10005371
add esp, 4
mov dword [esp + 0x68], edi
mov byte [esp + 0x58], 0
xor al, al
jmp 0x10002e8b
mov eax, dword [esp + 0x28]
add ebx, 0x10
call fcn.10002ec0
mov bl, al
mov dword [esp + 0xa0], 0xffffffff
cmp dword [esp + 0x6c], 0x10
jb 0x10002e7f
mov eax, dword [esp + 0x58]
push eax
call fcn.10005371
add esp, 4
xor eax, eax
mov dword [esp + 0x68], eax
mov byte [esp + 0x58], al
mov al, bl
mov dword [esp + 0x6c], esi
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x80]
xor ecx, esp
call fcn.1000537c
mov esp, ebp
pop ebp
ret 8