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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x542719
mov eax, dword fs:[0]
push eax
sub esp, 0xb8
mov eax, dword [0x595978]
xor eax, esp
mov dword [esp + 0xb0], eax
push ebx
push esi
push edi
mov eax, dword [0x595978]
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.0049be80
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.0049a0b0
mov ecx, dword [eax]
mov eax, dword [eax + 4]
add esp, 0x14
mov dword [esp + 0x28], eax
cmp ecx, ebx
jne 0x49b15f
nop
cmp edi, ebx
je 0x49b0de
mov dword [edi], ebx
call fcn.0049be80
mov dword [edi + 4], eax
mov eax, dword [esi]
cmp dword [eax + 0x2c], ebx
je 0x49b21c
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x34]
mov ecx, edx
cmp eax, 8
jae 0x49b0fc
lea ecx, [esp + 0x34]
cmp word [ecx], 0x2e
jne 0x49b22a
mov ecx, dword [esp + 0x44]
cmp ecx, 1
je 0x49b12e
cmp eax, 8
mov eax, edx
jae 0x49b11a
lea eax, [esp + 0x34]
cmp word [eax + 2], 0x2e
jne 0x49b22a
cmp ecx, 2
jne 0x49b22a
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.0049a0b0
mov edx, dword [eax + 4]
add esp, 0x14
mov dword [esp + 0x28], edx
cmp dword [eax], ebx
je 0x49b0d0
mov ecx, dword [esi]
lea eax, [esp + 0x50]
push eax
call fcn.00498ad0
mov ecx, esi
mov byte [esp + 0xd0], 1
call fcn.00499750
cmp edi, ebx
jne 0x49b1cb
push str.boost::filesystem::directory_iterator::operator
lea ecx, [esp + 0x70]
call fcn.00408f40
mov byte [esp + 0xd0], 2
call fcn.0049be80
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.0049a590
push 0x58a1c8
lea eax, [esp + 0x8c]
push eax
call fcn.004a60bb
call fcn.0049be80
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 0x49b1f5
mov ecx, dword [esp + 0x50]
push ecx
call fcn.0049cf83
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 0x49b2b2
mov eax, dword [esp + 0x34]
push eax
jmp 0x49b2aa
mov ecx, esi
call fcn.00499750
cmp dword [esp + 0x48], 8
jmp 0x49b2a3
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.0040d880
mov esi, dword [esi]
mov ecx, esi
mov byte [esp + 0xd0], 3
call fcn.004985c0
lea ecx, [esp + 0x50]
push ecx
mov ecx, esi
call fcn.004986c0
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 0x49b29f
mov eax, dword [esp + 0x50]
push eax
call fcn.0049cf83
add esp, 4
cmp dword [esp + 0x48], esi
jb 0x49b2b2
mov ecx, dword [esp + 0x34]
push ecx
call fcn.0049cf83
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.0049cc86
mov esp, ebp
pop ebp
ret