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

Disassembly:
sub esp, 0x15c
mov eax, dword [0x2073056c]
mov ecx, dword [0x2073054c]
push ebx
mov edx, dword [0x20730554]
push ebp
push esi
push edi
push 0x20718260
push 0x20716418
push 4
push 0x2b8
push eax
mov eax, dword [0x20730550]
push ecx
push edx
mov ebp, 1
xor ebx, ebx
push eax
push ebp
mov dword [esp + 0x64], 7
mov dword [esp + 0x3c], ebx
call fcn.207921f0
mov ecx, 0x23
xor eax, eax
lea edi, [esp + 0x9c]
lea edx, [esp + 0x40]
rep stosd dword es:[edi], eax
mov ecx, 8
lea edi, [esp + 0x68]
rep stosd dword es:[edi], eax
xor ecx, ecx
push edx
mov dword [esp + 0x44], ecx
mov dword [esp + 0xa0], 0x8c
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
call fcn.207d2a10
mov esi, dword [esp + 0x198]
add esp, 0x28
cmp esi, ebx
jne 0x20809414
mov esi, 0x80000065
mov eax, 0x66
mov ecx, esi
mov edx, 0x2c4
jmp 0x20809af5
mov edi, dword [esi + 0x30]
cmp edi, ebx
jne 0x20809431
mov esi, 0x80000065
mov eax, 0x6c
mov ecx, esi
mov edx, 0x2c7
jmp 0x20809af5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x11
je 0x20809456
mov esi, 0x80000065
mov eax, 0x6c
mov ecx, esi
mov edx, 0x2ca
jmp 0x20809af5
lea eax, [esp + 0x1c]
push 0x20
push eax
call fcn.207d32d0
add esp, 8
cmp eax, ebx
jne 0x20809581
push ebx
lea ecx, [esp + 0x20]
push 0x50000
push ecx
call fcn.207d3530
add esp, 0xc
cmp eax, ebx
jne 0x20809581
lea edx, [esp + 0x1c]
push 0x2e
push edx
call fcn.207d32d0
add esp, 8
cmp eax, ebx
jne 0x20809581
push ebx
lea eax, [esp + 0x20]
push 0x5ffff
push eax
call fcn.207d33e0
add esp, 0xc
cmp eax, ebx
jne 0x20809581
lea ecx, [esp + 0x1c]
push 0x45
push ecx
call fcn.207d32d0
add esp, 8
cmp eax, ebx
jne 0x20809581
push ebx
lea edx, [esp + 0x20]
push 0x50001
push edx
call fcn.207d3530
add esp, 0xc
cmp eax, ebx
jne 0x20809581
lea eax, [esp + 0x1c]
push eax
call fcn.207d36f0
add esp, 4
cmp eax, ebx
jne 0x20809581
mov ecx, dword [esi + 0x30]
push ebx
push 0x50001
lea edx, [esp + 0x24]
push ecx
push edx
call fcn.207d3a40
add esp, 0x10
cmp eax, ebx
jne 0x20809581
lea eax, [esp + 0x1c]
push 0x52
push eax
call fcn.207d32d0
add esp, 8
cmp eax, ebx
jne 0x20809581
push ebx
lea ecx, [esp + 0x20]
push 0x50004
push ecx
call fcn.207d3530
add esp, 0xc
cmp eax, ebx
jne 0x20809581
lea edx, [esp + 0x1c]
push edx
call fcn.207d36f0
add esp, 4
cmp eax, ebx
jne 0x20809581
push ebx
push 0x50004
lea eax, [esp + 0x24]
push 4
push eax
call fcn.207d3b30
add esp, 0x10
cmp eax, ebx
jne 0x20809581
lea ecx, [esp + 0x1c]
push ecx
call fcn.207d3f30
add esp, 4
cmp eax, ebx
je 0x20809588
mov esi, eax
jmp 0x20809b1d
lea eax, [esp + 0x44]
push 0xfffffff
push eax
lea ecx, [esp + 0x24]
lea edx, [esp + 0x6c]
push fcn.207f8e40
push ecx
mov dword [esp + 0x54], 0x50000
mov dword [esp + 0x58], ebx
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x60], 0x12
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], 0x8000038e
mov dword [esp + 0x6c], ebx
mov byte [esp + 0x74], bl
call fcn.207a8b70
mov esi, dword [esp + 0x68]
add esp, 0x10
cmp esi, 0x80000078
jne 0x208095e7
mov eax, esi
jmp 0x20809b1d
cmp eax, 0x8000038c
je 0x208095fc
cmp eax, 0x8000039d
je 0x208095fc
cmp eax, 0x800003a0
jne 0x2080960a
cmp esi, ebx
je 0x2080960a
cmp esi, 0x8000038e
je 0x2080960a
mov eax, esi
cmp eax, ebx
je 0x20809615
mov esi, eax
jmp 0x20809b1d
cmp esi, 0x8000038e
je 0x20809ae4
cmp dword [esp + 0x48], ebx
je 0x20809ae4
cmp dword [esp + 0x54], ebx
je 0x20809ae4
cmp esi, ebx
jne 0x20809b1d
lea edx, [esp + 0x40]
push 0x3c
push edx
call fcn.207a53e0
mov eax, dword [esp + 0x48]
add esp, 8
cmp eax, ebx
jne 0x2080965e
mov esi, 0x80000581
jmp 0x20809b1d
lea ecx, [esp + 0x78]
push ecx
push eax
call fcn.207a4d80
mov ecx, dword [esp + 0x84]
add esp, 8
cmp eax, 0x800006b5
jne 0x208096e6
cmp ecx, ebx
je 0x208096ea
mov eax, dword [esp + 0x80]
cmp eax, ebx
je 0x20809691
cmp dword [eax + 0x104], ebp
jae 0x20809698
and ecx, 0xfffffffe
mov dword [esp + 0x7c], ecx
mov eax, dword [esp + 0x84]
cmp eax, ebx
je 0x208096ab
cmp dword [eax + 0x104], ebp
jae 0x208096b2
and ecx, 0xfffffffd
mov dword [esp + 0x7c], ecx
mov eax, dword [esp + 0x88]
cmp eax, ebx
je 0x208096c5
cmp dword [eax + 0x104], ebp
jae 0x208096cc
and ecx, 0xfffffffb
mov dword [esp + 0x7c], ecx
cmp ecx, ebx
jne 0x208096f1
mov esi, 0x800006bf
mov eax, 0x1778
mov ecx, esi
mov edx, 0x32f
jmp 0x20809af5
cmp eax, ebx
je 0x2080967e
mov esi, eax
jmp 0x20809b1d
mov eax, dword [esp + 0x48]
mov dword [esp + 0x3c], ebx
cmp eax, ebx
jbe 0x20809ac8
mov dword [esp + 0x2c], ebx
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x2c]
mov ecx, dword [0x20730568]
push 0x20718260
push 0x20716418
lea ebp, [eax + edx]
mov edx, dword [0x2073054c]
mov eax, dword [0x20730554]
push 4
push 0x22a
push ecx
mov ecx, dword [0x20730550]
push edx
push eax
push ecx
push 1
mov dword [esp + 0x38], ebx
mov dword [esp + 0x5c], ebx
mov byte [esp + 0x58], bl
mov byte [esp + 0x37], bl
mov dword [esp + 0x54], 0x64
call fcn.207921f0
lea edx, [esp + 0x9c]
add esp, 0x24
test edx, edx
jne 0x2080977f
mov esi, 0x80000065
mov eax, 0x66
mov ecx, esi
mov edx, 0x22f
jmp 0x208099a0
cmp ebp, ebx
jne 0x20809799
mov esi, 0x80000066
mov eax, 0x6c
mov ecx, esi
mov edx, 0x232
jmp 0x208099a0
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
cmp ecx, 0x11
je 0x208097c0
mov esi, 0x80000066
mov eax, 0x6c
mov ecx, esi
mov edx, 0x235
jmp 0x208099a0
lea eax, [esp + 0x14]
push eax
push 0x5ffff
call fcn.207d0070
add esp, 8
cmp eax, ebx
je 0x208097dd
mov esi, eax
jmp 0x208099c8
mov eax, dword [esp + 0x14]
cmp eax, ebx
jne 0x208097fb
mov esi, 0x800007d1
mov eax, 0x6a
mov ecx, esi
mov edx, 0x241
jmp 0x208099a0
push ebp
push eax
call fcn.207d0bc0
add esp, 8
cmp eax, ebx
je 0x20809823
cmp eax, 0x80000397
je 0x20809817
cmp eax, 0x80000132
jne 0x2080981c
mov eax, 0x80000583
mov esi, eax
jmp 0x208099c8
mov ecx, dword [esp + 0x14]
push 0x50004
lea edx, [esp + 0x38]
push ecx
push edx
call fcn.207d1df0
add esp, 0xc
cmp eax, ebx
je 0x20809845
mov esi, eax
jmp 0x208099c8
cmp byte [esp + 0x34], 4
je 0x20809862
mov esi, 0x80000589
mov eax, 0x3ea
mov ecx, esi
mov edx, 0x255
jmp 0x208099a0
mov eax, dword [esp + 0x14]
push 0x50005
lea ecx, [esp + 0x17]
push eax
push ecx
call fcn.207d1df0
add esp, 0xc
cmp eax, ebx
je 0x20809884
mov esi, eax
jmp 0x208099c8
cmp byte [esp + 0x13], 6
je 0x208098a1
mov esi, 0x80000589
mov eax, 0x3ea
mov ecx, esi
mov edx, 0x25f
jmp 0x208099a0
mov edx, dword [esp + 0x14]
push 0x50006
lea eax, [esp + 0x3c]
push edx
push eax
call fcn.207d1f60
add esp, 0xc
cmp eax, ebx
je 0x208098c3
mov esi, eax
jmp 0x208099c8
cmp dword [esp + 0x38], ebx
jne 0x208098df
mov esi, 0x80000589
mov eax, 0x3ea
mov ecx, esi
mov edx, 0x269
jmp 0x208099a0
mov ecx, 0x19
xor eax, eax
lea edi, [esp + 0x104]
push 0x5000a
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x18]
lea edx, [esp + 0x34]
stosb byte es:[edi], al
push ecx
lea eax, [esp + 0x10c]
push edx
push eax
call fcn.207d1c30
add esp, 0x10
cmp eax, ebx
je 0x2080991a
mov esi, eax
jmp 0x208099c8
mov eax, dword [esp + 0x30]
cmp eax, 3
jb 0x2080998f
cmp eax, 0x64
ja 0x2080998f
mov ecx, dword [esp + 0x38]
lea edx, [esp + 0x104]
push ecx
push eax
lea eax, [esp + 0x80]
push edx
push eax
call fcn.208043b0
add esp, 0x10
cmp eax, 0x800006b9
jne 0x20809956
mov eax, 0x80000581
mov esi, eax
jmp 0x208099c8
cmp eax, ebx
je 0x2080995e
mov esi, eax
jmp 0x208099c8
mov eax, dword [esp + 0x170]
mov ecx, dword [eax + 0x54]
mov edx, dword [eax + 0x50]
mov eax, dword [eax + 0x4c]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push eax
mov eax, dword [esp + 0x40]
lea edx, [esp + 0x110]
push ecx
push edx
push eax
call fcn.2082f4a0
add esp, 0x18
mov esi, eax
jmp 0x208099c8
mov esi, 0x80000589
mov eax, 0x3ea
mov ecx, esi
mov edx, 0x276
push eax
mov eax, dword [0x2073054c]
push edx
mov edx, dword [0x20730568]
push edx
mov edx, dword [0x20730554]
push eax
mov eax, dword [0x20730550]
push edx
push eax
push ecx
push esi
push 3
call fcn.2078d820
add esp, 0x24
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x208099d9
push eax
call fcn.207d0400
add esp, 4
mov ecx, dword [0x20730568]
mov edx, dword [0x2073054c]
mov eax, dword [0x20730554]
push esi
push 0x20718250
push 0x20718240
push 4
push 0x293
push ecx
mov ecx, dword [0x20730550]
push edx
push eax
push ecx
push 1
call fcn.207921f0
add esp, 0x28
cmp esi, ebx
mov eax, esi
je 0x20809adb
cmp esi, 0x8000038d
je 0x20809a72
cmp esi, 0x800006c0
je 0x20809a72
cmp esi, 0x800006b6
je 0x20809a72
cmp esi, 0x800006c1
je 0x20809a72
cmp esi, 0x800006ba
je 0x20809a72
cmp esi, 0x800006b8
je 0x20809a72
cmp esi, 0x800006c7
je 0x20809a72
cmp esi, 0x800006b0
je 0x20809a72
cmp esi, 0x800006b7
je 0x20809a72
cmp esi, 0x800006b1
je 0x20809a72
cmp esi, 0x80000591
jne 0x20809a79
mov eax, 0x80000589
jmp 0x20809a98
cmp esi, 0x800002bc
jbe 0x20809a90
cmp esi, 0x8000031f
jae 0x20809a90
mov eax, 0x80000589
jmp 0x20809a98
cmp esi, 0x80000581
je 0x20809aa2
cmp dword [esp + 0x18], ebx
jne 0x20809aa2
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x48]
inc eax
add edx, 0x12
cmp eax, ecx
mov dword [esp + 0x3c], eax
mov dword [esp + 0x2c], edx
jb 0x20809705
cmp dword [esp + 0x18], ebx
jne 0x20809ad0
mov dword [esp + 0x18], 0x80000581
mov esi, dword [esp + 0x18]
mov ebp, 1
jmp 0x20809b1d
xor esi, esi
mov ebp, 1
jmp 0x20809b1d
mov esi, 0x80000587
mov eax, 0x7d2
mov ecx, esi
mov edx, 0x308
push eax
mov eax, dword [0x2073054c]
push edx
mov edx, dword [0x2073056c]
push edx
mov edx, dword [0x20730554]
push eax
mov eax, dword [0x20730550]
push edx
push eax
push ecx
push esi
push 3
call fcn.2078d820
add esp, 0x24
lea ecx, [esp + 0x1c]
push ecx
call fcn.207d2dc0
mov eax, dword [esp + 0x58]
lea edx, [esp + 0x68]
add esp, 4
cmp eax, edx
je 0x20809b48
cmp eax, ebx
je 0x20809b48
push eax
call dword [fcn.20ad643c]
add esp, 4
mov dword [esp + 0x54], ebx
lea eax, [esp + 0x78]
push ebx
push eax
call fcn.207b72c0
mov ecx, dword [0x2073056c]
mov edx, dword [0x2073054c]
mov eax, dword [0x20730554]
push esi
push 0x20718250
push 0x20718240
push 4
push 0x35b
push ecx
mov ecx, dword [0x20730550]
push edx
push eax
push ecx
push ebp
call fcn.207921f0
add esp, 0x30
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x15c
ret