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

Disassembly:
sub esp, 0x278
mov ecx, 3
mov eax, 6
mov dword [esp + 0x90], ecx
mov dword [esp + 0xb0], ecx
mov dword [esp + 0x70], ecx
mov dword [esp + 0xb8], ecx
lea ecx, [esp + 0x8c]
push ebx
mov dword [esp + 0x98], eax
mov dword [esp + 0x78], eax
mov dword [esp + 0xc0], eax
mov dword [esp + 0xdc], eax
push ebp
mov eax, 0xa
mov dword [esp + 0x28], ecx
push esi
lea ecx, [esp + 0xf4]
push edi
mov ebp, 2
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], eax
mov edi, 1
lea edx, [esp + 0x7c]
lea eax, [esp + 0xc4]
push ecx
push ebp
mov dword [esp + 0xa4], edi
mov dword [esp + 0xb0], edi
mov dword [esp + 0xb4], ebp
mov dword [esp + 0xb8], edi
mov dword [esp + 0xbc], ebp
mov dword [esp + 0xc0], ebp
mov dword [esp + 0xc4], edi
mov dword [esp + 0x84], edi
mov dword [esp + 0x90], edi
mov dword [esp + 0x94], ebp
mov dword [esp + 0x98], edi
mov dword [esp + 0x9c], ebp
mov dword [esp + 0xa0], edi
mov dword [esp + 0xcc], edi
mov dword [esp + 0xd8], edi
mov dword [esp + 0xdc], ebp
mov dword [esp + 0xe0], edi
mov dword [esp + 0xe4], ebp
mov dword [esp + 0xe8], ebp
mov dword [esp + 0xec], edi
mov dword [esp + 0x4c], 8
mov dword [esp + 0x50], edx
mov dword [esp + 0x30], eax
call fcn.208486dc
test eax, eax
jne 0x20773c82
push 0x20717dc0
call dword [fcn.20ad6014]
mov ebx, eax
cmp ebx, 0x20
mov dword [esp + 0x18], ebx
jb 0x20773c82
mov esi, dword [fcn.20ad6008]
push 0x20717dac
push ebx
call esi
push 0x20717d98
push ebx
mov dword [esp + 0x3c], eax
call esi
push 0x20717d84
push ebx
call esi
push 0x20717d70
push ebx
mov dword [esp + 0x48], eax
call esi
push 0x20717d64
call dword [fcn.20ad6014]
cmp eax, 0x20
mov dword [esp + 0x10], eax
jae 0x20773ac6
push ebx
call dword [fcn.20ad6018]
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x278
ret
push 0x20717d54
push eax
call esi
mov edx, dword [esp + 0x10]
push 0x20717d44
push edx
mov ebx, eax
call esi
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
push 0x20717d30
push eax
call esi
lea ecx, [esp + 0xf0]
lea edx, [esp + 0xec]
push ecx
push edx
mov esi, eax
call dword [fcn.20ad609c]
push eax
call dword [esp + 0x40]
xor ecx, ecx
lea eax, [esp + 0x4c]
mov dword [esp + 0x50], ecx
mov dword [esp + 0x68], ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x1c], eax
lea edx, [esp + 0x4c]
xor eax, eax
push ecx
push edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x28], edi
call ebx
mov edi, dword [esp + 0x40]
lea eax, [esp + 0x3c]
lea ecx, [esp + 0x38]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
push 0xa1
call edi
lea eax, [esp + 0x2c]
lea ecx, [esp + 0x4c]
push eax
push ecx
mov dword [esp + 0x28], ebp
call ebx
lea edx, [esp + 0x24]
lea eax, [esp + 0x64]
push edx
push eax
call ebx
mov bl, 0x54
lea ecx, [esp + 0x3c]
lea edx, [esp + 0x38]
push ecx
lea eax, [esp + 0x20]
push edx
push eax
push 0xa1
call edi
test eax, eax
je 0x20773c60
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x2c]
push ecx
lea eax, [esp + 0x50]
push edx
push eax
call dword [esp + 0x20]
test eax, eax
jne 0x20773c60
cmp dword [esp + 0x58], 6
jne 0x20773b6d
mov ecx, dword [esp + 0x24]
lea edx, [esp + 0x24]
push ecx
lea eax, [esp + 0x68]
push edx
push eax
call dword [esp + 0x20]
test eax, eax
jne 0x20773c60
mov eax, dword [esp + 0x70]
test eax, eax
je 0x20773b6d
mov cl, byte [eax]
cmp cl, 0x44
jne 0x20773bf3
cmp byte [eax + 1], 0x45
jne 0x20773bf3
cmp byte [eax + 2], 0x53
jne 0x20773bf3
cmp byte [eax + 3], bl
jne 0x20773bf3
mov dl, byte [eax + 4]
test dl, dl
je 0x20773b6d
test cl, cl
jne 0x20773c1e
mov cl, byte [eax + 1]
test cl, cl
jne 0x20773c1e
mov cl, byte [eax + 2]
test cl, cl
jne 0x20773c1e
mov cl, byte [eax + 3]
test cl, cl
jne 0x20773c1e
mov cl, byte [eax + 4]
test cl, cl
jne 0x20773c1e
mov cl, byte [eax + 5]
test cl, cl
je 0x20773b6d
mov ecx, dword [esp + 0x28c]
mov edx, dword [eax]
mov dword [ecx], edx
mov ax, word [eax + 4]
mov word [ecx + 4], ax
lea ecx, [esp + 0x4c]
push ecx
call esi
lea edx, [esp + 0x64]
push edx
call esi
mov eax, dword [esp + 0x18]
mov esi, dword [fcn.20ad6018]
push eax
call esi
mov ecx, dword [esp + 0x10]
push ecx
call esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x278
ret
lea edx, [esp + 0x4c]
push edx
call esi
lea eax, [esp + 0x64]
push eax
call esi
mov ecx, dword [esp + 0x18]
mov esi, dword [fcn.20ad6018]
push ecx
call esi
mov edx, dword [esp + 0x10]
push edx
call esi
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x278
ret