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

Disassembly:
sub esp, 0x1d0
mov eax, dword [esp + 0x1ec]
push ebx
push ebp
push esi
mov edx, dword [esp + 0x1e0]
push edi
mov ecx, 0xc
mov esi, eax
lea edi, [esp + 0xf0]
mov ebx, dword [edx]
rep movsd dword es:[edi], dword [esi]
mov ecx, 0xc
mov esi, eax
lea edi, [esp + 0x150]
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov ecx, 0xa
lea edi, [esp + 0x88]
rep stosd dword es:[edi], eax
mov eax, dword [edx + 0x14]
xor ebp, ebp
lea ecx, [ebx + 4]
push 0x684
mov dword [esp + 0x20], ebp
mov dword [esp + 0x18], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0xa0], eax
mov dword [esp + 0x1c], ecx
call sub.MFC42.DLL_operatornew
mov esi, eax
push 0x88
mov dword [esp + 0x44], esi
call sub.MFC42.DLL_operatornew
add esp, 8
mov edx, eax
test esi, esi
mov dword [esp + 0x38], edx
je 0x49a7f0
test edx, edx
je 0x49a7f0
mov ecx, 0x1a1
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, 0x22
mov edi, edx
lea edx, [ebx + 0x24]
rep stosd dword es:[edi], eax
mov word [esi], 1
mov ecx, dword [edx]
lea eax, [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edx + 4]
mov dword [eax + 4], ecx
mov edx, dword [edx + 8]
lea ecx, [esi + 0x10]
mov dword [eax + 8], edx
lea eax, [ebx + 0x30]
mov edx, eax
add ebx, 0x18
mov edi, dword [edx]
mov dword [ecx], edi
mov edi, dword [edx + 4]
mov dword [ecx + 4], edi
mov edi, dword [edx + 8]
mov dword [ecx + 8], edi
mov edx, dword [edx + 0xc]
mov dword [ecx + 0xc], edx
mov ecx, dword [esp + 0x38]
mov word [ecx], 2
mov edi, dword [ebx]
lea edx, [ecx + 0x48]
mov dword [ecx + 0x48], edi
mov edi, dword [ebx + 4]
mov dword [edx + 4], edi
mov edi, dword [ebx + 8]
mov dword [edx + 8], edi
mov edi, dword [eax]
lea edx, [ecx + 0x54]
mov dword [ecx + 0x54], edi
mov edi, dword [eax + 4]
mov dword [edx + 4], edi
mov edi, dword [eax + 8]
mov dword [edx + 8], edi
mov eax, dword [eax + 0xc]
xor edi, edi
mov dword [edx + 0xc], eax
mov dword [esp + 0x8c], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x88], esi
add ecx, 4
mov edx, dword [ecx]
mov dword [esp + 0x20], edx
mov eax, dword [ecx + 4]
mov dword [esp + 0x24], eax
mov ebx, dword [ecx + 8]
mov dword [esp + 0x28], ebx
mov ax, word [esp + 0x2a]
mov ecx, dword [ecx + 0xc]
cmp bx, di
mov dword [esp + 0x2c], ecx
jne 0x49a519
cmp ax, di
je 0x49a560
fild dword [esp + 0x24]
movsx edx, ax
mov dword [esp + 0x10], edx
fild dword [esp + 0x10]
fmulp st(1)
fmul qword [0x51cf18]
call sub.MSVCRT.dll__ftol
fild dword [esp + 0x20]
push eax
movsx eax, bx
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmulp st(1)
fmul qword [0x51cf18]
call sub.MSVCRT.dll__ftol
lea ecx, [esp + 0x154]
push eax
push ecx
call sub.CRLUTL110.dll__UTLTranslateMatrix_12
lea edx, [esp + 0x34]
mov ebx, dword [esp + 0x1e8]
lea eax, [esp + 0x30]
push edx
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x188]
push ecx
lea eax, [esp + 0x1bc]
push edx
lea ecx, [esp + 0x100]
push eax
mov eax, dword [esp + 0x20c]
lea edx, [esp + 0x164]
push ecx
push edx
mov edx, dword [esp + 0x3c]
push eax
push ebx
mov eax, dword [esp + 0x48]
sub esp, 0x10
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x5c]
mov dword [ecx + 4], eax
mov eax, dword [esp + 0x60]
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
call fcn.00496ea0
add esp, 0x34
test eax, eax
je 0x49a7f0
mov eax, dword [esp + 0x1f4]
mov edx, dword [esp + 0x1f0]
mov ecx, dword [esp + 0x1ec]
push edi
mov dword [esp + 0x70], eax
push edi
mov dword [esp + 0x70], edx
mov edx, dword [ebx]
push 1
lea eax, [esp + 0x6c]
mov dword [esp + 0x70], ecx
push 1
push eax
mov ecx, ebx
mov dword [esp + 0x74], 4
call dword [edx + 0x58]
cmp eax, edi
mov dword [esp + 0x10], eax
jne 0x49a7f8
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x78]
push ecx
push edx
call fcn.0049a360
add esp, 8
test eax, eax
je 0x49a7f0
mov eax, dword [esp + 0x14]
cmp eax, edi
je 0x49a7e3
jmp 0x49a640
xor edi, edi
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x54], ecx
lea ecx, [esp + 0xc0]
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push ecx
lea edx, [esp + 0x18c]
lea ecx, [esp + 0x1bc]
push edx
push ecx
lea edx, [esp + 0x104]
lea ecx, [esp + 0x54]
push edx
push ecx
lea edx, [esp + 0xcc]
lea ecx, [esp + 0xfc]
push edx
mov edx, dword [esp + 0x218]
push ecx
push eax
mov eax, dword [esp + 0x40]
push edx
push ebx
push eax
mov dword [esp + 0x84], edi
mov dword [esp + 0x90], edi
call fcn.00498050
add esp, 0x34
test eax, eax
je 0x49a7f0
lea ecx, [esp + 0xd0]
lea edx, [esp + 0x78]
push ecx
lea eax, [esp + 0xc4]
push edx
lea ecx, [esp + 0x58]
push eax
push ecx
call fcn.004b7a30
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0xf0]
lea eax, [esp + 0xe0]
push edx
push eax
push ebx
push ecx
call fcn.00499130
add esp, 0x20
cmp eax, edi
mov dword [esp + 0x1c], eax
je 0x49a7f0
push edi
push eax
call fcn.00425a40
mov ebp, eax
cmp ebp, edi
je 0x49a7f0
mov eax, dword [esp + 0x40]
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x4c], edi
mov edi, dword [esp + 0x44]
sub ecx, eax
sub edi, edx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x44], edi
push edx
mov ecx, 0xc
lea esi, [esp + 0xf4]
lea edi, [esp + 0x124]
lea edx, [esp + 0x124]
push eax
push edx
rep movsd dword es:[edi], dword [esi]
call sub.CRLUTL110.dll__UTLTranslateMatrix_12
xor edi, edi
lea ecx, [esp + 0xb0]
mov eax, dword [ebx]
push edi
lea edx, [esp + 0x44]
push ecx
push edx
lea ecx, [esp + 0x12c]
lea edx, [esp + 0x4c]
push ecx
push edx
push 2
lea ecx, [esp + 0xa0]
push ebp
push ecx
mov ecx, ebx
call dword [eax + 0x3c]
push ebp
call fcn.00426320
mov esi, dword [esp + 0x14]
xor ebp, ebp
mov edx, dword [esi + 0x14]
mov dword [esp + 0x14], edx
mov eax, dword [esi + 4]
cmp eax, edi
je 0x49a7b7
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esi + 4], edi
mov eax, dword [esi + 8]
cmp eax, edi
je 0x49a7ca
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [esi + 8], edi
push esi
call sub.MFC42.DLL_operatordelete
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x40]
add esp, 4
cmp eax, edi
jne 0x49a63e
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x5c]
mov dword [esp + 0x10], eax
jmp 0x49a7f8
mov dword [esp + 0x10], 0xc9
mov eax, dword [esp + 0x14]
test eax, eax
je 0x49a809
push eax
call fcn.0049a850
add esp, 4
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x49a817
push eax
call sub.CDRRIP110.dll_RIPDestroyImage
test ebp, ebp
je 0x49a821
push ebp
call fcn.00426320
test esi, esi
je 0x49a82e
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x38]
test eax, eax
je 0x49a83f
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1d0
ret