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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4988d9
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x4fdca8]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push esi
push edi
mov eax, dword [0x4fdca8]
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.00477610
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.0046d5e0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
add esp, 0x14
mov dword [esp + 0x28], eax
cmp ecx, ebx
jne 0x470d1f
nop
cmp edi, ebx
je 0x470c9e
mov dword [edi], ebx
call fcn.00477610
mov dword [edi + 4], eax
mov eax, dword [esi]
cmp dword [eax + 0x2c], ebx
je 0x470ddc
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x34]
mov ecx, edx
cmp eax, 8
jae 0x470cbc
lea ecx, [esp + 0x34]
cmp word [ecx], 0x2e
jne 0x470dea
mov ecx, dword [esp + 0x44]
cmp ecx, 1
je 0x470cee
cmp eax, 8
mov eax, edx
jae 0x470cda
lea eax, [esp + 0x34]
cmp word [eax + 2], 0x2e
jne 0x470dea
cmp ecx, 2
jne 0x470dea
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.0046d5e0
mov edx, dword [eax + 4]
add esp, 0x14
mov dword [esp + 0x28], edx
cmp dword [eax], ebx
je 0x470c90
mov ecx, dword [esi]
lea eax, [esp + 0x50]
push eax
call fcn.00474d30
mov ecx, esi
mov byte [esp + 0xd0], 1
call fcn.0046b530
cmp edi, ebx
jne 0x470d8b
push str.boost::filesystem::directory_iterator::operator
lea ecx, [esp + 0x70]
call fcn.00402068
mov byte [esp + 0xd0], 2
call fcn.00477610
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.0046dbd0
push 0x4f838c
lea eax, [esp + 0x8c]
push eax
call sub.MSVCR100.dll__CxxThrowException
call fcn.00477610
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 0x470db5
mov ecx, dword [esp + 0x50]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
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 0x470e72
mov eax, dword [esp + 0x34]
push eax
jmp 0x470e6a
mov ecx, esi
call fcn.0046b530
cmp dword [esp + 0x48], 8
jmp 0x470e63
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.004460d0
mov esi, dword [esi]
mov ecx, esi
mov byte [esp + 0xd0], 3
call fcn.00474330
lea ecx, [esp + 0x50]
push ecx
mov ecx, esi
call fcn.004746c0
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 0x470e5f
mov eax, dword [esp + 0x50]
push eax
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 4
cmp dword [esp + 0x48], esi
jb 0x470e72
mov ecx, dword [esp + 0x34]
push ecx
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
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.00469394
mov esp, ebp
pop ebp
ret