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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43def0
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x44d740]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push esi
push edi
mov eax, dword [0x44d740]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x30]
mov edi, dword [ebp + 0x20]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x20], eax
test esi, esi
je 0x820c5a
mov cl, byte [edi]
cmp cl, 0x2b
je 0x820c53
cmp cl, 0x2d
jne 0x820c5a
mov ebx, 1
jmp 0x820c5c
xor ebx, ebx
mov eax, dword [eax + 0x14]
and eax, 0x3000
cmp eax, 0x3000
je 0x820c72
mov edx, 0x4469a8
jmp 0x820c94
lea eax, [ebx + 2]
mov edx, 0x4469ac
cmp eax, esi
ja 0x820c94
cmp byte [edi + ebx], 0x30
jne 0x820c94
mov cl, byte [edi + ebx + 1]
cmp cl, 0x78
je 0x820c92
cmp cl, 0x58
jne 0x820c94
mov ebx, eax
push edx
push edi
call fcn.0082db78
mov dword [esp + 0x18], eax
mov eax, 0x2e
mov word [esp + 0x3c], ax
call fcn.0082db4c
mov eax, dword [eax]
mov al, byte [eax]
mov byte [esp + 0x3c], al
lea eax, [esp + 0x3c]
push eax
push edi
call fcn.0082db78
mov ecx, dword [esp + 0x30]
add esp, 0x10
mov dword [esp + 0x24], eax
lea eax, [esp + 0x28]
push eax
call fcn.00812cf8
push eax
mov dword [esp + 0x7c], 0
call fcn.00823258
mov dword [esp + 0x7c], 0xffffffff
add esp, 4
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x18], eax
test ecx, ecx
je 0x820d0c
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
test ecx, ecx
je 0x820d0c
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [esp + 0x18]
push 0x30
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
push 0
push esi
lea ecx, [esp + 0x40]
mov byte [esp + 0x24], al
mov dword [esp + 0x54], 0xf
mov dword [esp + 0x50], 0
mov byte [esp + 0x40], 0
call fcn.0081f228
mov dword [esp + 0x78], 1
cmp dword [esp + 0x4c], 0x10
mov eax, dword [esp + 0x38]
jae 0x820d55
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x18]
push eax
lea eax, [esi + edi]
push eax
mov edx, dword [ecx]
push edi
call dword [edx + 0x1c]
mov ecx, dword [esp + 0x20]
lea eax, [esp + 0x28]
push eax
call fcn.00812cf8
push eax
mov byte [esp + 0x7c], 2
call fcn.00824428
mov byte [esp + 0x7c], 1
add esp, 4
mov ecx, dword [esp + 0x28]
mov edi, eax
test ecx, ecx
je 0x820da0
mov eax, dword [ecx]
call dword [eax + 8]
mov ecx, eax
test ecx, ecx
je 0x820da0
mov eax, dword [ecx]
push 1
call dword [eax]
lea eax, [esp + 0x50]
mov ecx, edi
push eax
call fcn.00821558
mov byte [esp + 0x78], 3
mov ecx, edi
mov eax, dword [edi]
mov eax, dword [eax + 0x10]
call eax
mov ecx, dword [esp + 0x10]
push dword [esp + 0x1c]
mov byte [esp + 0x1c], al
mov eax, dword [esp + 0x28]
cmp eax, esi
jne 0x820dd7
mov eax, dword [ebp + 0x24]
push eax
lea esi, [ecx + eax]
jmp 0x820e27
push dword [ebp + 0x2c]
mov esi, dword [ebp + 0x24]
push ecx
lea ecx, [esp + 0x44]
add esi, eax
call fcn.0081f2f8
push dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
lea ecx, [esp + 0x3c]
push dword [ebp + 0x28]
inc eax
push eax
call fcn.0081f2f8
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0xc]
call eax
cmp dword [esp + 0x4c], 0x10
mov dl, al
mov eax, dword [esp + 0x38]
jae 0x820e19
lea eax, [esp + 0x38]
mov ecx, dword [esp + 0x24]
push dword [esp + 0x1c]
push dword [ebp + 0x24]
mov byte [eax + ecx], dl
push ecx
lea ecx, [esp + 0x44]
call fcn.0081f2f8
cmp dword [esp + 0x64], 0x10
mov edi, dword [esp + 0x50]
jae 0x820e40
lea edi, [esp + 0x50]
mov al, byte [edi]
cmp al, 0x7f
je 0x820e7a
mov edi, edi
test al, al
jle 0x820e7a
movsx ecx, al
mov eax, esi
sub eax, ebx
cmp ecx, eax
jae 0x820e7a
push dword [esp + 0x18]
sub esi, ecx
lea ecx, [esp + 0x3c]
push 1
push esi
call fcn.0081f2f8
cmp byte [edi + 1], 0
lea eax, [edi + 1]
jle 0x820e74
mov edi, eax
mov al, byte [edi]
cmp al, 0x7f
jne 0x820e48
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x28], ecx
cmp dword [eax + 0x24], 0
jl 0x820e9f
jg 0x820e94
cmp dword [eax + 0x20], 0
jbe 0x820e9f
mov esi, dword [eax + 0x20]
cmp esi, ecx
jbe 0x820e9f
sub esi, ecx
jmp 0x820ea1
xor esi, esi
mov eax, dword [eax + 0x14]
and eax, 0x1c0
cmp eax, 0x40
je 0x820f48
cmp eax, 0x100
je 0x820efb
mov edi, dword [ebp + 8]
lea eax, [esp + 0x10]
push esi
push dword [ebp + 0x1c]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.008214d8
mov ecx, eax
add esp, 0x18
xor esi, esi
cmp dword [esp + 0x4c], 0x10
mov eax, dword [ecx]
mov dword [ebp + 0x10], eax
mov eax, dword [ecx + 4]
mov dword [ebp + 0x14], eax
mov eax, dword [esp + 0x38]
jae 0x820ef2
lea eax, [esp + 0x38]
push ebx
push eax
push dword [ecx + 4]
push dword [ecx]
jmp 0x820f62
cmp dword [esp + 0x4c], 0x10
mov eax, dword [esp + 0x38]
jae 0x820f0a
lea eax, [esp + 0x38]
mov edi, dword [ebp + 8]
push ebx
push eax
push dword [ebp + 0x14]
lea eax, [esp + 0x1c]
push dword [ebp + 0x10]
push eax
push edi
call fcn.00821458
mov ecx, eax
push esi
push dword [ebp + 0x1c]
mov eax, dword [ecx]
mov dword [ebp + 0x10], eax
mov eax, dword [ecx + 4]
mov dword [ebp + 0x14], eax
lea eax, [esp + 0x30]
push dword [ecx + 4]
push dword [ecx]
push eax
push edi
call fcn.008214d8
add esp, 0x30
xor esi, esi
jmp 0x820f70
cmp dword [esp + 0x4c], 0x10
mov eax, dword [esp + 0x38]
jae 0x820f57
lea eax, [esp + 0x38]
mov edi, dword [ebp + 8]
push ebx
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
lea eax, [esp + 0x20]
push eax
push edi
call fcn.00821458
add esp, 0x18
cmp dword [esp + 0x4c], 0x10
mov ecx, dword [eax]
mov dword [ebp + 0x10], ecx
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x38]
mov dword [ebp + 0x14], edx
jae 0x820f8a
lea eax, [esp + 0x38]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x28]
sub eax, ebx
push eax
mov eax, dword [esp + 0x14]
add eax, ebx
push eax
push edx
push ecx
lea eax, [esp + 0x38]
push eax
push edi
call fcn.00821458
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x48]
push esi
mov ecx, dword [eax]
push dword [ebp + 0x1c]
mov dword [ebp + 0x10], ecx
mov eax, dword [eax + 4]
push eax
push ecx
push ebx
push edi
mov dword [ebp + 0x14], eax
mov dword [edx + 0x20], 0
mov dword [edx + 0x24], 0
call fcn.008214d8
add esp, 0x30
cmp dword [esp + 0x64], 0x10
jb 0x820fed
push dword [esp + 0x50]
call fcn.0082c10e
add esp, 4
cmp dword [esp + 0x4c], 0x10
mov dword [esp + 0x64], 0xf
mov dword [esp + 0x60], 0
mov byte [esp + 0x50], 0
jb 0x821015
push dword [esp + 0x38]
call fcn.0082c10e
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.0082b950
mov esp, ebp
pop ebp
ret