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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
xor eax, eax
mov dword [esp + 4], ecx
mov dword [esp + 0x1c], eax
mov eax, dword [ecx]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 8]
push esi
mov esi, edx
push edi
movups xmm0, xmmword [eax]
mov dword [esp + 0x18], esi
mov edx, dword [esi + 0x34]
movups xmmword [esp + 0x30], xmm0
mov dword [esp + 0x14], edx
movq xmm0, qword [eax + 0x10]
mov eax, dword [eax + 0x18]
movq qword [esp + 0x40], xmm0
mov dword [esp + 0x48], eax
mov edi, dword [edx + 0x30]
test edi, edi
jne 0x4d47f8
cmp dword [edx + 0x3c], edi
jne 0x4d47f8
mov edi, dword [ecx + 8]
mov dword [esp + 0x1c], edi
test edi, edi
jne 0x4d4063
cmp dword [ecx + 0x74], edi
jne 0x4d4058
mov eax, dword [ecx]
test byte [eax + 0x4c], 8
jne 0x4d4058
mov byte [ecx + 0x17], 1
call fcn.00495690
mov edi, eax
mov dword [esp + 0x1c], eax
cmp byte [esp + 0x30], 0xc
jne 0x4d4087
mov ecx, dword [esi + 0x1c]
mov edx, 0x64
push dword [ecx]
mov ecx, edi
push dword [esp + 0x38]
call fcn.00495b60
add esp, 8
mov byte [esp + 0x30], 0xe
test dword [esi + 4], 0x400
je 0x4d40b1
mov ecx, dword [esp + 0xc]
lea eax, [esp + 0x30]
push eax
mov edx, esi
call fcn.004d3f40
mov ecx, eax
add esp, 4
mov dword [esp + 0x10], ecx
test ecx, ecx
jns 0x4d47c3
test dword [esi + 4], 0x2000
je 0x4d40da
mov edi, dword [esp + 0xc]
lea eax, [esp + 0x30]
push eax
mov edx, esi
mov ecx, edi
call fcn.004d38b0
add esp, 4
xor eax, eax
mov dword [esp + 0x10], eax
jmp 0x4d466f
cmp dword [esi + 0x30], 0
je 0x4d40f8
mov ecx, dword [ebp + 8]
mov edx, esi
push ecx
mov ecx, dword [esp + 0x10]
call fcn.004d4d40
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x14]
cmp dword [ecx + 0x34], 0
jne 0x4d412c
push 0x66bf60
push 1
push dword [esp + 0x14]
call fcn.00495f80
add esp, 0xc
push 0x66bf70
push 1
push dword [esp + 0x14]
call fcn.00495f80
mov ecx, dword [esp + 0x20]
add esp, 0xc
movzx eax, byte [esi]
sub eax, 0x84
je 0x4d448e
sub eax, 1
je 0x4d4366
sub eax, 1
je 0x4d448e
mov ecx, dword [esp + 0xc]
push 0
mov edx, dword [ecx + 0x28]
mov dword [esp + 0xc], edx
push edx
lea eax, [edx + 1]
mov edx, 0x64
mov dword [esp + 0x30], eax
inc eax
mov dword [ecx + 0x28], eax
mov ecx, edi
call fcn.00495b60
mov dword [esi + 0x14], eax
add esp, 8
mov eax, dword [esi + 0x38]
mov ecx, esi
test eax, eax
je 0x4d4189
mov ecx, eax
mov eax, dword [ecx + 0x38]
test eax, eax
jne 0x4d4180
or dword [ecx + 4], 0x20
mov eax, dword [esp + 8]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x5c], eax
lea eax, [esp + 0x58]
push eax
mov byte [esp + 0x5c], 1
mov dword [esp + 0x64], 0
mov dword [esp + 0x70], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
call fcn.004d8690
mov ecx, eax
add esp, 4
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x4d47c3
push eax
push dword [esp + 0x2c]
lea edx, [eax + 0x64]
mov ecx, edi
call fcn.00495b60
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x3c]
movzx ecx, byte [esi]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x30]
mov dword [esi + 0x34], 0
mov dword [esi + 0x3c], 0
mov dword [esp + 0x64], eax
call fcn.004d2280
push eax
push 0x66bf84
push 1
push dword [esp + 0x20]
call fcn.00495f80
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x70]
push eax
mov edx, esi
call fcn.004d8690
mov ecx, eax
add esp, 0x1c
mov eax, dword [esi + 0x34]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x34], eax
mov dword [esp + 0x10], ecx
movzx eax, word [eax + 2]
cmp word [esi + 2], ax
jle 0x4d425a
mov word [esi + 2], ax
mov edx, dword [esi + 0x3c]
test edx, edx
je 0x4d426e
mov ecx, dword [esp + 0x20]
call fcn.004ac4d0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x3c], eax
test ecx, ecx
jne 0x4d465e
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x18]
mov esi, dword [ecx + 0x38]
dec esi
push esi
mov dword [esp + 0x18], esi
lea eax, [esi - 1]
mov dword [ecx + 0x38], eax
call fcn.004d35d0
add esp, 4
mov edx, 0x25
mov ecx, edi
push esi
push dword [esp + 0xc]
call fcn.00495b60
mov ecx, dword [esp + 0x14]
call fcn.004b3540
mov esi, eax
mov edx, 0x7e
push esi
push dword [esp + 0x14]
mov ecx, edi
call fcn.00495b60
mov ecx, dword [esp + 0x2c]
mov edi, eax
mov eax, dword [esp + 0x24]
mov edx, 0x1d
push 0
push esi
dec eax
push eax
push dword [esp + 0x44]
call fcn.004960f0
mov ecx, dword [esp + 0x2c]
mov edx, esi
call fcn.004b3560
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
push eax
lea esi, [eax - 1]
push esi
lea eax, [esp + 0x58]
push eax
push 0
push 0
push dword [esp + 0x3c]
call fcn.004d1480
mov edx, esi
mov esi, dword [esp + 0x54]
mov ecx, esi
call fcn.00496260
push edi
mov edi, dword [esp + 0x44]
mov edx, 5
push edi
mov ecx, esi
call fcn.00495b60
mov edx, dword [esp + 0x54]
add esp, 0x40
mov ecx, esi
call fcn.00496260
lea eax, [edi + 1]
mov edx, 0x74
push 0
push eax
mov ecx, esi
call fcn.00495b60
push 0
push edi
mov edx, 0x74
mov ecx, esi
call fcn.00495b60
add esp, 0x10
jmp 0x4d465a
xor eax, eax
mov edx, ecx
mov dword [esp + 0x28], eax
mov eax, dword [esi + 8]
mov dword [ecx + 8], eax
mov eax, dword [esi + 0xc]
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x3c]
mov dword [ecx + 0x3c], eax
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0xc]
push eax
call fcn.004d8690
mov ecx, eax
mov dword [esi + 0x3c], 0
add esp, 4
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x4d47c3
mov dword [esi + 0x34], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 8]
mov dword [esi + 8], ecx
mov eax, dword [eax + 0xc]
mov dword [esi + 0xc], eax
test ecx, ecx
je 0x4d43ed
push ecx
mov edx, 0x14
mov ecx, edi
call fcn.00495b00
mov ecx, dword [esi + 0xc]
add esp, 4
mov dword [esp + 0x28], eax
test ecx, ecx
je 0x4d43ed
push ecx
inc ecx
mov edx, 0x98
push ecx
push dword [esi + 8]
mov ecx, edi
call fcn.00495a30
add esp, 0xc
push 0x66be38
push 1
push dword [esp + 0x14]
call fcn.00495f80
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x3c]
add esp, 0xc
mov edx, esi
push eax
call fcn.004d8690
mov cx, word [esi + 2]
add esp, 4
mov dword [esp + 0x10], eax
mov eax, dword [esi + 0x34]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x34], eax
mov dx, word [eax + 2]
call fcn.0047b100
mov edx, dword [esp + 0x14]
mov word [esi + 2], ax
mov word [esp + 8], ax
mov ecx, dword [edx + 0x3c]
test ecx, ecx
je 0x4d4474
mov ecx, dword [ecx + 0xc]
lea edx, [esp + 0x2c]
call fcn.004ada50
test eax, eax
je 0x4d4474
mov eax, dword [esp + 0x2c]
test eax, eax
jle 0x4d4474
cdq
push edx
push eax
call fcn.0047b160
add esp, 8
cmp word [esp + 8], ax
jle 0x4d4474
mov word [esi + 2], ax
mov eax, dword [esp + 0x28]
test eax, eax
je 0x4d465e
mov edx, eax
mov ecx, edi
call fcn.004964d0
jmp 0x4d465e
cmp byte [esp + 0x30], 1
jne 0x4d449f
mov eax, dword [esp + 0x34]
mov dword [esp + 8], eax
jmp 0x4d44e1
mov ecx, dword [esp + 0xc]
push 0
mov edx, dword [ecx + 0x28]
mov dword [esp + 0xc], edx
push edx
lea eax, [edx + 1]
mov edx, 0x64
mov dword [ecx + 0x28], eax
mov ecx, edi
call fcn.00495b60
mov dword [esi + 0x14], eax
add esp, 8
mov eax, dword [esi + 0x38]
mov ecx, esi
test eax, eax
je 0x4d44d9
nop
mov ecx, eax
mov eax, dword [ecx + 0x38]
test eax, eax
jne 0x4d44d0
or dword [ecx + 4], 0x20
mov eax, dword [esp + 8]
push eax
mov edx, 1
lea ecx, [esp + 0x78]
call fcn.004d05a0
mov edi, dword [esp + 0x10]
add esp, 4
mov edx, dword [esp + 0x14]
mov eax, ecx
mov ecx, edi
push eax
call fcn.004d8690
mov ecx, eax
add esp, 4
mov dword [esp + 0x10], ecx
test ecx, ecx
jne 0x4d47c3
cmp byte [esi], 0x86
mov dword [esi + 0x34], eax
mov eax, dword [esi + 0x3c]
mov dword [esp + 0x2c], eax
sete al
mov dword [esi + 0x3c], ecx
inc al
movzx ecx, byte [esi]
mov byte [esp + 0x74], al
call fcn.004d2280
push eax
push 0x66bf84
push 1
push edi
call fcn.00495f80
lea eax, [esp + 0x84]
mov edx, esi
push eax
mov ecx, edi
call fcn.004d8690
mov dword [esp + 0x24], eax
add esp, 0x14
cmp byte [esi], 0x84
mov eax, dword [esi + 0x34]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], 0
jne 0x4d4588
mov dx, word [eax + 2]
mov cx, word [esi + 2]
call fcn.0047b100
mov word [esi + 2], ax
mov edx, dword [esi + 0x3c]
test edx, edx
je 0x4d4598
mov ecx, dword [esp + 0x20]
call fcn.004ac4d0
cmp byte [esp + 0x30], 1
mov eax, dword [esp + 0x2c]
mov dword [esi + 0x3c], eax
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
je 0x4d4662
mov eax, dword [esp + 0x20]
cmp byte [eax + 0x51], 0
jne 0x4d4662
mov esi, dword [edi + 0x38]
mov eax, dword [esp + 0xc]
dec esi
mov edx, dword [esp + 0x18]
mov ecx, eax
push esi
mov dword [esp + 0x2c], esi
lea edi, [esi - 1]
mov dword [eax + 0x38], edi
call fcn.004d35d0
add esp, 4
mov edx, 0x25
push esi
push dword [esp + 0xc]
mov esi, dword [esp + 0x24]
mov ecx, esi
call fcn.00495b60
push dword [esp + 0x30]
mov edx, dword [esp + 0x24]
lea eax, [esp + 0x3c]
mov ecx, dword [esp + 0x18]
mov esi, dword [esi + 0x6c]
push edi
push eax
push 0
push 0
push dword [esp + 0x24]
call fcn.004d1480
mov edx, edi
mov edi, dword [esp + 0x3c]
mov ecx, edi
call fcn.00496260
push esi
mov esi, dword [esp + 0x2c]
mov edx, 5
push esi
mov ecx, edi
call fcn.00495b60
mov edx, dword [esp + 0x50]
mov ecx, edi
call fcn.00496260
push 0
push esi
mov edx, 0x74
mov ecx, edi
call fcn.00495b60
add esp, 0x30
mov esi, dword [esp + 0x18]
mov edi, dword [esp + 0xc]
cmp dword [esi + 0x38], 0
jne 0x4d466f
mov ecx, edi
call fcn.00495fe0
cmp dword [edi + 0x24], 0
jne 0x4d47c3
test byte [esi + 4], 0x20
je 0x4d47c3
mov eax, dword [esi + 0x1c]
mov ecx, dword [esp + 0x20]
push 1
mov eax, dword [eax]
mov edx, eax
mov dword [esp + 0x2c], eax
call fcn.004d2120
mov edi, eax
add esp, 4
mov dword [esp + 0x2c], edi
test edi, edi
jne 0x4d46ae
lea esi, [eax + 7]
jmp 0x4d47c7
lea eax, [edi + 0x14]
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 0x14], eax
cmp dword [esp + 0x28], eax
jle 0x4d4700
mov edi, dword [esp + 0xc]
push eax
mov edx, esi
mov ecx, edi
call fcn.004d3710
mov ecx, dword [esp + 0xc]
add esp, 4
mov dword [ecx], eax
test eax, eax
jne 0x4d46e5
mov eax, dword [esp + 0x20]
mov eax, dword [eax + 8]
mov dword [ecx], eax
mov eax, dword [esp + 0x14]
add ecx, 4
inc eax
mov dword [esp + 8], ecx
mov dword [esp + 0x14], eax
cmp eax, dword [esp + 0x28]
jl 0x4d46c5
mov edi, dword [esp + 0x2c]
nop
lea eax, [esi + 0x14]
mov dword [esp + 0x14], 0
mov esi, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [eax]
test eax, eax
js 0x4d47a1
mov ecx, dword [esi]
cmp byte [ecx + 0x51], 0
je 0x4d472c
mov ecx, 0x68632c
jmp 0x4d4735
mov ecx, dword [esi + 0x68]
lea edx, [eax + eax*4]
lea ecx, [ecx + edx*4]
mov edx, dword [esp + 0x28]
mov dword [ecx + 8], edx
inc dword [edi]
mov ecx, dword [esi]
cmp byte [ecx + 0x51], 0
je 0x4d4756
push edi
mov edx, 0xfffffff7
call fcn.00496640
add esp, 4
jmp 0x4d477e
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x68]
cmp byte [eax + ecx*4 + 1], 0
lea eax, [eax + ecx*4]
je 0x4d4777
push 0xfffffffffffffff7
push edi
mov edx, eax
mov ecx, esi
call fcn.00496800
add esp, 8
jmp 0x4d477e
mov dword [eax + 0x10], edi
mov byte [eax + 1], 0xf7
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x14]
inc ecx
mov dword [esp + 0x14], ecx
mov dword [eax], 0xffffffff
add eax, 4
mov dword [esp + 0xc], eax
cmp ecx, 2
jl 0x4d4713
mov esi, dword [esp + 0x18]
mov esi, dword [esi + 0x34]
mov dword [esp + 0x18], esi
test esi, esi
jne 0x4d4700
add dword [edi], 0xffffffff
jne 0x4d47c3
mov ecx, dword [edi + 0xc]
mov edx, edi
call fcn.00476790
mov esi, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
mov eax, dword [esp + 0x3c]
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x40]
mov dword [ecx + 0x10], eax
mov eax, dword [esp + 0x24]
test eax, eax
je 0x4d47f0
mov ecx, dword [esp + 0x20]
mov edx, eax
push 1
call fcn.004d0490
add esp, 4
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
movzx eax, byte [esi]
sub eax, 0x85
je 0x4d4821
sub eax, 1
je 0x4d481a
sub eax, 1
je 0x4d4813
mov eax, 0x66be58
jmp 0x4d4826
mov eax, 0x66be44
jmp 0x4d4826
mov eax, str.not_authorized
jmp 0x4d4826
mov eax, 0x66be38
push eax
mov edx, 0x66bf2c
test edi, edi
mov eax, 0x66bf20
cmove eax, edx
push eax
push 0x66bf34
push ecx
call fcn.00479ca0
add esp, 0x10
mov esi, 1
jmp 0x4d47c7