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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a16f9
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x61c850]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push esi
push edi
mov eax, dword [0x61c850]
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.0048bb60
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.00490b90
mov ecx, dword [eax]
mov eax, dword [eax + 4]
add esp, 0x14
mov dword [esp + 0x28], eax
cmp ecx, ebx
jne 0x490ecf
nop
cmp edi, ebx
je 0x490e4e
mov dword [edi], ebx
call fcn.0048bb60
mov dword [edi + 4], eax
mov eax, dword [esi]
cmp dword [eax + 0x2c], ebx
je 0x490f8c
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x34]
mov ecx, edx
cmp eax, 8
jae 0x490e6c
lea ecx, [esp + 0x34]
cmp word [ecx], 0x2e
jne 0x490f9a
mov ecx, dword [esp + 0x44]
cmp ecx, 1
je 0x490e9e
cmp eax, 8
mov eax, edx
jae 0x490e8a
lea eax, [esp + 0x34]
cmp word [eax + 2], 0x2e
jne 0x490f9a
cmp ecx, 2
jne 0x490f9a
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.00490b90
mov edx, dword [eax + 4]
add esp, 0x14
mov dword [esp + 0x28], edx
cmp dword [eax], ebx
je 0x490e40
mov ecx, dword [esi]
lea eax, [esp + 0x50]
push eax
call fcn.004929f0
mov ecx, esi
mov byte [esp + 0xd0], 1
call fcn.0048e5f0
cmp edi, ebx
jne 0x490f3b
push str.boost::filesystem::directory_iterator::operator
lea ecx, [esp + 0x70]
call fcn.00405770
mov byte [esp + 0xd0], 2
call fcn.0048bb60
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.0048f020
push 0x60ee08
lea eax, [esp + 0x8c]
push eax
call fcn.00497b10
call fcn.0048bb60
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 0x490f65
mov ecx, dword [esp + 0x50]
push ecx
call fcn.004970e2
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 0x491022
mov eax, dword [esp + 0x34]
push eax
jmp 0x49101a
mov ecx, esi
call fcn.0048e5f0
cmp dword [esp + 0x48], 8
jmp 0x491013
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.00408010
mov esi, dword [esi]
mov ecx, esi
mov byte [esp + 0xd0], 3
call fcn.00492490
lea ecx, [esp + 0x50]
push ecx
mov ecx, esi
call fcn.004925e0
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 0x49100f
mov eax, dword [esp + 0x50]
push eax
call fcn.004970e2
add esp, 4
cmp dword [esp + 0x48], esi
jb 0x491022
mov ecx, dword [esp + 0x34]
push ecx
call fcn.004970e2
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.00493f9c
mov esp, ebp
pop ebp
ret