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

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ecx, dword [eax]
mov ebx, dword [eax + 0xc]
mov edx, dword [eax + 4]
mov dword [ebp + 0xc], ecx
push edi
mov edi, dword [eax + 8]
mov eax, edi
shr eax, 0x10
mov dword [esi], ecx
mov ecx, ebx
shl ecx, 0x10
or ecx, eax
mov dword [esi + 0x10], edi
mov eax, dword [ebp + 0xc]
shl eax, 0x10
mov dword [esi + 4], ecx
mov ecx, ebx
shr ecx, 0x10
or ecx, eax
mov dword [esi + 8], edx
mov eax, dword [ebp + 0xc]
shr eax, 0x10
mov dword [esi + 0xc], ecx
mov ecx, edx
shl ecx, 0x10
or ecx, eax
mov dword [esi + 0x18], ebx
mov dword [esi + 0x14], ecx
mov eax, edx
shr eax, 0x10
mov ecx, edi
shl ecx, 0x10
or ecx, eax
mov dword [esi + 0x40], 0
mov eax, edi
mov dword [esi + 0x1c], ecx
mov ecx, dword [ebp + 0xc]
rol eax, 0x10
mov dword [esi + 0x20], eax
mov eax, ebx
rol eax, 0x10
mov dword [esi + 0x28], eax
mov eax, ecx
rol eax, 0x10
mov dword [esi + 0x30], eax
mov eax, edx
rol eax, 0x10
mov dword [esi + 0x38], eax
mov eax, edx
xor eax, ecx
movzx eax, ax
xor eax, ecx
mov dword [esi + 0x24], eax
mov eax, edi
xor eax, edx
movzx eax, ax
xor eax, edx
mov dword [esi + 0x2c], eax
mov eax, ebx
xor eax, edi
movzx eax, ax
xor eax, edi
mov edi, 4
mov dword [esi + 0x34], eax
mov eax, ebx
xor eax, ecx
movzx eax, ax
xor eax, ebx
mov dword [esi + 0x3c], eax
push esi
call fcn.0049ac40
add esp, 4
sub edi, 1
jne 0x49a8e5
mov eax, dword [esi + 0x10]
lea edi, [esi + 0x44]
xor dword [esi + 0x20], eax
mov eax, dword [esi + 0x14]
xor dword [esi + 0x24], eax
mov eax, dword [esi + 0x18]
xor dword [esi + 0x28], eax
mov eax, dword [esi + 0x1c]
xor dword [esi + 0x2c], eax
mov eax, dword [esi]
xor dword [esi + 0x30], eax
mov eax, dword [esi + 4]
xor dword [esi + 0x34], eax
mov eax, dword [esi + 8]
xor dword [esi + 0x38], eax
mov eax, dword [esi + 0xc]
xor dword [esi + 0x3c], eax
mov eax, dword [esi]
mov dword [edi], eax
mov eax, dword [esi + 0x20]
mov dword [esi + 0x64], eax
mov eax, dword [esi + 4]
mov dword [esi + 0x48], eax
mov eax, dword [esi + 0x24]
mov dword [esi + 0x68], eax
mov eax, dword [esi + 8]
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 0x28]
mov edx, dword [ebp + 0x10]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0xc]
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0x2c]
mov dword [esi + 0x70], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x30]
mov dword [esi + 0x74], eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x58], eax
mov eax, dword [esi + 0x34]
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x5c], eax
mov eax, dword [esi + 0x38]
mov dword [esi + 0x7c], eax
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x60], eax
mov eax, dword [esi + 0x3c]
mov dword [esi + 0x80], eax
mov eax, dword [esi + 0x40]
mov dword [esi + 0x84], eax
test edx, edx
je 0x49a99d
mov ebx, dword [edx]
mov edx, dword [edx + 4]
jmp 0x49a9ab
xorps xmm0, xmm0
movlpd qword [ebp - 8], xmm0
mov edx, dword [ebp - 4]
mov ebx, dword [ebp - 8]
mov ecx, edx
mov dword [ebp + 0xc], edx
mov eax, ebx
shl edx, 0x10
shr eax, 0x10
and ecx, 0xffff0000
or ecx, eax
movzx eax, bx
or edx, eax
mov eax, dword [esi + 0x20]
xor eax, ebx
mov dword [esi + 0x64], eax
mov eax, dword [esi + 0x24]
xor eax, ecx
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x28]
xor eax, dword [ebp + 0xc]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x2c]
xor eax, edx
mov dword [esi + 0x70], eax
mov eax, dword [esi + 0x30]
xor eax, ebx
mov dword [esi + 0x74], eax
mov eax, dword [esi + 0x34]
xor eax, ecx
mov dword [esi + 0x78], eax
mov eax, dword [esi + 0x38]
xor eax, dword [ebp + 0xc]
mov dword [esi + 0x7c], eax
mov eax, dword [esi + 0x3c]
xor eax, edx
mov dword [esi + 0x80], eax
mov eax, dword [esi]
mov dword [edi], eax
mov eax, dword [esi + 4]
mov dword [esi + 0x48], eax
mov eax, dword [esi + 8]
mov dword [esi + 0x4c], eax
mov eax, dword [esi + 0xc]
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0x54], eax
mov eax, dword [esi + 0x14]
mov dword [esi + 0x58], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x5c], eax
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x60], eax
mov eax, dword [esi + 0x40]
mov dword [esi + 0x84], eax
mov esi, 4
push edi
call fcn.0049ac40
add esp, 4
sub esi, 1
jne 0x49aa46
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret