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

Disassembly:
sub esp, 0xa0
mov eax, dword [0x2072f1bc]
mov ecx, dword [0x2072f1b0]
push ebx
mov edx, dword [0x2072f1b8]
push ebp
push esi
push edi
push 0x20718260
push 0x20716418
push 4
push 0xa1
push eax
mov eax, dword [0x2072f1b4]
push ecx
push edx
xor ebp, ebp
push eax
push 1
mov dword [esp + 0x34], ebp
mov dword [esp + 0x38], ebp
mov dword [esp + 0x5c], ebp
mov byte [esp + 0x48], 2
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x74], ebp
mov dword [esp + 0x54], ebp
mov dword [esp + 0x44], ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x58], 2
call fcn.207921f0
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x90], ecx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x94], ecx
xor edx, edx
mov dword [esp + 0x98], ecx
mov dword [esp + 0x80], eax
mov word [esp + 0x9c], cx
mov dword [esp + 0x60], edx
mov dword [esp + 0x84], eax
mov ecx, 0xd
lea edi, [esp + 0xa0]
mov dword [esp + 0x64], edx
rep stosd dword es:[edi], eax
mov dword [esp + 0x68], edx
lea ecx, [esp + 0x60]
mov dword [esp + 0x6c], edx
push ecx
mov dword [esp + 0x74], edx
mov dword [esp + 0x8c], eax
call fcn.2079a050
add esp, 0x28
cmp eax, ebp
je 0x207973ff
mov esi, 0xae
mov dword [esp + 0x34], 1
jmp 0x2079791d
mov esi, dword [esp + 0xb4]
mov dword [esp + 0x28], 0x20
cmp esi, ebp
je 0x20797907
cmp esi, 0xffffffff
je 0x20797907
mov ebx, dword [esp + 0xb8]
cmp ebx, ebp
jle 0x207978ef
cmp ebx, 0xa
jge 0x207978ef
mov edi, dword [esp + 0xbc]
cmp edi, ebp
jne 0x2079745d
mov eax, 0x80000067
mov dword [esp + 0x14], 0x66
mov dword [esp + 0x10], eax
mov esi, 0xbb
jmp 0x2079791d
cmp byte [edi], 0
jne 0x2079747d
mov eax, 0x80000067
mov dword [esp + 0x14], 0x6b
mov dword [esp + 0x10], eax
mov esi, 0xbd
jmp 0x2079791d
cmp dword [esp + 0xc0], ebp
jne 0x207974a1
mov eax, 0x80000068
mov dword [esp + 0x14], 0x66
mov dword [esp + 0x10], eax
mov esi, 0xbf
jmp 0x2079791d
mov ebp, dword [esp + 0xc4]
cmp ebp, 1
jae 0x207974c8
mov eax, 0x80000069
mov dword [esp + 0x14], 0x6b
mov dword [esp + 0x10], eax
mov esi, 0xc1
jmp 0x2079791d
mov eax, dword [esp + 0xd0]
test eax, eax
jne 0x207974ee
mov eax, 0x8000006c
mov dword [esp + 0x14], 0x66
mov dword [esp + 0x10], eax
mov esi, 0xc3
jmp 0x2079791d
call fcn.2079c2f0
test eax, eax
je 0x20797501
mov esi, 0xd1
jmp 0x2079791d
lea edx, [esp + 0x7c]
lea eax, [esp + 0x68]
push edx
push eax
push 3
push esi
call fcn.207ad7c0
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x20797524
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x2c], ecx
call fcn.2079c3e0
test eax, eax
je 0x2079755f
mov edx, dword [0x2072f1bc]
mov ecx, dword [0x2072f1b8]
push eax
mov eax, dword [0x2072f1b0]
push 0x2071836c
push 3
push 0xe0
push edx
mov edx, dword [0x2072f1b4]
push eax
push ecx
push edx
push 1
call fcn.207921f0
add esp, 0x24
test esi, esi
je 0x2079756f
mov eax, esi
mov esi, 0xe5
jmp 0x2079791d
mov eax, dword [esp + 0x2c]
test eax, eax
jne 0x20797592
mov eax, 0x800007dd
mov dword [esp + 0x14], 0x6d
mov dword [esp + 0x10], eax
mov esi, 0xed
jmp 0x2079791d
push ebx
lea eax, [esp + 0x40]
push 0x7fb1
push eax
call fcn.2079a590
xor ebx, ebx
add esp, 0xc
cmp eax, ebx
je 0x207975bd
mov esi, 0x104
mov dword [esp + 0x34], 1
jmp 0x2079791d
lea ecx, [esp + 0x68]
push 0x11
push ecx
lea edx, [esp + 0x44]
push 0x7fe8
push edx
call fcn.2079a530
add esp, 0x10
cmp eax, ebx
je 0x207975ec
mov esi, 0x10e
mov dword [esp + 0x34], 1
jmp 0x2079791d
push edi
lea eax, [esp + 0x40]
push 0x7fc5
push eax
call fcn.2079a550
add esp, 0xc
cmp eax, ebx
je 0x20797615
mov esi, 0x117
mov dword [esp + 0x34], 1
jmp 0x2079791d
mov ecx, dword [esp + 0xc0]
push ebp
push ecx
lea edx, [esp + 0x44]
push 0x7fb5
push edx
call fcn.2079a530
add esp, 0x10
cmp eax, ebx
je 0x20797646
mov esi, 0x121
mov dword [esp + 0x34], 1
jmp 0x2079791d
cmp dword [esp + 0xcc], ebx
jne 0x20797654
mov byte [esp + 0x24], 1
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x3c]
push eax
push 0x7fe0
push ecx
call fcn.2079a590
add esp, 0xc
cmp eax, ebx
je 0x20797681
mov esi, 0x130
mov dword [esp + 0x34], 1
jmp 0x2079791d
cmp byte [esp + 0x24], 2
jne 0x207976f5
mov esi, dword [esp + 0xd0]
lea eax, [esp + 0x3c]
mov edx, dword [esi]
push edx
push 0x7fb4
push eax
call fcn.2079a5c0
add esp, 0xc
cmp eax, ebx
je 0x207976ba
mov esi, 0x141
mov dword [esp + 0x34], 1
jmp 0x2079791d
mov ecx, dword [esi]
push 1
push ecx
call dword [fcn.20ad6428]
mov edi, eax
add esp, 8
cmp edi, ebx
mov dword [esp + 0x30], edi
jne 0x207976ed
mov eax, 0x80000078
mov dword [esp + 0x14], 0x6a
mov dword [esp + 0x10], eax
mov esi, 0x149
jmp 0x2079791d
mov edx, dword [esi]
mov dword [esp + 0x20], edx
jmp 0x207976f9
mov edi, dword [esp + 0x30]
mov esi, 1
mov ebp, dword [esp + 0x2c]
lea eax, [esp + 0x50]
push ebx
lea ecx, [esp + 0x1c]
push eax
lea edx, [esp + 0x44]
push ecx
push edx
push ebp
push ebx
push 9
call fcn.2079b680
add esp, 0x1c
cmp eax, 0x80000aa9
jne 0x207977a9
cmp esi, 1
jne 0x207977ad
lea eax, [esp + 0x54]
push eax
call fcn.2079a050
add esp, 4
cmp eax, ebx
jne 0x20797797
mov ecx, dword [esp + 0x28]
or ecx, 0x40
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x54]
push ecx
push ebp
call fcn.207a9dc0
add esp, 8
cmp eax, ebx
jne 0x20797797
lea edx, [esp + 0x54]
lea eax, [esp + 0x3c]
push edx
push 0x11c
push eax
call fcn.2079a0e0
add esp, 0xc
cmp eax, ebx
jne 0x20797797
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x2079778d
push eax
call dword [fcn.20ad643c]
add esp, 4
mov dword [esp + 0x18], ebx
mov esi, 2
jmp 0x207976fe
mov esi, 0x178
mov dword [esp + 0x34], 1
jmp 0x2079791d
cmp eax, ebx
je 0x207977b7
mov esi, 0x184
jmp 0x2079791d
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x207977da
mov eax, 0x80000776
mov dword [esp + 0x14], 0x66
mov dword [esp + 0x10], eax
mov esi, 0x18c
jmp 0x2079791d
lea ecx, [esp + 0x38]
push ecx
push ebx
push 0x7ff2
push eax
call fcn.2079b220
add esp, 0x10
cmp eax, ebx
je 0x20797800
mov esi, 0x1a4
mov dword [esp + 0x34], ebx
jmp 0x2079791d
mov al, byte [esp + 0x24]
mov dword [esp + 0x1c], ebx
cmp al, 2
jne 0x20797860
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x1c]
push edx
push 0x7fac
push ebx
push 0x7fb3
push eax
call fcn.2079ae70
add esp, 0x14
cmp eax, ebx
je 0x2079783b
mov esi, 0x1b3
mov dword [esp + 0x34], ebx
jmp 0x2079791d
mov edx, dword [esp + 0x1c]
lea ecx, [esp + 0x20]
push ecx
push edi
push edx
call fcn.2079abd0
add esp, 0xc
cmp eax, ebx
je 0x207978b0
mov esi, 0x1ba
mov dword [esp + 0x34], ebx
jmp 0x2079791d
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push eax
push 0x7fac
push ebx
push 0x7fb2
push ecx
call fcn.2079ae70
add esp, 0x14
cmp eax, ebx
je 0x2079788f
mov esi, 0x1c8
mov dword [esp + 0x34], ebx
jmp 0x2079791d
mov eax, dword [esp + 0x1c]
lea edx, [esp + 0x20]
push edx
push eax
call fcn.2079aa10
add esp, 8
cmp eax, ebx
je 0x207978b0
mov esi, 0x1ce
mov dword [esp + 0x34], ebx
jmp 0x2079791d
mov eax, dword [esp + 0xc8]
cmp eax, ebx
je 0x207978c1
mov ecx, dword [esp + 0x38]
mov dword [eax], ecx
mov edx, dword [esp + 0xd0]
mov eax, dword [esp + 0xcc]
mov ecx, dword [esp + 0x20]
cmp eax, ebx
mov dword [edx], ecx
je 0x207978eb
mov esi, edi
mov edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
xor edi, edi
jmp 0x20797960
mov eax, 0x80000066
mov dword [esp + 0x14], 0x1b59
mov dword [esp + 0x10], eax
mov esi, 0xb9
jmp 0x2079791d
mov eax, 0x80000065
mov dword [esp + 0x14], 0xbbc
mov dword [esp + 0x10], eax
mov esi, 0xb7
mov ecx, dword [esp + 0x34]
lea edx, [esp + 0x10]
push ecx
push edx
push eax
call fcn.2079a980
mov ecx, dword [0x2072f1bc]
mov edx, dword [0x2072f1b0]
mov edi, eax
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [0x2072f1b8]
push esi
push ecx
mov ecx, dword [0x2072f1b4]
push edx
mov edx, dword [esp + 0x2c]
push eax
push ecx
push edx
push edi
push 3
call fcn.2078d820
add esp, 0x30
mov bl, byte [esp + 0x28]
test bl, 0x20
je 0x20797976
lea eax, [esp + 0x3c]
push eax
call fcn.2079a0a0
add esp, 4
test bl, 0x40
je 0x20797988
lea ecx, [esp + 0x54]
push ecx
call fcn.2079a0a0
add esp, 4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x207979a2
push eax
call dword [fcn.20ad643c]
add esp, 4
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x30]
test eax, eax
je 0x207979b4
push eax
call dword [fcn.20ad643c]
add esp, 4
mov edx, dword [0x2072f1bc]
mov eax, dword [0x2072f1b0]
mov ecx, dword [0x2072f1b8]
push edi
push 0x20718250
push 0x20718240
push 4
push 0x203
push edx
mov edx, dword [0x2072f1b4]
push eax
push ecx
push edx
push 1
call fcn.207921f0
add esp, 0x28
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xa0
ret