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

Disassembly:
sub esp, 0x10
push ebx
mov ebx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
push ebp
push esi
mov esi, dword [esp + 0x20]
xor ebp, ebp
add ebx, ecx
mov eax, dword [esi]
push edi
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x4c]
cmp eax, ebp
mov dword [esi + 0x44], 0xbdf20da3
jne 0x207e8d34
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x20]
mov edi, dword [esi + 0x14]
dec eax
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], ebp
mov dword [esp + 0x10], ebp
js 0x207e8c2b
inc eax
mov dword [esp + 0x2c], eax
mov al, byte [edi]
cmp al, 0x16
mov byte [esp + 0x18], al
je 0x207e8d86
cmp al, 0x64
je 0x207e8d86
cmp al, 0x7a
jne 0x207e8d91
mov eax, dword [edi + 8]
cmp eax, ebp
jle 0x207e8be3
mov ebp, eax
mov dword [esp + 0x24], 1
mov edx, dword [esp + 0x18]
push 1
and edx, 0xff
push edx
call fcn.20815160
add esp, 8
test eax, eax
je 0x207e8c1d
mov eax, dword [edi + 8]
test eax, eax
jge 0x207e8c1d
mov ecx, dword [esp + 0x1c]
lea eax, [eax*4 + 4]
sub ecx, eax
mov edx, dword [ecx]
mov dword [edi + 8], edx
mov eax, dword [esp + 0x2c]
add edi, 0x14
dec eax
mov dword [esp + 0x2c], eax
jne 0x207e8bbc
mov eax, dword [esi + 0x20]
mov ecx, dword [esi]
push eax
push ecx
call fcn.207e0aa0
mov eax, dword [esp + 0x18]
add esp, 8
test eax, eax
mov dword [esi + 0x20], 0
je 0x207e8c69
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x207e8c69
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x14]
dec ecx
js 0x207e8c69
inc ecx
cmp byte [eax], 0x2b
jne 0x207e8c63
mov byte [eax], 0x18
add eax, 0x14
dec ecx
jne 0x207e8c5b
mov eax, dword [esp + 0x34]
test eax, eax
je 0x207e8c7e
cmp ebx, 0xa
jge 0x207e8c7e
mov ebx, 0xa
mov dword [esi + 0x48], ebx
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
lea eax, [edi + ebx]
lea edx, [eax + eax*4]
lea eax, [ebp + edx*2]
mov edx, dword [esp + 0x14]
add eax, edi
add eax, ecx
lea ecx, [eax*4 + 1]
push ecx
push edx
call fcn.207e10f0
mov edx, dword [esp + 0x1c]
mov dword [esi + 0x4c], eax
add esp, 8
mov cl, byte [edx + 0x1e]
test cl, cl
jne 0x207e8d32
add eax, 0xffffffd8
lea ecx, [ebx + ebx*4 + 5]
mov dword [esi + 0x4c], eax
mov dword [esi + 0x48], ebx
lea eax, [eax + ecx*8]
lea ecx, [edi + edi*4]
mov dword [esi + 0x38], eax
mov dword [esi + 0x34], edi
lea eax, [eax + ecx*8]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x24], eax
mov dword [esi + 0x40], 0
lea eax, [eax + ebp*4]
mov dword [esi + 0x2c], ecx
mov dword [esi + 0x3c], eax
lea eax, [eax + edi*4]
test edi, edi
mov dword [esi + 0x30], eax
jle 0x207e8d0d
xor eax, eax
mov ecx, dword [esi + 0x38]
add eax, 0x28
dec edi
mov word [eax + ecx - 0xc], 1
mov ecx, dword [esi + 0x38]
mov dword [eax + ecx - 0x18], edx
jne 0x207e8cf6
mov edi, 1
cmp ebx, edi
jl 0x207e8d32
mov eax, 0x28
mov ecx, ebx
mov ebx, dword [esi + 0x4c]
add eax, 0x28
dec ecx
mov word [eax + ebx - 0xc], di
mov ebx, dword [esi + 0x4c]
mov dword [eax + ebx - 0x18], edx
jne 0x207e8d1d
xor ebp, ebp
mov dl, byte [esp + 0x34]
mov al, byte [esi + 0x98]
or al, dl
mov dword [esi + 0x74], 0xffffffff
mov dword [esi + 0x78], ebp
mov dword [esi + 0x7c], ebp
mov dword [esi + 0x80], 2
mov byte [esi + 0x98], al
mov dword [esi + 0x44], 0xbdf20da3
mov dword [esi + 0xa0], ebp
mov dword [esi + 0x54], 1
mov byte [esi + 0x9b], 0xff
mov dword [esi + 0xec], ebp
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
xor ecx, ecx
mov cl, byte [edi + 3]
cmp ecx, ebp
jle 0x207e8d91
mov ebp, ecx
cmp al, 0x27
jne 0x207e8dae
cmp dword [edi + 4], 0x13
jne 0x207e8beb
cmp dword [edi + 8], 2
jne 0x207e8beb
jmp 0x207e8be3
cmp al, 0x2b
jne 0x207e8dbf
mov dword [esp + 0x10], 1
jmp 0x207e8beb
cmp al, 0x6d
je 0x207e8be3
cmp al, 0x7a
je 0x207e8be3
cmp al, 0x1e
je 0x207e8be3
cmp al, 0x67
jne 0x207e8beb
mov eax, dword [edi - 0x10]
cmp eax, ebp
jle 0x207e8beb
mov ebp, eax
jmp 0x207e8beb