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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x687c0c
push eax
mov dword fs:[0], esp
sub esp, 0xa4
push ebx
push ebp
push esi
push edi
mov ebx, ecx
call fcn.00496270
mov eax, dword [0x8189b8]
xor esi, esi
mov edx, dword [eax + 0x3c]
cmp edx, esi
je 0x494e4d
lea edi, [ebx + 0x1d0]
xor eax, eax
add ebx, 0xc0
mov ecx, 0x1c
add edx, 0x13c
mov dword [esp + 0x18], esi
rep stosd dword es:[edi], eax
mov dword [esp + 0x14], edx
cmp dword [ebx], esi
je 0x494c67
mov cl, byte [esp + 0x13]
push esi
mov byte [esp + 0x40], cl
lea ecx, [esp + 0x40]
call fcn.004031c0
mov edi, 0x6dfe28
or ecx, 0xffffffff
xor eax, eax
push 1
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov ebp, ecx
lea ecx, [esp + 0x40]
push ebp
call fcn.00403350
test al, al
je 0x494c3d
mov edi, dword [esp + 0x40]
mov ecx, ebp
mov edx, ecx
mov esi, 0x6dfe28
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [esp + 0x40]
mov dword [esp + 0x44], ebp
xor esi, esi
mov byte [eax + ebp], 0
mov ecx, dword [ebx]
lea eax, [esp + 0x3c]
push eax
mov dword [esp + 0xc0], esi
mov edx, dword [ecx]
call dword [edx + 0x78]
or ebp, 0xffffffff
push 1
lea ecx, [esp + 0x40]
mov dword [esp + 0xc0], ebp
call fcn.004031c0
jmp 0x494c6a
or ebp, 0xffffffff
mov ecx, dword [esp + 0x14]
mov edi, dword [ecx]
cmp edi, esi
je 0x494e2d
cmp dword [ebx + 0x74], esi
je 0x494e2d
cmp edi, esi
je 0x494e2d
push 0x14
call fcn.00673b05
add esp, 4
mov dword [esp + 0x4c], eax
cmp eax, esi
mov dword [esp + 0xbc], 1
je 0x494cdc
mov ecx, dword [ebx + 0x74]
sub esp, 0x10
add ecx, 0x80
mov edx, esp
push edi
mov ebp, dword [ecx]
mov dword [edx], ebp
mov ebp, dword [ecx + 4]
mov dword [edx + 4], ebp
mov ebp, dword [ecx + 8]
mov dword [edx + 8], ebp
mov ecx, dword [ecx + 0xc]
mov dword [edx + 0xc], ecx
mov edx, dword [esp + 0x2c]
push edx
mov ecx, eax
call fcn.004946c0
or ebp, 0xffffffff
jmp 0x494cde
xor eax, eax
mov dword [esp + 0xbc], ebp
cmp eax, esi
mov dword [ebx + 0x110], eax
je 0x494e2d
cmp dword [ebx], esi
je 0x494e2d
mov eax, dword [eax + 4]
cmp eax, 1
jg 0x494d9b
mov al, byte [esp + 0x13]
mov edi, 0x6dfe28
mov byte [esp + 0x1c], al
mov ecx, ebp
xor eax, eax
mov dword [esp + 0x20], esi
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x24], esi
push ecx
push 0x6dfe28
lea ecx, [esp + 0x24]
mov dword [esp + 0x30], esi
call fcn.004083a0
mov ecx, dword [ebx]
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0xc0], 2
mov edx, dword [ecx]
call dword [edx + 0x78]
mov eax, dword [esp + 0x20]
mov dword [esp + 0xbc], ebp
cmp eax, esi
je 0x494d8a
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x494d81
cmp al, 0xff
je 0x494d81
dec al
mov byte [ecx], al
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
jmp 0x494e2d
push ecx
call fcn.006713a0
add esp, 4
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
jmp 0x494e2d
push eax
lea ecx, [esp + 0x54]
push 0x6d3a54
push ecx
call fcn.0067429f
lea edi, [esp + 0x5c]
mov ecx, ebp
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
mov dl, byte [esp + 0x13]
lea eax, [esp + 0x50]
not ecx
dec ecx
mov byte [esp + 0x2c], dl
push ecx
push eax
lea ecx, [esp + 0x34]
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
call fcn.004083a0
mov ecx, dword [ebx]
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0xc0], 3
mov edx, dword [ecx]
call dword [edx + 0x78]
mov eax, dword [esp + 0x30]
mov dword [esp + 0xbc], ebp
cmp eax, esi
je 0x494e21
lea ecx, [eax - 1]
mov al, byte [eax - 1]
test al, al
je 0x494e18
cmp al, 0xff
je 0x494e18
dec al
mov byte [ecx], al
jmp 0x494e21
push ecx
call fcn.006713a0
add esp, 4
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov eax, dword [esp + 0x18]
mov edi, dword [esp + 0x14]
inc eax
add edi, 4
add ebx, 4
cmp eax, 0x1c
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edi
jl 0x494bdb
mov ecx, dword [esp + 0xb4]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0xb0
ret