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

Disassembly:
sub esp, 0x88
mov ecx, dword [esp + 0x9c]
push ebx
mov ebx, dword [esp + 0x90]
push ebp
mov ebp, dword [ecx + 0x24]
push esi
mov eax, dword [ebx]
push edi
xor edi, edi
mov dword [esp + 0x20], eax
cmp ebp, edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x24], ebp
je 0x208273c8
jmp 0x20826f1d
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0xa0]
xor edx, edx
mov dl, byte [ebp + 8]
cmp edx, ecx
jne 0x208273b7
mov edx, dword [esp + 0xa8]
xor eax, eax
mov al, byte [ebp + 9]
cmp eax, edx
jne 0x208273b7
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x20]
cmp eax, edx
je 0x20826f5f
mov edx, dword [esp + 0x20]
mov edx, dword [edx + 8]
cmp eax, dword [edx + 0x2c]
jne 0x208273b7
cmp ecx, 0x64
jne 0x20826fba
mov eax, dword [ebp + 0x10]
cmp eax, edi
mov dword [esp + 0x1c], eax
je 0x20826fba
mov esi, dword [esp + 0xa4]
cmp esi, edi
je 0x20826fba
mov ecx, dword [esi]
mov dword [esp + 0x18], edi
cmp ecx, edi
jle 0x208273b7
jmp 0x20826f8e
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0xc]
mov edx, dword [edi + ecx + 4]
push edx
push eax
call fcn.207f4090
add esp, 8
test eax, eax
jge 0x20826fba
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
inc eax
add edi, 0xc
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x20826f8a
jmp 0x208273b7
mov edx, dword [ebx + 0x188]
mov eax, edx
test eax, eax
je 0x20826fdc
cmp ebp, dword [eax + 0x1c]
je 0x20826fd4
mov eax, dword [eax + 0x20]
test eax, eax
jne 0x20826fc6
jmp 0x20826fdc
test eax, eax
jne 0x208273b7
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x74]
mov dword [esp + 0x60], edx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0xb0]
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0xac]
mov dword [esp + 0x40], eax
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0xbc]
lea edx, [esp + 0x40]
push eax
mov dword [esp + 0x78], ebx
mov dword [esp + 0x60], ebp
mov dword [esp + 0x5c], ecx
mov dword [ebx + 0x188], edx
call fcn.207e84e0
mov ecx, dword [ebp + 0xc]
mov edx, dword [esp + 0x24]
push ecx
push edx
mov dword [esp + 0x28], eax
call fcn.2081ef60
mov edi, dword [esp + 0x2c]
mov esi, eax
add esp, 0xc
mov al, byte [edi + 0x1e]
test al, al
jne 0x208273ff
lea eax, [esp + 0x74]
push esi
push eax
call fcn.2081fe50
add esp, 8
test eax, eax
jne 0x208273ff
mov ecx, dword [esp + 0x1c]
push 8
push ecx
push esi
push ebx
call fcn.20823ea0
push esi
push edi
call fcn.2081eea0
mov edi, dword [ebx + 0xc]
mov esi, dword [ebp + 0x24]
mov ebp, dword [ebx]
push 0
push 0
push 0x39
push edi
mov dword [esp + 0x40], edi
call fcn.207e83a0
add esp, 0x28
test esi, esi
je 0x2082738c
mov eax, dword [esp + 0xb8]
cmp eax, 0x63
jne 0x208270bd
mov edx, dword [esi + 4]
mov dword [esp + 0x14], edx
jmp 0x208270c1
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x188]
mov ecx, dword [esp + 0x14]
mov dword [eax + 0x14], ecx
mov eax, dword [esi]
add eax, 0xffffff9d
cmp eax, 0xb
ja case.0x208270e4.103
xor edx, edx
mov dl, byte [eax + 0x20827438]
jmp dword [edx*4 + 0x20827424]
mov eax, dword [esi + 0xc]
push eax
push ebp
call fcn.2081f3b0
add esp, 8
mov dword [esp + 0x14], eax
test eax, eax
je case.0x208270e4.103
push 0
lea ecx, [esp + 0x68]
push 4
push ecx
call fcn.20819630
mov edx, dword [esp + 0x20]
push 0
push edx
push ebx
call fcn.2081a980
mov ecx, dword [esp + 0x2c]
push 0
push 0
lea eax, [esp + 0x84]
push 0
push eax
push ecx
push ebx
call fcn.2081ae60
mov edx, dword [esp + 0x44]
push edx
push ebp
call fcn.20819800
add esp, 0x38
jmp case.0x208270e4.103
mov eax, dword [esi + 8]
mov edx, dword [ebx]
mov ecx, dword [eax + 0x1c]
push ecx
push edx
call fcn.207fd510
add esp, 8
test eax, eax
je 0x2082717f
cmp eax, 2
jge 0x2082717f
mov ecx, dword [ebx]
lea eax, [esi + 0x10]
push 0
push eax
push 0
push ecx
call fcn.207f40d0
add esp, 0x10
mov dword [esp + 0x10], eax
jmp 0x208271c3
mov edx, dword [ebx]
lea eax, [eax + eax*2]
mov ecx, dword [edx + 8]
mov edi, dword [ecx + eax*8]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x38], edi
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x3c]
not ecx
dec ecx
and eax, 1
shl ecx, 1
or ecx, eax
lea eax, [esp + 0x38]
mov dword [esp + 0x3c], ecx
lea ecx, [esi + 0x10]
push ecx
push eax
push 0
push edx
call fcn.207f40d0
mov edi, dword [esp + 0x28]
add esp, 0x10
mov dword [esp + 0x10], eax
push 0
push 0
push 0x37
push edi
call fcn.207e83a0
mov ecx, dword [esp + 0x24]
mov edx, dword [esi + 0x18]
add esp, 0x10
push ecx
push edx
push ebp
call fcn.2081ef60
add esp, 8
push eax
mov eax, dword [esi + 0x1c]
push eax
push ebp
call fcn.2081f080
mov ecx, dword [esp + 0x20]
add esp, 8
push eax
push ecx
push ebx
call fcn.2083cdf0
jmp 0x20827372
mov edx, dword [esi + 8]
mov ecx, dword [ebx]
mov eax, dword [edx + 0x1c]
push eax
push ecx
call fcn.207fd510
add esp, 8
test eax, eax
je 0x20827237
cmp eax, 2
jge 0x20827237
mov eax, dword [ebx]
lea edx, [esi + 0x10]
push 0
push edx
push 0
push eax
call fcn.207f40d0
add esp, 0x10
mov dword [esp + 0x10], eax
jmp 0x2082727b
mov edx, dword [ebx]
lea ecx, [eax + eax*2]
mov eax, dword [edx + 8]
mov edi, dword [eax + ecx*8]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x28], edi
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x2c]
not ecx
dec ecx
and eax, 1
shl ecx, 1
or ecx, eax
lea eax, [esp + 0x28]
mov dword [esp + 0x2c], ecx
lea ecx, [esi + 0x10]
push ecx
push eax
push 0
push edx
call fcn.207f40d0
mov edi, dword [esp + 0x28]
add esp, 0x10
mov dword [esp + 0x10], eax
push 0
push 0
push 0x37
push edi
call fcn.207e83a0
mov ecx, dword [esp + 0x24]
mov edx, dword [esi + 0x20]
add esp, 0x10
push ecx
push edx
push ebp
call fcn.2081f300
add esp, 8
push eax
mov eax, dword [esi + 0xc]
push eax
push ebp
call fcn.2081f3b0
mov ecx, dword [esi + 0x1c]
add esp, 8
push eax
push ecx
push ebp
call fcn.2081f080
mov edx, dword [esp + 0x24]
add esp, 8
push eax
push edx
push ebx
call fcn.2083de60
push 0
push 1
push 0x37
push edi
call fcn.207e83a0
add esp, 0x28
jmp case.0x208270e4.103
push 0
push 0
push 0x37
push edi
call fcn.207e83a0
mov eax, dword [esi + 8]
mov edx, dword [ebx]
mov ecx, dword [eax + 0x1c]
push ecx
push edx
call fcn.207fd510
add esp, 0x18
test eax, eax
je 0x20827318
cmp eax, 2
jge 0x20827318
mov ecx, dword [ebx]
lea eax, [esi + 0x10]
push 0
push eax
push 0
push ecx
call fcn.207f40d0
add esp, 0x10
mov dword [esp + 0x10], eax
jmp 0x2082735c
mov edx, dword [ebx]
lea eax, [eax + eax*2]
mov ecx, dword [edx + 8]
mov edi, dword [ecx + eax*8]
or ecx, 0xffffffff
xor eax, eax
mov dword [esp + 0x30], edi
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x34]
not ecx
dec ecx
and eax, 1
shl ecx, 1
or ecx, eax
lea eax, [esp + 0x30]
mov dword [esp + 0x34], ecx
lea ecx, [esi + 0x10]
push ecx
push eax
push 0
push edx
call fcn.207f40d0
mov edi, dword [esp + 0x28]
add esp, 0x10
mov dword [esp + 0x10], eax
mov ecx, dword [esi + 0x18]
push ecx
push ebp
call fcn.2081ef60
mov edx, dword [esp + 0x18]
push eax
push edx
push ebx
call fcn.20827640
push 0
push 1
push 0x37
push edi
call fcn.207e83a0
add esp, 0x24
mov esi, dword [esi + 0x24]
test esi, esi
jne 0x208270a8
push 0
push 0
push 0x69
push edi
call fcn.207e83a0
mov ecx, dword [esp + 0x2c]
mov edx, dword [ebx + 0xc]
mov eax, dword [esp + 0x70]
push ecx
push edx
mov dword [ebx + 0x188], eax
call fcn.207e8530
mov ebp, dword [esp + 0x3c]
add esp, 0x18
mov ebp, dword [ebp + 0x28]
xor edi, edi
cmp ebp, edi
mov dword [esp + 0x24], ebp
jne 0x20826f19
mov eax, dword [esp + 0xc0]
cmp eax, edi
je 0x208273dd
mov ecx, dword [esp + 0x50]
mov edx, dword [eax]
or edx, ecx
mov dword [eax], edx
mov eax, dword [esp + 0xc4]
cmp eax, edi
je 0x208273f2
mov edx, dword [esp + 0x4c]
mov ecx, dword [eax]
or ecx, edx
mov dword [eax], ecx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x88
ret
mov eax, dword [esp + 0x60]
push esi
push edi
mov dword [ebx + 0x188], eax
call fcn.2081eea0
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x88
ret