Function at 0x49ae70
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4ea16b
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x50e74c]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x50e74c]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebp, ecx
lea eax, [esp + 0x2c]
push eax
call fcn.0049ad40
mov dword [esp + 0x78], 0
cmp dword [esp + 0x3c], 0
jne 0x49aec7
mov byte [esp + 0x17], 0
jmp 0x49b204
push 0x34
call fcn.004c59cf
mov esi, eax
add esp, 4
mov dword [esp + 0x28], esi
mov byte [esp + 0x78], 1
test esi, esi
je 0x49aef8
push 0x34
push 0
push esi
call fcn.004cb700
add esp, 0xc
mov ecx, esi
call fcn.004c3330
mov edi, eax
jmp 0x49aefa
xor edi, edi
mov byte [esp + 0x78], 0
test edi, edi
je 0x49af08
lea esi, [edi + 8]
jmp 0x49af0a
xor esi, esi
mov dword [esp + 0x28], esi
test esi, esi
je 0x49af19
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 4]
mov byte [esp + 0x78], 2
lea eax, [esp + 0x2c]
push ecx
push 3
push 1
push SysReAllocString
push eax
lea ecx, [edi + 0x18]
call fcn.00498000
test al, al
jne 0x49af42
mov byte [esp + 0x17], al
jmp 0x49b1f4
xorps xmm0, xmm0
mov dword [esp + 0x20], 0
movq qword [esp + 0x18], xmm0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov byte [esp + 0x78], 3
lea eax, [esp + 0x17]
push eax
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x1f], 0
call fcn.0049bc90
mov ebx, dword [esp + 0x18]
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x28], 0
mov ecx, esi
mov eax, dword [esi]
push 0x84
push ebx
call dword [eax + 0x10]
test eax, eax
jne 0x49b1c5
cmp dword [esp + 0x24], 0x84
jne 0x49b1c5
mov edi, dword [esp + 0x1c]
lea ecx, [esp + 0x5c]
mov eax, edi
mov edx, ebx
sub eax, ebx
push ecx
add eax, 0xfffffff0
lea ecx, [esp + 0x48]
push eax
call fcn.004c3a70
add esp, 8
mov byte [esp + 0x78], 4
cmp dword [esp + 0x54], 0
je 0x49b1b0
lea edx, [edi - 0x10]
mov edi, 0xc
lea eax, [esp + 0x5c]
mov ecx, dword [eax]
cmp ecx, dword [edx]
jne 0x49b1b0
add eax, 4
add edx, 4
sub edi, 4
jae 0x49aff3
movzx ecx, byte [ebx]
movzx eax, byte [ebx + 1]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 2]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 3]
shl ecx, 8
or ecx, eax
mov dword [ebp + 8], 0
mov dword [ebp + 0xc], ecx
movzx ecx, byte [ebx + 4]
movzx eax, byte [ebx + 5]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 7]
shl ecx, 8
or ecx, eax
or dword [ebp + 8], ecx
movzx eax, byte [ebx + 8]
movzx ecx, byte [ebx + 9]
shl eax, 8
or ecx, eax
movzx eax, byte [ebx + 0xa]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 0xb]
shl ecx, 8
or ecx, eax
mov dword [ebp], 0
mov dword [ebp + 4], ecx
movzx ecx, byte [ebx + 0xc]
movzx eax, byte [ebx + 0xd]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 0xe]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 0xf]
shl ecx, 8
or ecx, eax
or dword [ebp], ecx
movzx eax, byte [ebx + 0x10]
movzx ecx, byte [ebx + 0x11]
shl eax, 8
or ecx, eax
movzx eax, byte [ebx + 0x12]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 0x13]
shl ecx, 8
or ecx, eax
mov dword [ebp + 0x10], 0
mov dword [ebp + 0x14], ecx
movzx eax, byte [ebx + 0x14]
movzx ecx, byte [ebx + 0x15]
shl eax, 8
or ecx, eax
movzx eax, byte [ebx + 0x16]
shl ecx, 8
or ecx, eax
movzx eax, byte [ebx + 0x17]
shl ecx, 8
or ecx, eax
or dword [ebp + 0x10], ecx
movzx eax, byte [ebx + 0x18]
shl eax, 0x18
mov dword [ebp + 0x18], eax
movzx edx, byte [ebx + 0x19]
shl edx, 0x10
or edx, eax
mov dword [ebp + 0x18], edx
movzx ecx, byte [ebx + 0x1a]
shl ecx, 8
or ecx, edx
mov dword [ebp + 0x18], ecx
movzx eax, byte [ebx + 0x1b]
or eax, ecx
mov byte [esp + 0x17], 1
mov dword [ebp + 0x18], eax
movzx eax, byte [ebx + 0x1c]
shl eax, 0x18
mov dword [ebp + 0x1c], eax
movzx edx, byte [ebx + 0x1d]
shl edx, 0x10
or edx, eax
mov dword [ebp + 0x1c], edx
movzx ecx, byte [ebx + 0x1e]
shl ecx, 8
or ecx, edx
mov dword [ebp + 0x1c], ecx
movzx eax, byte [ebx + 0x1f]
or eax, ecx
mov dword [ebp + 0x1c], eax
movzx eax, byte [ebx + 0x20]
shl eax, 0x18
mov dword [ebp + 0x20], eax
movzx edx, byte [ebx + 0x21]
shl edx, 0x10
or edx, eax
mov dword [ebp + 0x20], edx
movzx ecx, byte [ebx + 0x22]
shl ecx, 8
or ecx, edx
mov dword [ebp + 0x20], ecx
movzx eax, byte [ebx + 0x23]
or eax, ecx
mov dword [ebp + 0x20], eax
movdqu xmm0, xmmword [ebx + 0x24]
movdqu xmmword [ebp + 0x24], xmm0
movdqu xmm0, xmmword [ebx + 0x28]
movdqu xmmword [ebp + 0x34], xmm0
movdqu xmm0, xmmword [ebx + 0x38]
movdqu xmmword [ebp + 0x44], xmm0
movdqu xmm0, xmmword [ebx + 0x48]
movdqu xmmword [ebp + 0x54], xmm0
movdqu xmm0, xmmword [ebx + 0x58]
movdqu xmmword [ebp + 0x64], xmm0
mov byte [esp + 0x78], 3
lea ecx, [esp + 0x44]
call fcn.00402a90
jmp 0x49b1ca
mov byte [esp + 0x17], 0
mov byte [esp + 0x78], 3
lea ecx, [esp + 0x44]
call fcn.00402a90
jmp 0x49b1ca
mov byte [esp + 0x17], 0
mov byte [esp + 0x78], 2
test ebx, ebx
je 0x49b1f4
push ebx
call fcn.004c4eaa
add esp, 4
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov byte [esp + 0x78], 0
test esi, esi
je 0x49b204
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
mov dword [esp + 0x78], 0xffffffff
cmp dword [esp + 0x40], 8
jb 0x49b21f
push dword [esp + 0x2c]
call fcn.004c4eaa
add esp, 4
xor eax, eax
mov dword [esp + 0x40], 7
mov word [esp + 0x2c], ax
mov al, byte [esp + 0x17]
mov dword [esp + 0x3c], 0
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.004c4eaf
add esp, 0x68
ret