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

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x58]
mov esi, dword [esp + 0x60]
push 0
push esi
mov ebx, dword [edi]
push edi
mov ebp, dword [ebx + 0xc]
mov eax, ebp
and al, 0xdf
or al, 0x40
mov dword [ebx + 0xc], eax
call fcn.2081a980
add esp, 0xc
test eax, eax
jne 0x20819a3c
mov eax, dword [esi + 0x20]
test eax, eax
je 0x20819a23
mov dword [esp + 0x60], eax
mov eax, dword [eax + 0x20]
test eax, eax
jne 0x20819a14
mov esi, dword [esp + 0x60]
push esi
push edi
call fcn.20819e80
add esp, 8
test eax, eax
jne 0x20819a3c
push eax
push esi
push edi
call fcn.2081a980
add esp, 0xc
test eax, eax
mov dword [ebx + 0xc], ebp
je 0x20819a4d
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret
push 0x50
push ebx
call fcn.207e10f0
mov edi, eax
xor ebp, ebp
add esp, 8
cmp edi, ebp
mov dword [esp + 0x14], edi
jne 0x20819a6e
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret
mov eax, dword [esp + 0x5c]
mov dword [edi], ebx
cmp eax, ebp
mov dword [edi + 0x20], 1
je 0x20819a8b
push eax
push ebx
call fcn.207e1980
add esp, 8
jmp 0x20819a8d
xor eax, eax
mov dword [edi + 4], eax
mov esi, dword [esi]
mov dword [esp + 0x1c], esi
mov eax, dword [esi]
mov dword [edi + 8], eax
lea ecx, [eax + eax*4]
shl ecx, 2
push ecx
push ebx
call fcn.207e10f0
mov ecx, dword [edi + 8]
add esp, 8
cmp ecx, ebp
mov dword [esp + 0x20], eax
mov dword [edi + 0xc], eax
mov dword [esp + 0x10], ebp
jle 0x20819c56
add eax, 0x12
mov dword [esp + 0x5c], ebp
mov dword [esp + 0x18], eax
jmp 0x20819ad6
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
mov edx, dword [esi + 0xc]
mov eax, dword [esp + 0x5c]
add eax, edx
mov ecx, dword [eax]
mov eax, dword [eax + 4]
test eax, eax
mov dword [esp + 0x2c], ecx
je 0x20819af8
push eax
push ebx
call fcn.207e1980
add esp, 8
jmp 0x20819b31
cmp byte [ecx], 0x95
jne 0x20819b1f
mov edx, dword [ecx + 0x3c]
test edx, edx
je 0x20819b1f
mov eax, dword [ecx + 0x28]
test eax, eax
jge 0x20819b0e
mov eax, dword [edx + 0x10]
mov edx, dword [edx + 0xc]
lea ecx, [eax + eax*4]
mov eax, dword [edx + ecx*4]
push eax
push 0x20716418
jmp 0x20819b28
add ecx, 0x1c
push ecx
push 0x207230e4
push ebx
call fcn.207eb530
add esp, 0xc
mov esi, eax
mov al, byte [ebx + 0x1e]
test al, al
push esi
jne 0x20819c4d
call fcn.207e2090
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x5c]
xor edi, edi
not ecx
dec ecx
xor ebp, ebp
test eax, eax
mov dword [esp + 0x24], ecx
jle 0x20819bb7
mov edx, dword [esp + 0x20]
lea ecx, [ebp + ebp*4]
push esi
mov eax, dword [edx + ecx*4]
push eax
call fcn.207e2160
add esp, 8
test eax, eax
jne 0x20819bae
mov ecx, dword [esp + 0x24]
inc edi
push edi
push esi
push 0x207230dc
push ebx
mov byte [ecx + esi], al
mov dword [esp + 0x38], edi
call fcn.207eb530
push esi
push ebx
mov edi, eax
call fcn.207e0aa0
add esp, 0x18
or ebp, 0xffffffff
test edi, edi
mov esi, edi
je 0x20819bb7
mov edi, dword [esp + 0x28]
mov eax, dword [esp + 0x10]
inc ebp
cmp ebp, eax
jl 0x20819b63
mov ebp, dword [esp + 0x18]
mov edx, dword [esp + 0x60]
mov ecx, 9
xor eax, eax
lea edi, [esp + 0x30]
mov dword [ebp - 0x12], esi
mov esi, dword [esp + 0x2c]
push 0
rep stosd dword es:[edi], eax
mov eax, dword [edx + 0xc]
push 0
push 0
lea ecx, [esp + 0x3c]
push esi
push ecx
mov dword [esp + 0x48], eax
call fcn.20819c90
push eax
push ebx
call fcn.207e1980
push esi
mov dword [ebp - 0xa], eax
call fcn.2081e030
mov edx, dword [esp + 0x78]
push esi
push edx
mov byte [ebp], al
call fcn.2081e0a0
add esp, 0x28
test eax, eax
je 0x20819c1f
mov eax, dword [eax]
push eax
push ebx
call fcn.207e1980
add esp, 8
mov dword [ebp - 6], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x5c]
inc eax
mov edx, dword [ecx + 8]
add edi, 0xc
add ebp, 0x14
cmp eax, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x5c], edi
mov dword [esp + 0x18], ebp
jl 0x20819ace
mov edi, ecx
jmp 0x20819c56
push ebx
call fcn.207e0aa0
add esp, 8
mov dword [edi + 0x10], 0xffffffff
mov al, byte [ebx + 0x1e]
test al, al
je 0x20819c77
push edi
call fcn.207f06f0
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret