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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1006dc59
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x1008b2d0]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push esi
push edi
mov eax, dword [0x1008b2d0]
xor eax, esp
push eax
lea eax, [esp + 0xc8]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x48], 7
mov dword [esp + 0x44], ebx
mov word [esp + 0x34], ax
mov eax, 0xffff
mov dword [esp + 0xd0], ebx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], eax
call fcn.100421f0
mov eax, dword [esi]
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x3c]
push ecx
add eax, 0x2c
push eax
lea edx, [esp + 0x3c]
push edx
call fcn.10045ab0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
add esp, 0x14
mov dword [esp + 0x28], eax
cmp ecx, ebx
jne 0x1004718f
nop
cmp edi, ebx
je 0x1004710e
mov dword [edi], ebx
call fcn.100421f0
mov dword [edi + 4], eax
mov eax, dword [esi]
cmp dword [eax + 0x2c], ebx
je 0x1004724c
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x34]
mov ecx, edx
cmp eax, 8
jae 0x1004712c
lea ecx, [esp + 0x34]
cmp word [ecx], 0x2e
jne 0x1004725a
mov ecx, dword [esp + 0x44]
cmp ecx, 1
je 0x1004715e
cmp eax, 8
mov eax, edx
jae 0x1004714a
lea eax, [esp + 0x34]
cmp word [eax + 2], 0x2e
jne 0x1004725a
cmp ecx, 2
jne 0x1004725a
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x3c]
push eax
mov eax, dword [esi]
add eax, 0x2c
push eax
lea ecx, [esp + 0x3c]
push ecx
call fcn.10045ab0
mov edx, dword [eax + 4]
add esp, 0x14
mov dword [esp + 0x28], edx
cmp dword [eax], ebx
je 0x10047100
mov ecx, dword [esi]
lea eax, [esp + 0x50]
push eax
call fcn.100444b0
mov ecx, esi
mov byte [esp + 0xd0], 1
call fcn.10045700
cmp edi, ebx
jne 0x100471fb
push str.boost::filesystem::directory_iterator::operator
lea ecx, [esp + 0x70]
call fcn.10003007
mov byte [esp + 0xd0], 2
call fcn.100421f0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x78]
push edx
lea ecx, [esp + 0x98]
call fcn.10039620
push 0x10082694
lea eax, [esp + 0x8c]
push eax
call fcn.1004e921
call fcn.100421f0
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [edi + 4], esi
mov esi, 8
mov dword [edi], eax
cmp dword [esp + 0x64], esi
jb 0x10047225
mov ecx, dword [esp + 0x50]
push ecx
call fcn.1004dca6
add esp, 4
xor edx, edx
mov dword [esp + 0x64], 7
mov dword [esp + 0x60], ebx
mov word [esp + 0x50], dx
cmp dword [esp + 0x48], esi
jb 0x100472e2
mov eax, dword [esp + 0x34]
push eax
jmp 0x100472da
mov ecx, esi
call fcn.10045700
cmp dword [esp + 0x48], 8
jmp 0x100472d3
push 0xffffffffffffffff
push ebx
lea eax, [esp + 0x3c]
xor edx, edx
push eax
lea ecx, [esp + 0x5c]
mov dword [esp + 0x70], 7
mov dword [esp + 0x6c], ebx
mov word [esp + 0x5c], dx
call fcn.1001854a
mov esi, dword [esi]
mov ecx, esi
mov byte [esp + 0xd0], 3
call fcn.10043a10
lea ecx, [esp + 0x50]
push ecx
mov ecx, esi
call fcn.10043b90
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esi + 0x1c], edx
mov edx, dword [esp + 0x20]
mov dword [esi + 0x20], eax
mov dword [esi + 0x24], ecx
mov dword [esi + 0x28], edx
mov esi, 8
cmp dword [esp + 0x64], esi
jb 0x100472cf
mov eax, dword [esp + 0x50]
push eax
call fcn.1004dca6
add esp, 4
cmp dword [esp + 0x48], esi
jb 0x100472e2
mov ecx, dword [esp + 0x34]
push ecx
call fcn.1004dca6
add esp, 4
mov ecx, dword [esp + 0xc8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb0]
xor ecx, esp
call fcn.1004c01d
mov esp, ebp
pop ebp
ret