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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xf4
mov ebx, dword [esp + 0x10c]
mov eax, 0xffffffec
cmp ebx, 0xa
jb 0x774b94
mov dword [esp + 0x10], ecx
mov edi, dword [esp + 0x108]
movzx eax, word [edi]
movzx esi, word [edi + 2]
movzx ebp, word [edi + 4]
lea ecx, [eax + esi]
add ecx, ebp
add ecx, 6
sub ebx, ecx
jae 0x77431b
mov eax, 0xffffffec
jmp 0x774b94
test eax, eax
je 0x774390
mov dword [esp], ebp
mov dword [esp + 0x44], edx
mov ecx, dword [esp + 0x110]
lea edx, [edi + 6]
lea ebp, [edi + eax]
add ebp, 6
mov dword [esp + 0x5c], ecx
mov ecx, dword [ecx]
mov dword [esp + 0x94], ecx
mov dword [esp + 0x90], edx
cmp ax, 4
jb 0x77439a
lea eax, [ebp - 4]
mov dword [esp + 0x8c], eax
mov edx, dword [ebp - 4]
mov dword [esp + 0x84], edx
mov eax, 0xffffffff
cmp edx, 0x1000000
mov edi, ebp
mov ebp, dword [esp]
jb 0x774b94
shr edx, 0x18
bsr eax, edx
not eax
add eax, 9
mov dword [esp + 0x88], eax
test esi, esi
jne 0x774403
mov eax, 0xffffffb8
jmp 0x774b94
mov dword [esp + 8], ebp
mov dword [esp + 0x8c], edx
movzx edx, byte [edx]
mov dword [esp + 0x84], edx
cmp eax, 2
je 0x7743c7
cmp eax, 3
mov ebp, dword [esp]
jne 0x7743da
movzx ecx, byte [edi + 8]
shl ecx, 0x10
or edx, ecx
jmp 0x7743ca
mov ebp, dword [esp]
movzx ecx, byte [edi + 7]
shl ecx, 8
add ecx, edx
mov dword [esp + 0x84], ecx
mov edi, dword [esp + 8]
movzx edx, byte [edi - 1]
test edx, edx
je 0x774b8f
bsr ecx, edx
xor ecx, 0x1f
shl eax, 3
sub ecx, eax
add ecx, 9
mov dword [esp + 0x88], ecx
test esi, esi
je 0x774390
lea edx, [edi + esi]
mov dword [esp + 0x80], edi
cmp si, 4
jb 0x77443c
lea eax, [edx - 4]
mov dword [esp + 0x7c], eax
mov ecx, dword [edx - 4]
mov dword [esp + 0x74], ecx
mov eax, 0xffffffff
cmp ecx, 0x1000000
jb 0x774b94
shr ecx, 0x18
bsr eax, ecx
not eax
jmp 0x77447e
mov dword [esp + 0x7c], edi
movzx eax, byte [edi]
mov dword [esp + 0x74], eax
cmp esi, 2
je 0x77445a
cmp esi, 3
jne 0x774467
movzx ecx, byte [edi + 2]
shl ecx, 0x10
or eax, ecx
movzx ecx, byte [edi + 1]
shl ecx, 8
add ecx, eax
mov dword [esp + 0x74], ecx
movzx eax, byte [edx - 1]
test eax, eax
je 0x774b8f
bsr eax, eax
xor eax, 0x1f
shl esi, 3
sub eax, esi
add eax, 9
mov dword [esp + 0x78], eax
mov eax, 0xffffffb8
test ebp, ebp
je 0x774b94
lea esi, [edx + ebp]
mov dword [esp + 0x70], edx
cmp bp, 4
jb 0x7744cc
lea eax, [esi - 4]
mov dword [esp + 0x6c], eax
mov ecx, dword [esi - 4]
mov dword [esp + 0x64], ecx
mov eax, 0xffffffff
cmp ecx, 0x1000000
jb 0x774b94
mov edi, dword [esp + 0x44]
shr ecx, 0x18
bsr eax, ecx
not eax
jmp 0x774518
mov dword [esp + 0x6c], edx
movzx eax, byte [edx]
mov dword [esp + 0x64], eax
cmp ebp, 2
je 0x7744f0
cmp ebp, 3
mov edi, dword [esp + 0x44]
jne 0x774501
movzx ecx, byte [edx + 2]
shl ecx, 0x10
or eax, ecx
jmp 0x7744f4
mov edi, dword [esp + 0x44]
movzx ecx, byte [edx + 1]
shl ecx, 8
add ecx, eax
mov dword [esp + 0x64], ecx
movzx eax, byte [esi - 1]
test eax, eax
je 0x774b8f
bsr eax, eax
xor eax, 0x1f
shl ebp, 3
sub eax, ebp
add eax, 9
mov dword [esp + 0x68], eax
lea ecx, [esp + 0xa8]
mov edx, esi
push ebx
call fcn.007784f0
add esp, 4
cmp eax, 0xffffff88
mov ecx, dword [esp + 0x10]
ja 0x774b94
lea ebp, [ecx + edi]
add dword [esp + 0x5c], 4
add edi, 3
shr edi, 2
lea eax, [ecx + edi]
mov dword [esp + 0x38], eax
add eax, edi
mov dword [esp + 0x2c], eax
add edi, eax
shr dword [esp + 0x94], 0x10
lea ecx, [esp + 0x84]
call fcn.00778590
mov esi, eax
lea ecx, [esp + 0x74]
call fcn.00778590
mov ebx, eax
or ebx, esi
lea ecx, [esp + 0x64]
call fcn.00778590
mov esi, eax
or esi, ebx
lea ecx, [esp + 0xa8]
call fcn.00778590
mov ecx, dword [esp + 0x84]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x30], ecx
mov ecx, dword [esp + 0xa8]
mov dword [esp + 0x50], ecx
or eax, esi
mov dword [esp + 0xd0], ebp
jne 0x774c03
lea eax, [ebp - 7]
mov dword [esp + 0xe8], eax
cmp edi, eax
mov edx, edi
jae 0x774bef
mov eax, dword [esp + 0x94]
neg eax
and eax, 0x1f
mov dword [esp + 0xc0], eax
mov eax, dword [esp + 0x90]
mov dword [esp + 0xbc], eax
add eax, 4
mov dword [esp + 0xe0], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 0xe4], eax
lea eax, [eax + 4]
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x40], eax
lea eax, [eax + 4]
mov dword [esp + 0xd8], eax
mov eax, dword [esp + 0xb4]
mov dword [esp + 0xb8], eax
lea eax, [eax + 4]
mov dword [esp + 0xd4], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x8c]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x24], eax
mov ebx, dword [esp + 0xb0]
mov eax, dword [esp + 0x38]
mov dword [esp + 0x18], eax
mov edi, dword [esp + 0x2c]
mov dword [esp + 0xcc], edx
mov ebp, edx
mov edx, dword [esp + 0xac]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x60], edx
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edi
mov dword [esp + 0xa4], ebx
mov dword [esp + 0x1c], ebp
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 4]
shl edx, cl
mov ebx, dword [esp + 0xc0]
mov ecx, ebx
shr edx, cl
mov ecx, dword [esp + 8]
mov esi, dword [esp + 0x34]
shl esi, cl
mov ecx, ebx
shr esi, cl
mov ecx, dword [esp]
mov ebp, dword [esp + 0x30]
shl ebp, cl
mov ecx, ebx
shr ebp, cl
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x58], edx
movzx eax, word [edi + edx*4]
mov ecx, dword [esp + 0x10]
mov word [ecx], ax
movzx eax, byte [edi + edx*4 + 2]
add eax, dword [esp + 4]
mov dword [esp + 4], eax
mov ecx, dword [esp + 0x60]
mov eax, dword [esp + 0x50]
shl eax, cl
mov ecx, ebx
shr eax, cl
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 4]
shl eax, cl
mov ecx, ebx
shr eax, cl
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x58]
movzx eax, byte [edi + eax*4 + 3]
mov dword [esp + 0x58], eax
movzx eax, word [edi + esi*4]
mov ecx, dword [esp + 0x18]
mov word [ecx], ax
movzx ecx, byte [edi + esi*4 + 2]
add ecx, dword [esp + 8]
movzx eax, byte [edi + esi*4 + 3]
mov dword [esp + 0xc8], eax
movzx eax, word [edi + ebp*4]
mov edx, dword [esp + 0xc]
mov word [edx], ax
movzx edx, byte [edi + ebp*4 + 2]
mov esi, ebp
add edx, dword [esp]
mov ebp, dword [esp + 0x34]
mov dword [esp + 8], ecx
shl ebp, cl
mov eax, ebx
mov ecx, eax
shr ebp, cl
mov dword [esp + 0xa0], ebp
mov ebx, dword [esp + 0x30]
mov dword [esp], edx
mov ecx, edx
shl ebx, cl
mov ecx, eax
shr ebx, cl
movzx eax, byte [edi + esi*4 + 3]
mov dword [esp + 0xc4], eax
mov eax, dword [esp + 0x54]
movzx ecx, word [edi + eax*4]
mov edx, dword [esp + 0x1c]
mov word [edx], cx
movzx edx, byte [edi + eax*4 + 2]
add edx, dword [esp + 0x60]
movzx eax, byte [edi + eax*4 + 3]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x20]
movzx ecx, word [edi + eax*4]
mov esi, dword [esp + 0x10]
mov ebp, dword [esp + 0x58]
mov word [esi + ebp], cx
movzx ecx, byte [edi + eax*4 + 2]
add ecx, dword [esp + 4]
mov dword [esp + 4], ecx
mov esi, dword [esp + 0x50]
mov dword [esp + 0x60], edx
mov ecx, edx
shl esi, cl
mov ecx, dword [esp + 0xc0]
shr esi, cl
movzx ecx, byte [edi + eax*4 + 3]
mov dword [esp + 0xf0], ecx
mov ebp, dword [esp + 0xa0]
movzx ecx, word [edi + ebp*4]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0xc8]
mov word [eax + edx], cx
movzx ecx, byte [edi + ebp*4 + 2]
mov dword [esp + 0x98], ecx
movzx ecx, byte [edi + ebp*4 + 3]
mov ebp, dword [esp + 0x1c]
mov dword [esp + 0xa0], ecx
movzx ecx, word [edi + ebx*4]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0xc4]
mov word [edx + eax], cx
movzx ecx, byte [edi + ebx*4 + 2]
mov dword [esp + 0x20], ecx
movzx eax, byte [edi + ebx*4 + 3]
mov dword [esp + 0xec], eax
mov dword [esp + 0x9c], esi
movzx eax, word [edi + esi*4]
mov ecx, dword [esp + 0x54]
mov word [ebp + ecx], ax
mov eax, 3
cmp dword [esp + 4], 0x20
jbe 0x77489e
mov dword [esp + 0x4c], 3
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
jmp 0x774938
mov esi, dword [esp + 0x3c]
cmp esi, dword [esp + 0xe0]
mov ecx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
jae 0x7748fe
mov ebp, esi
mov edx, dword [esp + 0xbc]
sub ebp, edx
je 0x774929
mov ebx, dword [esp + 4]
shr ebx, 3
mov dword [esp + 0x14], esi
sub dword [esp + 0x14], ebx
mov edx, dword [esp + 0xbc]
cmp dword [esp + 0x14], edx
mov edx, 0
setb dl
mov dword [esp + 0x4c], edx
cmovb ebx, ebp
sub esi, ebx
shl ebx, 3
sub dword [esp + 4], ebx
mov dword [esp + 0x3c], esi
mov esi, dword [esi]
mov dword [esp + 0x14], esi
jmp 0x774938
mov eax, dword [esp + 4]
mov ebx, eax
shr ebx, 3
sub esi, ebx
and eax, 7
mov dword [esp + 4], eax
mov eax, 3
mov dword [esp + 0x3c], esi
mov esi, dword [esi]
mov dword [esp + 0x14], esi
mov dword [esp + 0x4c], 0
jmp 0x774938
xor edx, edx
cmp dword [esp + 4], 0x20
sete dl
inc edx
mov dword [esp + 0x4c], edx
mov ebx, dword [esp + 8]
add ebx, dword [esp + 0x98]
mov esi, dword [esp + 0x5c]
mov ebp, dword [esp + 0x9c]
movzx edx, byte [esi + ebp*4 + 2]
mov dword [esp + 0x98], edx
movzx edx, byte [esi + ebp*4 + 3]
mov dword [esp + 0x9c], edx
mov dword [esp + 8], ebx
cmp ebx, 0x20
mov ebx, dword [esp + 0xe4]
jbe 0x774983
mov edx, dword [esp + 0x40]
mov ebp, dword [esp + 0x1c]
jmp 0x774a05
mov eax, dword [esp + 0x28]
cmp eax, dword [esp + 0xdc]
mov edx, dword [esp + 0x40]
mov ebp, dword [esp + 0x1c]
jae 0x7749d4
mov edi, eax
sub edi, ebx
je 0x7749f6
mov edx, dword [esp + 8]
shr edx, 3
mov esi, eax
sub esi, edx
mov dword [esp + 0x28], eax
xor eax, eax
cmp esi, ebx
setb al
cmovb edx, edi
mov esi, dword [esp + 0x28]
sub esi, edx
shl edx, 3
sub dword [esp + 8], edx
mov dword [esp + 0x28], esi
mov edx, dword [esi]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x40]
jmp 0x774a01
mov esi, eax
mov ebx, dword [esp + 8]
mov eax, ebx
shr eax, 3
sub esi, eax
and ebx, 7
mov dword [esp + 8], ebx
mov dword [esp + 0x28], esi
mov eax, dword [esi]
mov dword [esp + 0x34], eax
xor eax, eax
jmp 0x774a05
xor eax, eax
cmp dword [esp + 8], 0x20
sete al
inc eax
mov edi, dword [esp + 0xc]
mov esi, dword [esp]
add esi, dword [esp + 0x20]
mov dword [esp + 0x20], 3
mov dword [esp], esi
cmp esi, 0x20
mov esi, dword [esp + 0x24]
mov ebx, dword [esp + 0xa4]
jbe 0x774a34
mov dword [esp + 0x48], 3
jmp 0x774ab6
cmp esi, dword [esp + 0xd8]
jae 0x774a7d
mov edi, esi
sub edi, edx
je 0x774aa4
mov esi, dword [esp]
shr esi, 3
mov ebp, dword [esp + 0x24]
sub ebp, esi
xor edx, edx
cmp ebp, dword [esp + 0x40]
mov ebp, dword [esp + 0x1c]
setb dl
mov dword [esp + 0x48], edx
cmovb esi, edi
sub dword [esp + 0x24], esi
shl esi, 3
sub dword [esp], esi
mov esi, dword [esp + 0x24]
mov esi, dword [esi]
mov dword [esp + 0x30], esi
mov esi, dword [esp + 0x24]
jmp 0x774ab2
mov ebx, dword [esp]
mov edx, ebx
shr edx, 3
sub esi, edx
and ebx, 7
mov dword [esp], ebx
mov ebx, dword [esp + 0xa4]
mov edx, dword [esi]
mov dword [esp + 0x30], edx
mov dword [esp + 0x48], 0
jmp 0x774ab6
xor edx, edx
cmp dword [esp], 0x20
sete dl
inc edx
mov dword [esp + 0x48], edx
mov edi, dword [esp + 0xc]
mov edx, dword [esp + 0x60]
add edx, dword [esp + 0x98]
cmp edx, 0x20
mov dword [esp + 0x24], esi
ja 0x774b32
cmp ebx, dword [esp + 0xd4]
jae 0x774b1a
mov edi, ebx
mov esi, dword [esp + 0xb8]
sub edi, esi
je 0x774b89
mov esi, edx
shr esi, 3
mov ebp, ebx
sub ebp, esi
xor ebx, ebx
cmp ebp, dword [esp + 0xb8]
mov ebp, dword [esp + 0x1c]
setb bl
mov dword [esp + 0x20], ebx
cmovb esi, edi
lea edi, [esi*8]
sub edx, edi
mov edi, dword [esp + 0xc]
mov ebx, dword [esp + 0xa4]
jmp 0x774b2a
mov esi, edx
shr esi, 3
and edx, 7
mov dword [esp + 0x20], 0
sub ebx, esi
mov esi, dword [ebx]
mov dword [esp + 0x50], esi
add ecx, dword [esp + 0x58]
add ecx, dword [esp + 0xf0]
mov esi, dword [esp + 0x18]
add esi, dword [esp + 0xc8]
add esi, dword [esp + 0xa0]
mov dword [esp + 0x18], esi
add edi, dword [esp + 0xc4]
add edi, dword [esp + 0xec]
add ebp, dword [esp + 0x54]
add ebp, dword [esp + 0x9c]
or eax, dword [esp + 0x4c]
or eax, dword [esp + 0x48]
or eax, dword [esp + 0x20]
jne 0x774b9f
cmp ebp, dword [esp + 0xe8]
jb 0x7746a9
jmp 0x774b9f
mov edi, dword [esp + 0xc]
jmp 0x774b32
mov eax, 0xffffffff
add esp, 0xf4
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [esp + 4]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 8]
mov dword [esp + 0x78], eax
mov eax, dword [esp]
mov dword [esp + 0x68], eax
mov dword [esp + 0xac], edx
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x8c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x6c], eax
mov dword [esp + 0xb0], ebx
mov edx, dword [esp + 0xcc]
mov ebx, dword [esp + 0x38]
jmp 0x774c19
mov ebp, edx
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x10]
jmp 0x774c19
mov edx, edi
mov esi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x18], ebx
mov ecx, dword [esp + 0x10]
mov ebp, edi
mov edi, esi
mov eax, dword [esp + 0x14]
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0xa8], eax
cmp ecx, ebx
ja 0x774311
mov eax, dword [esp + 0x18]
cmp eax, dword [esp + 0x2c]
ja 0x774311
mov eax, 0xffffffec
cmp edi, edx
ja 0x774b94
movzx esi, byte [esp + 0x94]
mov dword [esp + 0x1c], ebp
mov ebp, edx
lea edx, [esp + 0x84]
push esi
mov eax, ebx
mov ebx, dword [esp + 0x60]
push ebx
push eax
call fcn.00778800
add esp, 0xc
lea edx, [esp + 0x74]
mov ecx, dword [esp + 0x18]
push esi
push ebx
push dword [esp + 0x34]
call fcn.00778800
add esp, 0xc
lea edx, [esp + 0x64]
mov ecx, edi
push esi
push ebx
push ebp
call fcn.00778800
add esp, 0xc
lea edx, [esp + 0xa8]
mov ecx, dword [esp + 0x1c]
push esi
push ebx
push dword [esp + 0xd8]
call fcn.00778800
add esp, 0xc
mov ecx, dword [esp + 0x8c]
xor ecx, dword [esp + 0x90]
mov eax, dword [esp + 0x88]
xor eax, 0x20
or eax, ecx
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
xor edx, dword [esp + 0x80]
xor ecx, 0x20
or ecx, edx
mov edx, dword [esp + 0x6c]
xor edx, dword [esp + 0x70]
mov esi, dword [esp + 0x68]
xor esi, 0x20
or esi, edx
mov edx, dword [esp + 0xac]
mov ebx, dword [esp + 0xb0]
xor ebx, dword [esp + 0xb4]
xor edx, 0x20
or edx, ebx
or edx, esi
or edx, ecx
or edx, eax
mov eax, 0xffffffec
mov ecx, dword [esp + 0x44]
cmovne ecx, eax
mov eax, ecx
jmp 0x774b94