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

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x5c94c8
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
xor ebp, ebp
push edi
mov dword [esi + 0x403c], ebp
mov dword [esi + 0x4038], ebp
mov dword [esi + 0x4034], ebp
mov dword [esi + 0x8048], ebp
mov dword [esi + 0x8044], ebp
mov dword [esi + 0x8040], ebp
mov edi, dword [0x5da4c4]
push ebp
push ebp
push 1
push ebp
mov dword [esi + 0x8068], ebp
mov dword [esi + 0x806c], ebp
mov dword [esi + 0x8054], ebp
mov dword [esi + 0x8058], ebp
mov dword [esi + 0x28], 0xffffffff
call edi
cmp eax, ebp
mov dword [esi + 0x805c], eax
jne 0x4d7734
mov eax, 1
jmp 0x4d7a33
push ebp
push ebp
push 1
push ebp
call edi
cmp eax, ebp
mov dword [esi + 0x8070], eax
jne 0x4d7756
push ebp
call dword [0x5da4ac]
mov eax, 2
jmp 0x4d7a33
mov eax, dword [0x639698]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0x5c], ebp
cmp eax, 0xa
push eax
jge 0x4d7779
lea ecx, [esp + 0x14]
push 0x6322fc
push ecx
jmp 0x4d7783
lea edx, [esp + 0x14]
push 0x63281c
push edx
call fcn.0058aded
mov edi, dword [0x5da4a8]
add esp, 0xc
mov dword [esp + 0x18], 0xc
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], 1
xor ebx, ebx
mov ecx, dword [esp + 0x10]
push ebp
push 0x40000080
lea eax, [esp + 0x20]
push 3
push eax
push ebp
push 0xc0000000
push ecx
call edi
cmp eax, 0xffffffff
mov dword [esi + 0x24], eax
jne 0x4d77d7
push 0x64
call dword [0x5da440]
inc ebx
cmp ebx, 0x1e
jl 0x4d77a7
cmp ebx, 0x1e
jne 0x4d77f7
lea ecx, [esp + 0x10]
mov dword [esp + 0x5c], 0xffffffff
call fcn.005936db
mov eax, 3
jmp 0x4d7a33
mov edx, dword [esi + 0x24]
mov edi, 1
push edi
push edx
call dword [0x5da510]
mov eax, dword [esi + 0x24]
push 0x1000
push 0x1000
push eax
call dword [0x5da50c]
mov ecx, dword [esi + 0x24]
push 0xf
push ecx
call dword [0x5da508]
mov eax, 0x3e8
lea edx, [esp + 0x24]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], eax
mov eax, dword [esi + 0x24]
push edx
push eax
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x30], edi
mov dword [esp + 0x38], edi
call dword [0x5da504]
mov edx, dword [esi + 0x24]
lea ecx, [esp + 0x38]
push ecx
push edx
mov dword [esp + 0x40], 0x1c
call dword [0x5da500]
mov eax, dword [esp + 0x68]
mov cl, byte [esp + 0x6c]
mov dl, byte [esp + 0x70]
mov dword [esp + 0x3c], eax
mov al, byte [esp + 0x74]
mov byte [esp + 0x4a], cl
mov ecx, dword [esp + 0x78]
mov byte [esp + 0x4c], al
mov eax, dword [esp + 0x40]
mov byte [esp + 0x4b], dl
and al, 0xf7
cmp ecx, 2
jne 0x4d789f
and al, 0xef
or al, 0x20
jmp 0x4d78ab
cmp ecx, edi
jne 0x4d78a9
and al, 0xdf
or al, 0x10
jmp 0x4d78ab
and al, 0xcf
mov ebp, dword [esp + 0x7c]
xor ecx, ecx
cmp ebp, 2
sete cl
and ecx, 1
and al, 0xfb
shl ecx, 2
or ecx, eax
cmp ebp, 1
jne 0x4d78ce
and ch, 0xdf
or ch, 0x10
jmp 0x4d78de
cmp ebp, 2
jne 0x4d78db
and ch, 0xef
or ch, 0x20
jmp 0x4d78de
and ch, 0xcf
mov edi, dword [esp + 0x80]
mov edx, dword [esi + 0x24]
test edi, edi
setne al
and eax, 1
and ch, 0xfe
shl eax, 8
or eax, ecx
mov byte [esp + 0x4d], 0x11
mov ecx, eax
and eax, 0x100
shl eax, 1
and ch, 0xfd
mov byte [esp + 0x4e], 0x13
or eax, ecx
mov ecx, 0x64
mov word [esp + 0x46], cx
mov word [esp + 0x48], cx
and al, 0xfd
lea ecx, [esp + 0x38]
or al, 1
push ecx
push edx
mov dword [esp + 0x48], eax
call dword [0x5da4fc]
test eax, eax
je 0x4d7a13
mov ebx, dword [0x5da4f8]
lea eax, [esp + 0x14]
push eax
push 0
push esi
push 0x4d8080
push 0
push 0
call ebx
lea ecx, [esp + 0x14]
mov dword [esi + 0x30], eax
push ecx
push 0
push esi
push 0x4d7e80
push 0
push 0
call ebx
test eax, eax
mov dword [esi + 0x2c], eax
jne 0x4d7996
mov edx, dword [esi + 0x24]
push edx
call dword [0x5da4ac]
lea ecx, [esp + 0x10]
mov dword [esp + 0x5c], 0xffffffff
call fcn.005936db
mov eax, 4
jmp 0x4d7a33
test byte [esp + 0x40], 0x30
je 0x4d79a5
mov eax, dword [esi + 0x24]
push 5
push eax
jmp 0x4d79ab
mov ecx, dword [esi + 0x24]
push 6
push ecx
mov ebx, dword [0x5da4f4]
call ebx
mov eax, dword [esp + 0x40]
test ah, 0x30
je 0x4d79c4
mov edx, dword [esi + 0x24]
push 3
push edx
jmp 0x4d79ca
mov eax, dword [esi + 0x24]
push 4
push eax
call ebx
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x6c]
mov dword [esi + 4], ecx
mov ecx, dword [esp + 0x74]
mov dword [esi + 0x28], eax
mov dword [esi], eax
mov eax, dword [esp + 0x70]
mov dword [esi + 8], edx
mov edx, dword [esp + 0x78]
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
mov dword [esi + 0xc], eax
mov dword [esi + 0x14], edx
mov dword [esi + 0x18], ebp
mov dword [esi + 0x1c], edi
mov dword [esp + 0x5c], 0xffffffff
call fcn.005936db
xor eax, eax
jmp 0x4d7a33
mov eax, dword [esi + 0x24]
push eax
call dword [0x5da4ac]
lea ecx, [esp + 0x10]
mov dword [esp + 0x5c], 0xffffffff
call fcn.005936db
mov eax, 5
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 0x20