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

Disassembly:
push 0xffffffffffffffff
push 0x586638
mov eax, dword fs:[0]
push eax
mov eax, 0x484c
mov dword fs:[0], esp
call fcn.00558480
mov eax, dword [0x5f3edc]
push ebp
push esi
mov esi, ecx
mov dword [esp + 0x4850], eax
mov eax, dword [esi + 0x130]
mov ebp, 0xa
cmp eax, ebp
mov dword [esp + 8], esi
jne 0x494c2c
mov eax, dword [esi + 0x8209c]
mov ecx, dword [esi + 0x82098]
mov edx, dword [esi + 0x8208c]
push 0
push eax
push ecx
push edx
lea eax, [esi + 0x81188]
push eax
mov ecx, esi
call fcn.00493f40
jmp 0x495263
mov eax, dword [esi + 0x81184]
push ebx
push edi
xor edi, edi
cmp eax, edi
je 0x494ed0
lea ecx, [esp + 0x4c]
push ecx
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x30]
push eax
lea ebx, [esi + 0x81188]
push ebx
mov dword [esp + 0x58], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x5c], edi
call fcn.00483aa0
mov ecx, dword [esi + 0x8208c]
add esp, 0x10
cmp eax, ecx
je 0x494cb9
push 0xc
call sub.MFC71.DLL_operator_new_1
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, edi
mov dword [esp + 0x4864], edi
je 0x494c99
push 0x84
mov ecx, eax
call fcn.0049bd50
jmp 0x494c9b
xor eax, eax
push 0x5d1fa4
lea ecx, [esp + 0x18]
push ecx
mov dword [esp + 0x486c], 0xffffffff
mov dword [esp + 0x1c], eax
call sub.MSVCR71.dll__CxxThrowException
mov eax, dword [esi + 0x130]
xor edi, edi
sub eax, edi
je 0x494cdd
sub eax, 2
je 0x494cd6
sub eax, 4
jne 0x494cf2
mov edi, 6
jmp 0x494cf2
mov edi, 2
jmp 0x494cf2
mov eax, dword [esp + 0x28]
xor edx, edx
cmp eax, 0x17
sete dl
lea edx, [edx*4 + 2]
mov edi, edx
mov ecx, 0x5fda18
call fcn.004bee10
dec eax
je 0x494d24
dec eax
je 0x494d2b
mov eax, dword [esi + 0x8209c]
mov edx, dword [esi + 0x78]
mov ecx, dword [esi + 0x82098]
push eax
movzx eax, word [edx + 2]
push ecx
push eax
push 0x600
push 0
jmp 0x49525a
mov edi, 2
jmp 0x494d34
cmp edi, 2
jne 0x494ddb
mov eax, dword [esi + 0x81184]
lea edx, [esp + 0x14]
push edx
push 8
mov dword [esp + 0x1c], 2
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov eax, dword [esi + 0x81184]
lea edx, [esp + 0x24]
push edx
push 9
mov dword [esp + 0x2c], 0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov eax, dword [esi + 0x81184]
lea edx, [esp + 0x2c]
push edx
push ebp
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 3
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], 4
mov dword [esp + 0x44], 5
mov dword [esp + 0x48], 2
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov eax, dword [esi + 0x820a0]
cmp eax, 0xffffffff
mov dword [esp + 0x10], 0x55
je 0x494dc3
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x81184]
mov ecx, dword [eax]
lea edx, [esp + 0x10]
push edx
push 4
push eax
call dword [ecx + 0x10]
jmp 0x494e8e
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x81184]
lea edx, [esp + 0x24]
push edx
push 8
mov dword [esp + 0x2c], 7
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x81184]
lea edx, [esp + 0x1c]
push edx
mov esi, 1
push 9
mov dword [esp + 0x24], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x81184]
lea edx, [esp + 0x2c]
push edx
push ebp
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 2
mov dword [esp + 0x40], 4
mov dword [esp + 0x44], 5
mov dword [esp + 0x48], 3
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov eax, dword [esi + 0x820a0]
cmp eax, 0xffffffff
mov dword [esp + 0x14], 0x55
je 0x494e73
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x81184]
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push 4
push eax
call dword [ecx + 0x10]
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0x8208c]
push eax
push ebx
push ebx
call dword [sym.imp.MSVCR71.dll__swab]
mov eax, dword [esi + 0x81184]
mov ecx, dword [eax]
add esp, 0xc
lea edx, [esp + 0x58]
push edx
push ebx
push eax
call dword [ecx + 8]
mov eax, dword [esi + 0x8209c]
mov ecx, dword [esi + 0x82098]
push eax
push ecx
push edi
push 0x600
lea edx, [esp + 0x68]
push edx
jmp 0x49525a
cmp dword [esi + 0x8117c], edi
je 0x49523e
mov edi, dword [esp + 0x10]
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x20]
xor ebx, ebx
push edx
lea esi, [edi + 0x81188]
push esi
mov dword [esp + 0x54], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x60], ebx
call fcn.00483aa0
mov ecx, dword [edi + 0x8208c]
add esp, 0x10
cmp eax, ecx
je 0x494f61
push 0xc
call sub.MFC71.DLL_operator_new_1
add esp, 4
mov dword [esp + 0x20], eax
cmp eax, ebx
mov dword [esp + 0x4864], 1
je 0x494f41
push 0x84
mov ecx, eax
call fcn.0049bd50
jmp 0x494f43
xor eax, eax
mov dword [esp + 0x1c], eax
push 0x5d1fa4
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x486c], 0xffffffff
call sub.MSVCR71.dll__CxxThrowException
mov eax, dword [edi + 0x130]
sub eax, 0
je 0x494f8c
sub eax, 2
je 0x494f85
sub eax, 4
jne 0x494fa8
mov ebx, 6
mov dword [esp + 0x18], 0x17
jmp 0x494fa8
mov ebx, 2
jmp 0x494fa4
mov eax, dword [esp + 0x18]
xor ebx, ebx
cmp eax, 0x17
sete bl
cmp eax, 0x17
lea ebx, [ebx*4 + 2]
je 0x494fa8
mov dword [esp + 0x18], ebp
mov eax, dword [edi + 0x8117c]
push 0x43c00000
lea ecx, [esp + 0x58]
push ecx
lea edx, [esp + 0x20]
push edx
push esi
push eax
mov dword [esp + 0x68], 0x3f800000
call fcn.00483bb0
add esp, 0x14
test eax, eax
je 0x49501e
push 0xc
call sub.MFC71.DLL_operator_new_1
add esp, 4
mov dword [esp + 0x20], eax
test eax, eax
mov dword [esp + 0x4864], 2
je 0x494ffe
push 0x84
mov ecx, eax
call fcn.0049bd50
jmp 0x495000
xor eax, eax
push 0x5d1fa4
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x486c], 0xffffffff
mov dword [esp + 0x24], eax
call sub.MSVCR71.dll__CxxThrowException
mov ebp, ebx
mov dword [esp + 0x14], 0
shl ebp, 9
lea edi, [esp + 0x58]
nop
mov esi, dword [esp + 0x10]
mov edx, dword [esi + 0x8117c]
push edx
call fcn.00484720
add esp, 4
test eax, eax
jne 0x4951f3
mov eax, dword [esi + 0x8117c]
push eax
call fcn.00483a90
add esp, 4
cmp ebx, 2
jne 0x4950c0
mov edx, eax
mov ecx, edi
sub edx, edi
mov esi, 0x100
lea ebx, [ebx]
mov eax, dword [edx + ecx]
cmp eax, 0x43c07fff
jle 0x495081
mov eax, 0x7fff
jmp 0x49508d
cmp eax, 0x43bf8000
jge 0x49508d
mov eax, 0xffff8000
mov word [ecx], ax
mov eax, dword [edx + ecx + 0x400]
cmp eax, 0x43c07fff
jle 0x4950a5
mov eax, 0x7fff
jmp 0x4950b1
cmp eax, 0x43bf8000
jge 0x4950b1
mov eax, 0xffff8000
mov word [ecx + 2], ax
add ecx, 4
dec esi
jne 0x495070
jmp 0x4951c0
cmp ebx, 6
jne 0x4951c0
lea ecx, [edi + 4]
lea edx, [eax + 0xc00]
mov esi, 0x100
jmp 0x4950e0
mov eax, dword [edx - 0x800]
cmp eax, 0x43c07fff
jle 0x4950f4
mov eax, 0x7fff
jmp 0x495100
cmp eax, 0x43bf8000
jge 0x495100
mov eax, 0xffff8000
mov word [ecx - 4], ax
mov eax, dword [edx]
cmp eax, 0x43c07fff
jle 0x495114
mov eax, 0x7fff
jmp 0x495120
cmp eax, 0x43bf8000
jge 0x495120
mov eax, 0xffff8000
mov word [ecx - 2], ax
mov eax, dword [edx - 0x400]
cmp eax, 0x43c07fff
jle 0x495138
mov eax, 0x7fff
jmp 0x495144
cmp eax, 0x43bf8000
jge 0x495144
mov eax, 0xffff8000
mov word [ecx], ax
mov eax, dword [edx - 0xc00]
cmp eax, 0x43c07fff
jle 0x49515b
mov eax, 0x7fff
jmp 0x495167
cmp eax, 0x43bf8000
jge 0x495167
mov eax, 0xffff8000
mov word [ecx + 2], ax
mov eax, dword [edx + 0x400]
cmp eax, 0x43c07fff
jle 0x49517f
mov eax, 0x7fff
jmp 0x49518b
cmp eax, 0x43bf8000
jge 0x49518b
mov eax, 0xffff8000
mov word [ecx + 4], ax
mov eax, dword [edx + 0x800]
cmp eax, 0x43c07fff
jle 0x4951a3
mov eax, 0x7fff
jmp 0x4951af
cmp eax, 0x43bf8000
jge 0x4951af
mov eax, 0xffff8000
mov word [ecx + 6], ax
add edx, 4
add ecx, 0xc
dec esi
jne 0x4950e0
mov eax, dword [esp + 0x14]
inc eax
add edi, ebp
cmp eax, 6
mov dword [esp + 0x14], eax
jl 0x495030
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + 0x8209c]
mov eax, dword [ecx + 0x82098]
push edx
push eax
push ebx
push 0x600
lea edx, [esp + 0x68]
push edx
jmp 0x49525c
push 0xc
call sub.MFC71.DLL_operator_new_1
add esp, 4
mov dword [esp + 0x1c], eax
test eax, eax
mov dword [esp + 0x4864], 3
je 0x49521e
push 0x84
mov ecx, eax
call fcn.0049bd50
jmp 0x495220
xor eax, eax
push 0x5d1fa4
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x486c], 0xffffffff
mov dword [esp + 0x28], eax
call sub.MSVCR71.dll__CxxThrowException
mov eax, dword [esi + 0x8209c]
mov edx, dword [esi + 0x78]
mov ecx, dword [esi + 0x82098]
push eax
movzx eax, word [edx + 2]
push ecx
push eax
push 0x600
push edi
mov ecx, esi
call fcn.00494710
pop edi
pop ebx
mov ecx, dword [esp + 0x4854]
pop esi
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x484c]
pop ebp
call fcn.00558076
add esp, 0x4858
ret