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

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push edi
mov edi, dword [esi + 0x28]
xor ebx, ebx
cmp edi, ebx
je 0x777048
mov eax, dword [edi + 0xc]
mov ecx, dword [edi]
push eax
push ecx
call fcn.007722f0
mov edx, dword [edi]
push edi
push edx
call fcn.007722f0
add esp, 0x10
mov eax, dword [esi]
push eax
call fcn.00775300
mov eax, dword [esi + 0x2c]
add esp, 4
cmp eax, ebx
je 0x777066
mov ecx, dword [eax]
push eax
push ecx
call fcn.007722f0
add esp, 8
mov eax, dword [esi + 0x48]
cmp eax, ebx
mov dword [esi + 0x2c], ebx
je 0x77707c
mov edx, dword [eax]
push eax
push edx
call fcn.007722f0
add esp, 8
mov eax, dword [esi + 0x4c]
cmp eax, ebx
mov dword [esi + 0x48], ebx
je 0x777092
push eax
mov eax, dword [eax]
push eax
call fcn.007722f0
add esp, 8
mov edi, dword [esi + 0x50]
cmp edi, ebx
mov dword [esi + 0x4c], ebx
je 0x7770c0
mov ecx, dword [edi + 0xc]
mov edx, dword [edi]
push ecx
push edx
call fcn.007722f0
mov eax, dword [edi + 0x10]
mov ecx, dword [edi]
push eax
push ecx
call fcn.007722f0
mov edx, dword [edi]
push edi
push edx
call fcn.007722f0
add esp, 0x18
mov edi, dword [esi + 0x54]
cmp edi, ebx
mov dword [esi + 0x50], ebx
je 0x7770ee
mov eax, dword [edi + 0xc]
mov ecx, dword [edi]
push eax
push ecx
call fcn.007722f0
mov edx, dword [edi + 0x10]
mov eax, dword [edi]
push edx
push eax
call fcn.007722f0
mov ecx, dword [edi]
push edi
push ecx
call fcn.007722f0
add esp, 0x18
mov eax, dword [esi + 0x30]
cmp eax, ebx
mov dword [esi + 0x54], ebx
je 0x777104
mov edx, dword [eax]
push eax
push edx
call fcn.007722f0
add esp, 8
mov edi, dword [esi + 0x34]
cmp edi, ebx
je 0x777123
mov eax, dword [edi + 4]
mov ecx, dword [edi]
push eax
push ecx
call fcn.007722f0
mov edx, dword [edi]
push edi
push edx
call fcn.007722f0
add esp, 0x10
mov edi, dword [esi + 0x38]
cmp edi, ebx
mov dword [esi + 0x34], ebx
je 0x777145
mov eax, dword [edi + 0xc]
mov ecx, dword [edi]
push eax
push ecx
call fcn.007722f0
mov edx, dword [edi]
push edi
push edx
call fcn.007722f0
add esp, 0x10
mov eax, dword [esi + 0x3c]
push eax
mov dword [esi + 0x38], ebx
call fcn.00782fb0
mov ecx, dword [esi + 0x40]
push ecx
mov dword [esi + 0x3c], ebx
call fcn.00782740
mov eax, dword [esi + 0xcc]
add esp, 8
mov edi, ebp
mov dword [esi + 0x40], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
call fcn.00775510
cmp eax, ebx
mov dword [esi + 0x28], eax
je 0x7771a0
mov edx, dword [eax + 8]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0xd8], edx
mov eax, dword [eax + 0xc]
mov edx, dword [eax + ecx*4]
push edx
push ebp
call fcn.00771ec0
add esp, 8
mov eax, dword [esi + 0xcc]
push ebp
push eax
call fcn.00775240
push 0x68656164
push esi
mov dword [esi], eax
call fcn.00775e70
add esp, 0x10
cmp eax, ebx
je 0x7771f5
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
mov eax, dword [esi + 0xcc]
push ebx
push ebx
push ecx
push edx
push ebp
push eax
call fcn.00771db0
mov ebx, dword [esi + 0xcc]
mov edi, eax
call fcn.00775590
push 0
push edi
mov dword [esi + 0x2c], eax
call fcn.00771ee0
add esp, 0x20
xor ebx, ebx
push 0x68686561
push esi
call fcn.00775e70
add esp, 8
cmp eax, ebx
je 0x77723b
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
mov eax, dword [esi + 0xcc]
push ebx
push ebx
push ecx
push edx
push ebp
push eax
call fcn.00771db0
mov ebx, dword [esi + 0xcc]
mov edi, eax
call fcn.00775350
push 0
push edi
mov dword [esi + 0x48], eax
call fcn.00771ee0
add esp, 0x20
xor ebx, ebx
push 0x76686561
push esi
call fcn.00775e70
add esp, 8
cmp eax, ebx
je 0x777281
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
mov eax, dword [esi + 0xcc]
push ebx
push ebx
push ecx
push edx
push ebp
push eax
call fcn.00771db0
mov ebx, dword [esi + 0xcc]
mov edi, eax
call fcn.00775350
push 0
push edi
mov dword [esi + 0x4c], eax
call fcn.00771ee0
add esp, 0x20
xor ebx, ebx
push 0x6d617870
push esi
call fcn.00775e70
add esp, 8
cmp eax, ebx
je 0x7772c7
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
mov eax, dword [esi + 0xcc]
push ebx
push ebx
push ecx
push edx
push ebp
push eax
call fcn.00771db0
mov ebx, dword [esi + 0xcc]
mov edi, eax
call fcn.00775660
push 0
push edi
mov dword [esi + 0x30], eax
call fcn.00771ee0
add esp, 0x20
xor ebx, ebx
push 0x6c6f6361
push esi
call fcn.00775e70
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x77731f
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0xc]
mov eax, dword [esi + 0xcc]
push ebx
push ebx
push ecx
push edx
push ebp
push eax
call fcn.00771db0
mov edx, dword [esi + 0x2c]
mov ecx, dword [edi + 0x10]
mov ebx, eax
xor eax, eax
mov ax, word [edx + 0x36]
push ecx
mov ecx, dword [esi + 0xcc]
push eax
push ebx
push ecx
call fcn.00775730
push 0
push ebx
mov dword [esi + 0x34], eax
call fcn.00771ee0
add esp, 0x30
xor ebx, ebx
push 0x43464620
push esi
call fcn.00775e70
add esp, 8
cmp eax, ebx
je 0x77733d
mov edx, dword [eax + 0xc]
mov dword [esi + 0x60], edx
mov eax, dword [eax + 0x10]
mov dword [esi + 0x64], eax
push 0x44534947
push esi
call fcn.00775e70
add esp, 8
cmp eax, ebx
je 0x77735b
mov ecx, dword [eax + 0xc]
mov dword [esi + 0x68], ecx
mov edx, dword [eax + 0x10]
mov dword [esi + 0x6c], edx
push 0x736c6f63
push esi
call fcn.00775e70
add esp, 8
cmp eax, ebx
je 0x77738a
mov eax, dword [eax + 0xc]
push eax
push ebp
call fcn.00771ec0
mov ecx, dword [esi + 0xcc]
push ebp
push ecx
call fcn.007757f0
add esp, 0x10
mov dword [esi + 0x38], eax
push 0x66667374
push esi
call fcn.00775e70
mov edi, eax
add esp, 8
cmp edi, ebx
je 0x7773da
mov edx, dword [edi + 0x10]
mov eax, dword [edi + 0xc]
mov ecx, dword [esi + 0xcc]
push ebx
push ebx
push edx
push eax
push ebp
push ecx
call fcn.00771db0
mov edx, dword [edi + 0x10]
mov ebx, eax
mov eax, dword [esi + 0xcc]
push edx
push ebx
push eax
call fcn.00782ee0
push 0
push ebx
mov dword [esi + 0x3c], eax
call fcn.00771ee0
add esp, 0x2c
xor ebx, ebx
jmp 0x7773f3
cmp dword [esi + 0x60], ebx
jne 0x7773f3
mov ecx, dword [esi + 0xcc]
push ebx
push ebx
push ecx
call fcn.00782ee0
add esp, 0xc
mov dword [esi + 0x3c], eax
push 0x6666686d
push esi
call fcn.00775e70
add esp, 8
cmp eax, ebx
je 0x777438
mov edx, dword [eax + 0x10]
mov eax, dword [eax + 0xc]
mov ecx, dword [esi + 0xcc]
push ebx
push ebx
push edx
push eax
push ebp
push ecx
call fcn.00771db0
mov edx, dword [esi + 0xcc]
mov edi, eax
push edi
push edx
call fcn.00782620
push ebx
push edi
mov dword [esi + 0x40], eax
call fcn.00771ee0
add esp, 0x28
push 0x686d7478
push esi
call fcn.00775e70
add esp, 8
cmp eax, ebx
je 0x7774eb
cmp dword [esi + 0x48], ebx
je 0x7774eb
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
mov eax, dword [esi + 0xcc]
push ebx
push ebx
push ecx
push edx
push ebp
push eax
call fcn.00771db0
mov edi, eax
mov eax, dword [esi + 0x20]
add esp, 0x18
cmp eax, ebx
je 0x777483
movsx eax, word [eax + 0x108]
jmp 0x77749b
mov ecx, dword [esi + 0x30]
movzx eax, word [ecx + 8]
mov ecx, dword [esi + 0x34]
cmp ecx, ebx
je 0x77749b
mov ecx, dword [ecx + 8]
cmp ecx, eax
jg 0x77749b
lea eax, [ecx - 1]
mov edx, dword [esi + 0x48]
movzx ecx, word [edx + 0x26]
push eax
mov eax, dword [esi + 0xcc]
push edi
call fcn.00775480
push ebx
push edi
mov dword [esi + 0x50], eax
call fcn.00771ee0
mov eax, dword [esi + 0x90]
add esp, 0x10
cmp eax, ebx
je 0x7774eb
lea eax, [esi + 0x94]
push eax
push esi
call fcn.00775e30
mov ecx, dword [esi + 0xcc]
mov edx, dword [esi + 0x50]
add esp, 4
push eax
push ecx
push edx
call dword [esi + 0x90]
add esp, 0x10
push 0x766d7478
push esi
call fcn.00775e70
add esp, 8
cmp eax, ebx
je 0x777567
cmp dword [esi + 0x4c], ebx
je 0x777567
mov ecx, dword [eax + 0x10]
mov edx, dword [eax + 0xc]
mov eax, dword [esi + 0xcc]
push ebx
push ebx
push ecx
push edx
push ebp
push eax
call fcn.00771db0
mov edi, eax
mov eax, dword [esi + 0x20]
add esp, 0x18
cmp eax, ebx
je 0x77752e
movsx eax, word [eax + 0x108]
jmp 0x777546
mov ecx, dword [esi + 0x30]
movzx eax, word [ecx + 8]
mov ecx, dword [esi + 0x34]
cmp ecx, ebx
je 0x777546
mov ecx, dword [ecx + 8]
cmp ecx, eax
jg 0x777546
lea eax, [ecx - 1]
mov edx, dword [esi + 0x4c]
movzx ecx, word [edx + 0x26]
push eax
mov eax, dword [esi + 0xcc]
push edi
call fcn.00775480
push ebx
push edi
mov dword [esi + 0x54], eax
call fcn.00771ee0
add esp, 0x10
mov eax, dword [esi + 0x2c]
cmp eax, ebx
je 0x777597
mov ax, word [eax + 0x38]
cmp ax, 0x7d0
jl 0x77757e
cmp ax, 0x7d2
jle 0x777597
cmp dword [esi + 0x60], ebx
jne 0x777597
mov eax, dword [esi + 0xcc]
push esi
push ebp
push eax
call fcn.00777d20
add esp, 0xc
mov dword [esi + 0x24], eax
push 0x706f7374
push esi
call fcn.00775e70
add esp, 8
cmp eax, ebx
je 0x7775d8
mov ecx, dword [eax + 0xc]
add ecx, 8
push ecx
push ebp
call fcn.00771ec0
push ebp
call fcn.00771d00
push ebp
mov word [esi + 0x74], ax
call fcn.00771d00
push ebp
mov word [esi + 0x76], ax
call fcn.00771cc0
add esp, 0x14
mov dword [esi + 0x78], eax
jmp 0x7775e3
mov word [esi + 0x74], bx
mov word [esi + 0x76], bx
mov dword [esi + 0x78], ebx
push 0x4f532f32
push esi
call fcn.00775e70
add esp, 8
cmp eax, ebx
je 0x77761d
mov edx, dword [eax + 0xc]
add edx, 0x40
push edx
push ebp
call fcn.00771ec0
push ebp
call fcn.00771d00
push ebp
mov word [esi + 0x7c], ax
call fcn.00771d00
add esp, 0x10
pop edi
pop ebp
mov word [esi + 0x7e], ax
pop ebx
ret
pop edi
pop ebp
mov word [esi + 0x7c], bx
mov word [esi + 0x7e], 0xffff
pop ebx
ret