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

Disassembly:
sub esp, 0x3c
push edi
mov edi, dword [esp + 0x44]
test byte [edi + 0xb0], 8
je 0x77aa78
xor eax, eax
pop edi
add esp, 0x3c
ret
push ebx
mov ebx, dword [edi + 0x14]
push ebp
xor ebp, ebp
mov dword [esp + 0x20], ebp
mov ecx, dword [ebx + 0x78]
mov eax, dword [ebx]
mov dword [esp + 0x40], eax
mov dword [esp + 0x1c], ecx
mov eax, dword [ecx + 0x18]
mov dword [esp + 0x28], ebp
mov dword [esp + 0x30], ebp
mov dword [esp + 0x2c], ebp
mov edx, dword [eax + 0x18]
mov dword [esp + 0x14], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0xc], ebp
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x44], edx
mov eax, dword [ecx]
test byte [eax + 0x9c], 0x40
je 0x77aac5
mov eax, dword [edx + 0x30]
jmp 0x77aacb
mov eax, dword [ecx + 0x14]
add eax, dword [edx + 0x30]
push esi
mov esi, dword [esp + 0x54]
mov dword [esp + 0x14], eax
test esi, esi
jne 0x77ac54
mov ecx, dword [esp + 0x58]
test ecx, ecx
je 0x77af66
test byte [edi + 0x54], 1
je 0x77ab1a
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x77aaf1
sub ecx, edx
push ecx
push dword [esp + 0x5c]
push 0
call fcn.00792830
xor edx, edx
mov ecx, 0x11
add esp, 0xc
div ecx
mov eax, edx
mov dword [esp + 0x30], eax
jmp 0x77ab39
push 0x14
lea eax, [edi + 0x20]
push eax
push 0
call fcn.00792830
xor edx, edx
mov ecx, 0x11
add esp, 0xc
div ecx
mov eax, edx
mov dword [esp + 0x30], edx
mov ecx, dword [esp + 0x14]
imul eax, eax, 0x2c
add ecx, eax
test byte [edi + 0xb0], 1
mov dword [esp + 0x14], ecx
je 0x77abc6
mov eax, dword [ecx]
test eax, eax
je 0x77ab6b
push eax
push ebx
call fcn.007670d0
add esp, 8
test eax, eax
jne 0x77b368
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x54]
push eax
mov eax, dword [esp + 0x64]
push eax
push dword [esp + 0x60]
push ecx
push edi
push ebx
call fcn.0077bbc0
mov ecx, eax
add esp, 0x18
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], ecx
mov eax, dword [eax]
test eax, eax
je 0x77abaa
push eax
push ebx
call fcn.00767730
add esp, 8
test eax, eax
jne 0x77b368
mov ecx, dword [esp + 0x1c]
mov ebp, dword [esp + 0x1c]
test ecx, ecx
jne 0x77b24f
mov esi, dword [esp + 0x54]
test esi, esi
je 0x77abc6
mov dword [esp + 0x34], 1
test byte [edi + 0x54], 1
jne 0x77ade5
mov ecx, dword [esp + 0x60]
and ecx, 1
add ecx, ecx
mov edx, ecx
or edx, 4
test byte [esp + 0x60], 0x10
cmove edx, ecx
test dword [esp + 0x60], 0x400
je 0x77abfa
or dword [edi + 0xb0], 0x10
or edx, 0x20
mov eax, dword [ebx]
mov ecx, edx
or ecx, 8
mov eax, dword [eax + 0x114]
test al, 0x10
cmove ecx, edx
mov dword [esp + 0x1c], ecx
test esi, esi
je 0x77acb6
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x77ac39
push eax
push ebx
call fcn.007670d0
add esp, 8
test eax, eax
jne 0x77b368
mov ecx, dword [esp + 0x20]
mov ecx, dword [ecx + 0x18]
mov eax, dword [ecx]
test byte [eax + 0x9c], 0x40
je 0x77acaa
mov eax, dword [esi + 0x1c]
mov dword [esp + 0x58], eax
jmp 0x77acba
mov eax, dword [esi]
test eax, eax
je 0x77ac6c
push eax
push ebx
call fcn.007670d0
add esp, 8
test eax, eax
jne 0x77b368
cmp dword [esi + 0x38], ebp
jne 0x77ac7c
inc dword [esi + 4]
mov dword [esp + 0x34], 1
mov eax, dword [esi]
test eax, eax
je 0x77ac94
push eax
push ebx
call fcn.00767730
add esp, 8
test eax, eax
jne 0x77b368
cmp dword [esi + 0x38], ebp
je 0x77abc6
pop esi
pop ebp
pop ebx
mov eax, 0x16
pop edi
add esp, 0x3c
ret
mov eax, dword [ecx + 0x14]
add eax, dword [esi + 0x1c]
mov dword [esp + 0x58], eax
jmp 0x77acba
mov eax, dword [esp + 0x58]
lea ecx, [esp + 0x10]
push ecx
push dword [esp + 0x60]
push eax
push 1
push ebx
call fcn.00785570
mov ebp, eax
add esp, 0x14
test ebp, ebp
jne 0x77acf1
push edi
push dword [esp + 0x68]
push dword [esp + 0x24]
push dword [esp + 0x74]
push dword [esp + 0x20]
push ebx
call fcn.00785fc0
add esp, 0x18
mov ebp, eax
test esi, esi
je 0x77ad16
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x77ad16
push eax
push ebx
call fcn.00767730
add esp, 8
test eax, eax
jne 0x77b368
test ebp, ebp
jne 0x77b215
mov eax, dword [edi]
mov dword [eax + 0xc], 1
mov eax, dword [edi]
add eax, 8
push eax
push 8
push 0xf
push ebx
call fcn.007be8a0
mov ebp, eax
add esp, 0x10
test ebp, ebp
jne 0x77b215
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x30]
push eax
push dword [edi]
push dword [esp + 0x20]
push ebx
call fcn.007e38d0
mov ebp, eax
add esp, 0x18
test ebp, ebp
je 0x77ad7c
push dword [esp + 0x10]
push 0x963e10
push ebp
push ebx
call fcn.0075b7e0
add esp, 0x10
jmp 0x77b215
mov eax, dword [esp + 0x18]
xor edx, edx
div dword [esp + 0x68]
test edx, edx
je 0x77ad95
test byte [esp + 0x60], 0x80
je 0x77adce
sub dword [esp + 0x18], edx
test esi, esi
jne 0x77b0c3
test byte [edi + 0xb0], 1
jne 0x77aded
lea eax, [edi + 0x20]
push eax
push esi
push dword [esp + 0x18]
push ebx
call fcn.007e5790
mov ebp, eax
add esp, 0x10
test ebp, ebp
jne 0x77b215
or dword [edi + 0xb0], 1
jmp 0x77af66
push dword [esp + 0x10]
push 0x941eb8
push ebx
call fcn.0075bb00
add esp, 0xc
jmp 0x77b210
test esi, esi
jne 0x77b0c3
mov ebp, dword [esp + 0x14]
mov eax, dword [ebp]
test eax, eax
je 0x77ae0a
push eax
push ebx
call fcn.007670d0
add esp, 8
test eax, eax
jne 0x77b368
lea eax, [esp + 0x54]
push eax
push dword [esp + 0x64]
push dword [esp + 0x60]
push ebp
push edi
push ebx
call fcn.0077bbc0
mov esi, dword [esp + 0x6c]
xor ecx, ecx
add esp, 0x18
test eax, eax
setne cl
mov dword [esp + 0x1c], ecx
test eax, eax
jne 0x77b1e6
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x77aeab
test esi, esi
jne 0x77aeaf
mov dword [esp + 0x24], eax
mov esi, ecx
mov dword [esp + 0x2c], eax
mov edx, ecx
mov eax, dword [ebp + 4]
mov dword [esp + 0x54], esi
cmp eax, 0xffffffff
je 0x77ae82
sub eax, ecx
lea edx, [eax + ebp]
lea eax, [edx + 4]
mov dword [ecx + 0x20], eax
mov eax, 0x1c
sub eax, edx
xor ecx, ecx
cmp edx, 0xfffffffb
cmovne ecx, eax
mov eax, dword [ebp + 4]
mov dword [eax + ebp + 0x28], ecx
mov ecx, esi
jmp 0x77ae93
mov eax, ecx
sub eax, ebp
add eax, 0x1c
mov dword [ebp + 8], eax
mov dword [edx + 0x20], 0xffffffff
mov eax, ecx
sub eax, ebp
sub eax, 4
mov dword [ebp + 4], eax
mov eax, ebp
sub eax, ecx
mov ecx, esi
add eax, 4
mov dword [ecx + 0x24], eax
jmp 0x77aef6
test esi, esi
je 0x77aef6
mov ecx, dword [edi + 0x1c]
cmp ecx, 0xffffffff
je 0x77aeca
mov eax, dword [esi + 0x94]
cmp eax, 0xffffffff
je 0x77aeca
cmp ecx, eax
jne 0x77b053
mov eax, dword [esp + 0x68]
test eax, eax
je 0x77aedb
cmp eax, dword [esi + 0x5c]
jne 0x77b053
mov ecx, dword [edi + 0x38]
cmp ecx, 0xffffffff
je 0x77aef6
mov eax, dword [esi + 0x90]
cmp eax, 0xffffffff
je 0x77aef6
cmp ecx, eax
jne 0x77b053
mov eax, dword [ebp]
test eax, eax
je 0x77af0f
push eax
push ebx
call fcn.00767730
add esp, 8
test eax, eax
jne 0x77b368
mov ebp, dword [esp + 0x24]
test ebp, ebp
je 0x77af49
mov eax, dword [ebp]
test eax, eax
je 0x77af30
push eax
push ebx
call fcn.007670d0
add esp, 8
test eax, eax
jne 0x77b368
push ebp
push dword [esp + 0x24]
call fcn.0077b6f0
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x77b215
jmp 0x77af4d
mov ebp, dword [esp + 0x1c]
test esi, esi
jne 0x77b0c3
test byte [edi + 0x54], 1
je 0x77af66
test byte [esp + 0x60], 1
je 0x77b087
mov ebp, dword [esp + 0x58]
test ebp, ebp
je 0x77af9e
test byte [edi + 0x54], 1
jne 0x77af9e
test byte [edi + 0xb0], 1
jne 0x77af9e
lea eax, [edi + 0x20]
push eax
push 0
push dword [esp + 0x18]
push ebx
call fcn.007e5790
mov ebp, eax
add esp, 0x10
test ebp, ebp
jne 0x77b215
mov ebp, dword [esp + 0x58]
lea eax, [esp + 0x2c]
push eax
push dword [esp + 0x64]
push dword [esp + 0x70]
push ebp
push edi
push dword [esp + 0x34]
call fcn.0077b920
mov ebp, eax
add esp, 0x18
test ebp, ebp
jne 0x77b215
xor edx, edx
mov eax, 0x100000
div dword [esp + 0x68]
xor edx, edx
mov ecx, eax
mov eax, dword [esp + 0x18]
div dword [esp + 0x68]
imul ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x24], edx
add eax, ecx
lea ecx, [eax - 1]
cmove ecx, eax
mov eax, dword [esp + 0x30]
mov dword [edx + 0xc], ecx
mov dword [edx + 0x14], ecx
mov dword [edx + 0x10], ecx
mov dword [edx + 0x3c], eax
cmp dword [esp + 0x58], ebp
jne 0x77aded
mov ecx, dword [esp + 0x14]
mov esi, edx
mov eax, dword [ecx]
test eax, eax
je 0x77b02d
push eax
push ebx
call fcn.007670d0
add esp, 8
test eax, eax
jne 0x77b368
mov ecx, dword [esp + 0x14]
mov edx, esi
mov dword [edx + 0x20], 0xffffffff
mov eax, dword [ecx + 8]
sub eax, edx
add eax, 4
add eax, ecx
mov dword [edx + 0x24], eax
mov eax, edx
cmp dword [ecx + 8], 0
jne 0x77b091
sub eax, ecx
sub eax, 4
mov dword [ecx + 4], eax
jmp 0x77b0a3
push dword [esp + 0x58]
push 0x942558
push ebx
call fcn.0075bb00
mov eax, dword [ebp]
add esp, 0xc
test eax, eax
je 0x77b210
push eax
push ebx
call fcn.00767730
add esp, 8
test eax, eax
jne 0x77b368
jmp 0x77b210
mov ebp, 2
jmp 0x77b215
mov edi, dword [ecx + 8]
sub eax, edi
sub eax, ecx
add eax, 0x1c
mov dword [edi + ecx + 4], eax
mov edi, dword [esp + 0x50]
mov eax, dword [ecx]
sub edx, ecx
add edx, 0x1c
mov dword [ecx + 8], edx
test eax, eax
je 0x77b0c3
push eax
push ebx
call fcn.00767730
add esp, 8
test eax, eax
jne 0x77b368
mov edx, dword [esp + 0x60]
test edx, 0x420
jne 0x77b0f8
mov ecx, dword [esi + 0xa4]
test cl, 4
je 0x77b1ec
test dl, 2
je 0x77b0ef
or ecx, 0x100
mov dword [esi + 0xa4], ecx
and ecx, 0xfffffffb
mov dword [esi + 0xa4], ecx
test dl, 4
je 0x77b107
inc dword [esi + 0x54]
or dword [edi + 0xb0], 4
mov dword [edi + 0x18], esi
mov eax, dword [esi + 0xa4]
test al, 1
je 0x77b2bb
cmp dword [esp + 0x58], 0
je 0x77b26b
test byte [edi + 0x54], 1
jne 0x77b26b
test byte [edi + 0xb0], 0x10
je 0x77b26b
cmp dword [edi + 0x34], 0
jne 0x77b26b
test dl, 8
jne 0x77b26b
mov ecx, dword [esp + 0x44]
test byte [ecx + 0x114], 0x80
jne 0x77b26b
mov eax, dword [ebx + 0x78]
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x77b17f
push eax
push ebx
call fcn.007670d0
add esp, 8
test eax, eax
jne 0x77b368
mov ecx, dword [esp + 0x48]
mov eax, 0xa00000
mov ecx, dword [ecx + 0x14]
test ecx, ecx
cmove ecx, eax
mov eax, dword [ebx + 0x78]
mov dword [esp + 0x50], ecx
mov eax, dword [eax + 0x18]
mov eax, dword [eax + 0x18]
mov eax, dword [eax]
test eax, eax
je 0x77b1b9
push eax
push ebx
call fcn.00767730
add esp, 8
test eax, eax
jne 0x77b368
mov ecx, dword [esp + 0x50]
mov eax, ecx
shr eax, 0x14
cmp dword [esp + 0x28], eax
ja 0x77b1da
jne 0x77b274
and ecx, 0xfffff
cmp dword [esp + 0x18], ecx
jb 0x77b274
and dword [esi + 0xa4], 0xfffffffe
jmp 0x77b274
mov ebp, dword [esp + 0x1c]
jmp 0x77b215
shr ecx, 8
mov eax, edx
shr eax, 1
not ecx
not eax
xor ecx, eax
test cl, 1
je 0x77b0f8
push 0x94258c
push ebx
call fcn.0075bb00
add esp, 8
mov ebp, 0x16
cmp dword [esp + 0x34], 0
je 0x77b24f
mov eax, dword [esi]
test eax, eax
je 0x77b234
push eax
push ebx
call fcn.007670d0
add esp, 8
test eax, eax
jne 0x77b368
dec dword [esi + 4]
mov eax, dword [esi]
test eax, eax
je 0x77b24f
push eax
push ebx
call fcn.00767730
add esp, 8
test eax, eax
jne 0x77b368
mov eax, dword [esp + 0x10]
test eax, eax
je 0x77b261
push eax
push ebx
call fcn.00767960
add esp, 8
pop esi
mov eax, ebp
pop ebp
pop ebx
pop edi
add esp, 0x3c
ret
and eax, 0xfffffffe
mov dword [esi + 0xa4], eax
lea edx, [edi + 0x4c]
mov dword [edx], 0
test byte [esi + 0xa4], 1
je 0x77b2bb
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x18]
push edx
shl ecx, 0x14
push 1
add eax, ecx
push eax
push dword [edi]
mov dword [edi + 0x50], eax
push dword [esp + 0x20]
push ebx
call fcn.007e5d10
add esp, 0x18
test eax, eax
je 0x77b2bb
mov dword [edi + 0x4c], 0
and dword [esi + 0xa4], 0xfffffffe
mov ecx, dword [esp + 0x20]
or dword [edi + 0xb0], 8
mov eax, dword [ecx]
test eax, eax
je 0x77b2e2
push eax
push ebx
call fcn.007670d0
add esp, 8
test eax, eax
jne 0x77b368
mov ecx, dword [esp + 0x20]
cmp dword [edi], 0
je 0x77b331
mov esi, dword [ecx + 0xc]
test esi, esi
je 0x77b331
mov eax, dword [edi + 0x18]
cmp eax, dword [esi + 0x18]
jne 0x77b308
test byte [edi + 0xb0], 0x10
jne 0x77b311
test byte [esi + 0xb0], 0x10
je 0x77b311
mov esi, dword [esi + 0xc]
test esi, esi
jne 0x77b2f1
jmp 0x77b331
mov eax, dword [edi]
add eax, 8
push eax
push ebx
call fcn.007beae0
push dword [edi]
push ebx
call fcn.00785e00
mov eax, dword [esi]
add esp, 0x10
inc dword [eax + 0xc]
mov eax, dword [esi]
mov dword [edi], eax
mov edx, dword [esp + 0x20]
lea ecx, [edi + 0xc]
mov dword [ecx], 0
mov eax, dword [edx + 0x10]
mov dword [edi + 0x10], eax
mov eax, dword [edx + 0x10]
mov dword [eax], edi
mov eax, dword [edx]
mov dword [edx + 0x10], ecx
test eax, eax
je 0x77b24f
push eax
push ebx
call fcn.00767730
add esp, 8
test eax, eax
je 0x77b24f
pop esi
pop ebp
pop ebx
mov eax, 0xffff8702
pop edi
add esp, 0x3c
ret