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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov ebx, dword [esp + 0x74]
mov dword [esp], 0x4aa540
call fcn.004987c0
test eax, eax
jne 0x49aeba
xor eax, eax
mov ecx, 0xffffffff
mov edi, dword [esp + 0x70]
repne scasb al, byte es:[edi]
not ecx
mov dword [esp + 0x28], 0
mov eax, dword [esp + 0x78]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov dword [esp], 0x4f76c8
call fcn.0049c9e8
mov esi, eax
mov dword [esp], 0x4aa540
call fcn.00498a38
test eax, eax
jne 0x49aeba
test esi, esi
je 0x49ad40
mov eax, dword [esi + 4]
test eax, eax
jle 0x49ad2c
mov eax, dword [esi + 8]
test eax, eax
je 0x49acf0
mov eax, esi
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov edx, dword [esi + 0x10]
test edx, edx
je 0x49ace6
mov ebx, esi
jmp 0x49ad10
mov eax, dword [ebx + 0x10]
mov ebp, dword [eax + 8]
test ebp, ebp
jne 0x49ace6
add ebx, 4
mov edx, dword [ebx + 0x10]
test edx, edx
je 0x49ace6
mov eax, dword [edx + 4]
test eax, eax
jg 0x49acfc
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.0049aef0
jmp 0x49acfc
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.0049aef0
jmp 0x49acdf
mov dword [esp], ebx
call fcn.0049c8bc
mov ebp, eax
test eax, eax
je 0x49ad60
mov dword [esp], eax
call fcn.0049ee48
mov ebx, eax
test eax, eax
je 0x49aeb3
lea eax, [esp + 0x4c]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x48]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x44]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x40]
mov dword [esp + 8], eax
lea eax, [esp + 0x3c]
mov dword [esp + 4], eax
mov dword [esp], ebx
call fcn.0049d14c
mov esi, eax
mov dword [esp + 0x2c], eax
cmp eax, 0xffffffff
je 0x49aeb3
mov dword [esp], 0x4aa540
call fcn.00498900
test eax, eax
jne 0x49aeba
mov ecx, 0xffffffff
mov edi, dword [esp + 0x70]
repne scasb al, byte es:[edi]
not ecx
mov dword [esp + 0x28], 1
mov eax, dword [esp + 0x78]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], esi
mov dword [esp + 8], ecx
mov eax, dword [esp + 0x70]
mov dword [esp + 4], eax
mov dword [esp], 0x4f76c8
call fcn.0049c9e8
mov esi, eax
mov dword [esp], 0x4aa540
call fcn.00498a38
test eax, eax
jne 0x49aeba
test esi, esi
je 0x49ae48
mov edi, dword [esi + 4]
test edi, edi
jle 0x49aea1
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x49ae66
test ebp, ebp
je 0x49ae48
mov dword [esp], ebx
call sub.msvcrt.dll_free
test byte [esp + 0x2c], 1
je 0x49ace6
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call sub.msvcrt.dll_free
mov eax, esi
jmp 0x49ace8
mov eax, dword [esi + 0x10]
test eax, eax
je 0x49ae3c
mov edi, esi
jmp 0x49ae88
mov eax, dword [edi + 0x10]
mov eax, dword [eax + 8]
test eax, eax
jne 0x49ae3c
add edi, 4
mov eax, dword [edi + 0x10]
test eax, eax
je 0x49ae3c
mov edx, dword [eax + 4]
test edx, edx
jg 0x49ae74
mov ecx, dword [esp + 0x7c]
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.0049aef0
jmp 0x49ae74
mov eax, dword [esp + 0x7c]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.0049aef0
jmp 0x49ae35
xor eax, eax
jmp 0x49ace8
call sub.msvcrt.dll_abort
nop