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

Disassembly:
push 0xffffffffffffffff
push 0x548328
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xb0
push ebx
push ebp
push esi
mov eax, 1
push edi
lea ecx, [esp + 0x24]
xor ebx, ebx
xor esi, esi
mov word [esp + 0x1c], ax
mov word [esp + 0x1e], ax
mov dword [esp + 0x20], eax
call fcn.0041add0
or ebp, 0xffffffff
mov eax, dword [0x651424]
mov ecx, dword [0x651420]
cmp ecx, eax
je 0x4e6b10
lea ecx, [eax*8]
lea edi, [esp + 0x18]
sub ecx, eax
lea esi, [ecx*8 + 0x619420]
mov ecx, 0xe
rep movsd dword es:[edi], dword [esi]
mov ecx, 0x619420
call fcn.004e7150
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
cmp word [esp + 0x1c], bx
mov dword [0x694364], edx
mov dword [0x694368], ecx
jne 0x4e673c
mov word [0x694366], bx
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov dword [0x69436c], eax
mov eax, dword [esp + 0x2c]
mov dword [0x694370], edx
mov edx, dword [esp + 0x18]
mov dword [0x694374], eax
mov dword [0x69437c], 0x940b0c
lea eax, [edx - 0x101]
cmp eax, 8
ja case.0x4e6775.263
jmp dword [eax*4 + 0x4e6b2c]
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
push eax
mov ecx, 0x694360
call fcn.0049fff0
mov esi, 1
jmp 0x4e66e2
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
push ebx
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x40]
push ecx
push edx
push eax
lea ecx, [esp + 0xac]
jmp 0x4e6934
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x3c]
cmp esi, edi
mov ecx, esi
jl 0x4e67df
mov ecx, edi
mov eax, 0x55555556
imul ecx
mov eax, dword [esp + 0x40]
mov ecx, edx
shr ecx, 0x1f
lea ecx, [edx + ecx - 1]
cmp eax, ecx
jle 0x4e67fd
mov eax, ecx
mov dword [esp + 0x40], eax
movsx edx, word [esp + 0x1e]
cmp eax, edx
jl 0x4e6834
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x38]
push edi
push esi
push eax
push ecx
lea ecx, [esp + 0xbc]
call fcn.004c9320
push eax
mov ecx, 0x694360
call fcn.004a1510
mov esi, 1
jmp 0x4e66e2
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
push edi
push esi
push edx
push eax
lea ecx, [esp + 0xc8]
call fcn.004c9320
movsx ecx, word [eax + 2]
movsx edx, word [eax]
movsx esi, word [eax + 6]
movsx eax, word [eax + 4]
sub esi, ecx
sub eax, edx
inc esi
inc eax
push esi
push eax
push ecx
push edx
mov ecx, 0x694360
call fcn.004a0180
mov esi, 1
jmp 0x4e66e2
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
push edi
lea ecx, [esp + 0xa4]
push esi
push ecx
call fcn.0047aff0
mov edx, dword [eax]
add esp, 0xc
mov dword [esp + 0x64], edx
lea ecx, [esp + 0x78]
mov eax, dword [eax + 4]
mov dword [esp + 0x68], eax
call fcn.004c65b0
push edi
push esi
lea ecx, [esp + 0x80]
mov dword [esp + 0xd0], ebx
call fcn.004c6670
lea ecx, [esp + 0x64]
push 1
lea edx, [esp + 0x7c]
push ecx
push edx
mov ecx, 0x694360
call fcn.004a3ec0
push 1
push edi
push esi
mov ecx, 0x694360
call fcn.004a3f40
lea eax, [edi*4]
push eax
push esi
call fcn.00478eb0
add esp, 8
lea ecx, [esp + 0x78]
mov dword [esp + 0xc8], ebp
call fcn.004c6960
mov esi, 1
jmp 0x4e66e2
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x3c]
push 1
push ecx
mov ecx, dword [esp + 0x40]
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x40]
push ecx
push edx
push eax
lea ecx, [esp + 0xcc]
call fcn.004c9320
push eax
mov ecx, 0x694360
call fcn.004a3e20
mov esi, 1
jmp 0x4e66e2
mov al, byte [0x966100]
test al, 1
jne 0x4e698b
mov dl, al
push fcn.00458ab0
or dl, 1
mov word [0x96610a], bx
mov byte [0x966100], dl
mov word [0x966108], bx
mov word [0x96610e], bp
mov word [0x96610c], bp
call fcn.0053228e
add esp, 4
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push eax
push ecx
lea ecx, [esp + 0xa8]
call fcn.004c9320
movsx ecx, word [eax + 2]
movsx edx, word [eax]
movsx esi, word [eax + 6]
movsx eax, word [eax + 4]
sub esi, ecx
sub eax, edx
push ebx
inc esi
push 0x966108
inc eax
push esi
push eax
push ecx
push edx
mov ecx, 0x694360
call fcn.004a1c70
mov esi, 1
jmp 0x4e66e2
mov dx, word [esp + 0x1e]
mov dword [esp + 0x5c], ecx
mov word [esp + 0x58], dx
lea ecx, [esp + 0x30]
mov byte [esp + 0x5b], bl
mov byte [esp + 0x5a], bl
mov eax, dword [esp + 0x58]
lea edx, [esp + 0x74]
push ecx
push edx
lea ecx, [esp + 0x64]
mov dword [esp + 0x68], eax
call fcn.004cdfe0
mov eax, dword [eax]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x6e]
and ecx, 0xffff
and eax, 0xffff
push ecx
push eax
push ebx
push ebx
lea ecx, [esp + 0x20]
call fcn.004c9320
movsx eax, word [esp + 0x1c]
sub eax, ebx
je 0x4e6a9e
dec eax
je 0x4e6a7a
dec eax
jne 0x4e6aea
mov si, word [esp + 0x16]
mov edi, dword [esp + 0x14]
movsx edx, word [esp + 0x12]
movsx eax, si
sub eax, edx
inc eax
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x2c]
sar ecx, 1
sub eax, ecx
movsx ecx, word [esp + 0x28]
mov edx, ecx
mov word [esp + 0x14], cx
sub edx, edi
add word [esp + 0x10], dx
jmp 0x4e6ad2
mov dx, word [esp + 0x28]
mov ax, word [esp + 0x2c]
lea ecx, [esp + 0x50]
mov word [esp + 0x50], dx
push ecx
lea ecx, [esp + 0x14]
mov word [esp + 0x56], ax
call fcn.004c9350
jmp 0x4e6aea
mov si, word [esp + 0x16]
mov edi, dword [esp + 0x10]
movsx edx, word [esp + 0x12]
movsx eax, si
sub eax, edx
inc eax
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x2c]
sar ecx, 1
sub eax, ecx
movsx ecx, word [esp + 0x28]
mov edx, ecx
mov word [esp + 0x10], cx
sub edx, edi
add word [esp + 0x14], dx
mov edi, dword [esp + 0x12]
movsx eax, ax
mov ecx, eax
mov word [esp + 0x12], ax
sub ecx, edi
add si, cx
mov word [esp + 0x16], si
push ebx
push ebx
lea edx, [esp + 0x18]
push ebp
lea eax, [esp + 0x68]
push edx
lea ecx, [esp + 0x40]
push eax
push ecx
mov ecx, 0x694360
call fcn.004a7f80
mov esi, 1
jmp 0x4e66e2
mov ecx, dword [esp + 0xc0]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xbc
ret