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

Disassembly:
push 0xffffffffffffffff
push 0x4d961d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x13c
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x10], edi
mov ecx, dword [edi + 0x2c4]
cmp ecx, ebx
je 0x4891d9
push 3
call fcn.00497800
mov dword [edi + 0x2c4], ebx
mov dword [edi + 0x2c8], ebx
mov dword [edi + 0x2cc], ebx
mov ecx, dword [edi + 0x234]
xor edx, edx
mov eax, dword [ecx + 0xb0]
cmp eax, ecx
je 0x48973d
cmp byte [eax + 0x48], bl
jne 0x4891fa
cmp byte [eax + 0x50], bl
jne 0x4891fa
inc edx
mov eax, dword [eax + 0xb0]
cmp eax, ecx
jne 0x4891ef
cmp dx, 1
jl 0x48973d
push ebp
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
movsx esi, dx
cmp esi, 1
mov dword [esp + 0x154], ebx
mov dword [esp + 0x3c], esi
jb 0x4892ad
lea ebp, [edi + 0x2c4]
mov ecx, ebp
call fcn.004967e0
lea esi, [esi + esi*2]
shl esi, 2
lea eax, [esi + 4]
push eax
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x18], eax
cmp eax, ebx
mov byte [esp + 0x154], 1
je 0x489283
mov ecx, dword [esp + 0x3c]
push fcn.004968c0
mov dword [eax], ecx
push fcn.00426a10
add eax, 4
push ecx
push 0xc
push eax
mov dword [esp + 0x4c], eax
call fcn.004ce784
mov eax, dword [esp + 0x38]
jmp 0x489285
xor eax, eax
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x44]
push ecx
push edx
push eax
mov byte [esp + 0x160], bl
mov dword [ebp], eax
call fcn.004a12f0
mov eax, dword [ebp]
add esp, 0xc
add esi, eax
mov dword [ebp + 4], eax
mov dword [ebp + 8], esi
lea ecx, [esp + 0x44]
mov dword [esp + 0x154], 0xffffffff
call fcn.004968c0
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x154], 2
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
lea ecx, [esp + 0x58]
call fcn.00426990
mov dword [esp + 0x70], ebx
mov dword [esp + 0x74], ebx
lea eax, [esp + 0x38]
lea ecx, [esp + 0xb8]
push eax
mov byte [esp + 0x158], 4
mov dword [esp + 0x3c], 0x49742400
call fcn.00417d40
lea ecx, [esp + 0x40]
mov byte [esp + 0x154], 5
push ecx
lea ecx, [esp + 0xc8]
mov dword [esp + 0x44], 0xc9742400
call fcn.00417d40
lea edx, [esp + 0x50]
lea ecx, [esp + 0xa0]
push edx
mov byte [esp + 0x158], 6
mov dword [esp + 0x54], 0x49742400
call fcn.00417d40
lea eax, [esp + 0x54]
lea ecx, [esp + 0xac]
push eax
mov byte [esp + 0x158], 7
mov dword [esp + 0x58], 0xc9742400
call fcn.00417d40
lea ecx, [esp + 0x1c]
mov byte [esp + 0x154], 8
push ecx
lea ecx, [esp + 0x8c]
mov dword [esp + 0x20], 0x49742400
call fcn.00417d40
lea edx, [esp + 0x18]
lea ecx, [esp + 0x94]
push edx
mov byte [esp + 0x158], 9
mov dword [esp + 0x1c], 0xc9742400
call fcn.00417d40
lea eax, [esp + 0x18]
lea ecx, [esp + 0x80]
push eax
mov dword [esp + 0x1c], ebx
call fcn.00422260
lea ecx, [esp + 0x1c]
mov dword [esp + 0x1c], ebx
push ecx
lea ecx, [esp + 0x88]
call fcn.00422260
lea edx, [esp + 0x18]
lea ecx, [esp + 0x78]
push edx
mov dword [esp + 0x1c], ebx
call fcn.00422260
lea eax, [esp + 0x1c]
lea ecx, [esp + 0x7c]
push eax
mov dword [esp + 0x20], ebx
call fcn.00422260
mov eax, dword [edi + 0x234]
mov byte [esp + 0x154], 0xc
mov ebp, dword [eax + 0xb0]
cmp ebp, eax
je 0x489658
cmp byte [ebp + 0x48], bl
jne 0x489644
cmp byte [ebp + 0x50], bl
jne 0x489644
lea esi, [ebp + 0x24]
lea ecx, [esp + 0x44]
push esi
push ecx
lea ecx, [esp + 0x90]
mov byte [esp + 0x1b], bl
call fcn.004051b0
add esi, 0xc
lea edx, [esp + 0x100]
push esi
push edx
lea ecx, [esp + 0x9c]
call fcn.004051b0
lea eax, [edi + 0x288]
lea ecx, [esp + 0xd0]
push eax
call fcn.00417d40
push eax
lea eax, [esp + 0xe0]
push eax
lea ecx, [esp + 0x9c]
mov byte [esp + 0x15c], 0xd
call fcn.00405270
mov eax, dword [edi + 0x234]
mov dword [esp + 0x74], ebp
mov byte [esp + 0x154], 0xc
mov edi, dword [eax + 0xb0]
cmp edi, eax
je 0x489640
cmp edi, ebp
je 0x4895f1
cmp byte [edi + 0x48], bl
jne 0x4895f1
lea esi, [edi + 0x24]
lea ecx, [esp + 0xf4]
push esi
push ecx
lea ecx, [esp + 0xa8]
call fcn.004051b0
add esi, 0xc
lea edx, [esp + 0x10c]
push esi
push edx
lea ecx, [esp + 0xb4]
call fcn.004051b0
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0xe8]
add eax, 0x288
push eax
call fcn.00417d40
lea ecx, [esp + 0x118]
push eax
push ecx
lea ecx, [esp + 0xb4]
mov byte [esp + 0x15c], 0xe
call fcn.00405270
lea edx, [esp + 0xb8]
lea eax, [esp + 0x88]
push edx
push eax
lea ecx, [esp + 0xa8]
mov byte [esp + 0x15c], 0xc
call fcn.00425e80
test al, al
je 0x4895f1
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x20]
add edx, 0x280
push ecx
push edx
push ebp
mov ecx, edi
call fcn.00423c90
test al, al
je 0x4895f1
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
cmp ecx, eax
mov byte [esp + 0x13], 1
mov dword [esp + 0x70], edi
je 0x4895da
lea esi, [ecx + 0x10]
mov eax, dword [esi - 4]
mov dword [esp + 0x64], eax
mov ecx, dword [esi - 0x10]
mov dword [esp + 0x58], ecx
mov edx, dword [esi]
mov dword [esp + 0x68], edx
mov eax, dword [esi + 4]
mov dword [esp + 0x6c], eax
mov ecx, dword [esi - 0xc]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x30]
mov edx, dword [esi - 8]
lea eax, [esp + 0x58]
push eax
push ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x68], edx
call fcn.00497fd0
mov eax, dword [esp + 0x24]
add esi, 0x18
lea edx, [esi - 0x10]
cmp edx, eax
jne 0x48958c
mov ecx, dword [esp + 0x20]
cmp ecx, ebx
je 0x4895f1
push 3
call fcn.00426b60
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov eax, dword [esp + 0x14]
mov edi, dword [edi + 0xb0]
cmp edi, dword [eax + 0x234]
jne 0x4894b8
cmp byte [esp + 0x13], bl
je 0x489640
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x2c]
add ecx, 0x2c4
push edx
mov eax, dword [ecx + 4]
push eax
call fcn.00497d60
mov ecx, dword [esp + 0x2c]
cmp ecx, ebx
je 0x489640
push 3
call fcn.004978b0
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov edi, dword [esp + 0x14]
mov ebp, dword [ebp + 0xb0]
mov eax, dword [edi + 0x234]
cmp ebp, eax
jne 0x489425
mov eax, dword [edi + 0x2a4]
add edi, 0x2a4
cmp eax, ebx
pop ebp
jne 0x48966d
xor edx, edx
jmp 0x489683
mov ecx, dword [edi + 4]
sub ecx, eax
mov eax, 0x66666667
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov esi, dword [esp + 0x38]
cmp edx, esi
je 0x48970f
mov ecx, dword [edi]
cmp ecx, ebx
je 0x4896a4
push 3
call fcn.004026e0
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
lea ecx, [esp + 0x120]
call fcn.004222b0
push eax
push esi
mov ecx, edi
mov byte [esp + 0x158], 0xf
call fcn.00425aa0
lea ecx, [esp + 0x74]
call fcn.004011f0
lea ecx, [esp + 0x7c]
call fcn.004011f0
lea ecx, [esp + 0x84]
mov byte [esp + 0x150], 8
call fcn.004011f0
lea ecx, [esp + 0x9c]
mov byte [esp + 0x150], 6
call fcn.004011f0
lea ecx, [esp + 0xb4]
mov byte [esp + 0x150], 4
call fcn.004011f0
lea ecx, [esp + 0x54]
call fcn.004011f0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x150], 2
call fcn.00426a20
lea ecx, [esp + 0x28]
mov dword [esp + 0x150], 0xffffffff
call fcn.004968c0
mov ecx, dword [esp + 0x148]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x148
ret