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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x124
mov eax, dword [0x7753d344]
xor eax, esp
mov dword [esp + 0x120], eax
push ebx
xor ebx, ebx
push esi
push edi
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x1c], ebx
cmp byte [0x77537bf4], bl
jne 0x774879a6
lea eax, [esp + 0x30]
push eax
mov eax, dword fs:[0x30]
push ebx
push ebx
push dword [eax + 8]
push 3
pop edi
push edi
call fcn.7746ba70
mov eax, dword [esp + 0x30]
push 2
pop esi
movzx eax, word [eax + 0x5c]
cmp ax, di
jne 0x7748799d
push 0x77421424
push edi
lea eax, [esp + 0x30]
push eax
call fcn.77492a60
push 4
pop edi
test eax, eax
jns 0x774c612f
push 0x775353d8
push 0x20019
lea eax, [esp + 0x1c]
mov byte [esp + 0x17], bl
push eax
mov dword [esp + 0x20], ebx
call fcn.77492a60
test eax, eax
jns 0x774c6183
push 0x7742140c
push 1
lea eax, [esp + 0x18]
push eax
call fcn.77492a60
mov esi, 0x7742143c
test eax, eax
js 0x774878a3
lea eax, [esp + 0x18]
push eax
push 0x50
lea eax, [esp + 0x90]
push eax
push 2
push esi
push dword [esp + 0x24]
call fcn.77492ab0
test eax, eax
jns 0x774c61e3
push dword [esp + 0x10]
call fcn.77492a30
cmp byte [esp + 0xf], bl
jne 0x774c61c0
lea eax, [esp + 0x38]
push eax
call fcn.7745c710
test eax, eax
js 0x77487986
movzx edx, word [esp + 0x38]
xor eax, eax
add edx, 0x78
mov word [esp + 0x20], ax
cmp edx, 0xfffe
ja 0x77487972
mov ecx, dword [0x77537bfc]
movzx eax, dx
add ecx, 0x180000
push eax
mov eax, dword fs:[0x30]
push ecx
mov word [esp + 0x2a], dx
push dword [eax + 0x18]
call fcn.77463940
mov dword [esp + 0x24], eax
test eax, eax
je 0x77487972
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.77471550
test eax, eax
js 0x7748795f
push 0x77425a80
lea eax, [esp + 0x24]
push eax
call fcn.7745ccf0
test eax, eax
js 0x7748795f
lea eax, [esp + 0x20]
mov dword [esp + 0x40], 0x18
mov dword [esp + 0x48], eax
lea eax, [esp + 0x40]
push eax
push 1
lea eax, [esp + 0x18]
mov dword [esp + 0x4c], ebx
push eax
mov dword [esp + 0x58], 0x40
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
call fcn.77492a60
test eax, eax
jns 0x774c6234
push dword [esp + 0x24]
mov eax, dword fs:[0x30]
push ebx
push dword [eax + 0x18]
call fcn.77461440
lea eax, [esp + 0x38]
push eax
call fcn.77461410
cmp byte [esp + 0xf], bl
jne 0x774c61c0
mov eax, ebx
mov ecx, dword [esp + 0x12c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.77494a40
mov esp, ebp
pop ebp
ret
cmp ax, si
je 0x77487814
xor eax, eax
jmp 0x77487988
lea eax, [esp + 0x34]
push eax
push 0x50
lea eax, [esp + 0xe0]
push eax
push esi
push 0x774219b8
push dword [esp + 0x3c]
call fcn.77492ab0
push dword [esp + 0x28]
mov esi, eax
call fcn.77492a30
test esi, esi
js 0x774c617b
cmp dword [esp + 0xdc], edi
jne 0x774c617b
cmp dword [esp + 0xe0], edi
jne 0x774c617b
cmp dword [esp + 0xe4], ebx
ja 0x77487986
push 2
pop esi
jmp 0x7748782f
lea eax, [esp + 0x18]
push eax
push 0x30
lea eax, [esp + 0x60]
push eax
push esi
push dword [esp + 0x24]
call fcn.77492aa0
push dword [esp + 0x14]
mov esi, eax
call fcn.77492a30
lea ecx, [esi + 0x7ffffffb]
neg ecx
sbb ecx, ecx
and ecx, esi
jl 0x77487853
cmp dword [esp + 0x6c], ebx
je 0x77487853
lea eax, [esp + 0x2c]
push eax
push 0x774219a8
push ebx
push ebx
call fcn.77470f00
test eax, eax
jns 0x774c6294
mov ebx, 0xc0000135
jmp 0x77487986
cmp dword [esp + 0x8c], edi
jne 0x77487890
cmp dword [esp + 0x90], edi
jne 0x77487890
cmp dword [esp + 0x94], 1
jbe 0x77487890
lea eax, [esp + 0x18]
mov byte [esp + 0xf], 1
push eax
push 0x50
lea eax, [esp + 0x90]
push eax
push 2
push 0x774219b0
push dword [esp + 0x24]
call fcn.77492ab0
jmp 0x77487890
lea eax, [esp + 0x18]
push eax
push 0x50
lea eax, [esp + 0x90]
push eax
push 2
push esi
push dword [esp + 0x24]
call fcn.77492ab0
push dword [esp + 0x10]
mov esi, eax
call fcn.77492a30
test esi, esi
js 0x7748795f
cmp dword [esp + 0x8c], edi
jne 0x7748795f
cmp dword [esp + 0x90], edi
jne 0x7748795f
cmp dword [esp + 0x94], 1
jbe 0x7748795f
mov byte [esp + 0xf], 1
jmp 0x7748795f
push dword [ebp + 4]
mov esi, dword [esp + 0x30]
lea eax, [esp + 0x20]
push ebx
push eax
push ebx
push 0x774219c0
push esi
call fcn.7746a7d0
test eax, eax
js 0x774c62d7
cmp dword [esp + 0x1c], ebx
je 0x774c62d7
mov eax, dword [0x7ffe0330]
mov ecx, eax
xor eax, dword [esp + 0x1c]
and ecx, 0x1f
ror eax, cl
mov dword [0x77537b00], eax
mov dword [0x7753873c], esi
jmp 0x77487986
push esi
call fcn.7746f360
mov ebx, 0xc0000139
jmp 0x77487986