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

Disassembly:
sub esp, 0x34
mov eax, dword [0x9726c0]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
mov esi, dword [esp + 0x44]
push edi
mov edi, dword [esp + 0x44]
mov eax, dword [esi + 0x1c]
lea ecx, [eax - 1]
cmp ecx, 6
ja case.0x806858.3
jmp dword [ecx*4 + 0x806b68]
mov cl, byte [esi + 0x6c]
cmp cl, 2
je 0x806891
push eax
movzx eax, cl
push eax
push 0x9507ec
push edi
call fcn.0075bb00
add esp, 0x10
mov eax, 0xffff8701
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0086aede
add esp, 0x34
ret
lea eax, [esp + 0x18]
push eax
push esi
push edi
call fcn.00806db0
add esp, 0xc
test eax, eax
jne 0x806b54
mov eax, dword [esp + 0x1c]
mov ebx, dword [esi + 0x94]
test eax, eax
jne 0x8068d7
push ebx
push esi
push edi
call fcn.008067d0
add esp, 0xc
test eax, eax
je 0x806926
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0086aede
add esp, 0x34
ret
push 0
push eax
push dword [esp + 0x20]
lea eax, [esp + 0x18]
push eax
push edi
call fcn.0083a1f0
add esp, 0x14
test eax, eax
jne 0x806941
mov eax, dword [esp + 0xc]
lea ecx, [eax - 1]
cmp ecx, 2
ja 0x806932
push ebx
push esi
push edi
mov dword [esi + 0x14], eax
call fcn.00806720
add esp, 0xc
test eax, eax
jne 0x806b54
push eax
push eax
push esi
push edi
call fcn.008072d0
add esp, 0x10
test eax, eax
jne 0x806b54
mov dword [esi + 0x1c], 7
jmp case.0x806858.3
push eax
push 0x950868
push edi
call fcn.0075bb00
add esp, 0xc
pop edi
pop esi
mov eax, 0xffff8701
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0086aede
add esp, 0x34
ret
mov cl, byte [esi + 0x6c]
cmp cl, 2
jne 0x806867
mov ebx, dword [edi + 0x80]
lea eax, [esp + 0x18]
push eax
push esi
push edi
call fcn.00806db0
add esp, 0xc
test eax, eax
jne 0x806b54
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x8069dd
push dword [esi + 0x94]
push esi
push edi
call fcn.008067d0
add esp, 0xc
test eax, eax
jne 0x806b54
mov edx, dword [ebx + 0xe0]
mov ecx, edx
lea ebx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x8069b0
sub ecx, ebx
lea eax, [ecx + 1]
push eax
push edx
push esi
push edi
call fcn.00807450
add esp, 0x10
test eax, eax
jne 0x806b54
mov eax, 7
mov dword [esi + 0x1c], eax
jmp case.0x806858.3
push 0
push eax
push dword [esp + 0x20]
lea eax, [esp + 0x1c]
push eax
push edi
call fcn.0083a2d0
add esp, 0x14
test eax, eax
jne 0x806a64
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
cmp edx, 3
ja 0x806a0f
cmp eax, 3
jb 0x806a0f
mov eax, 3
jmp 0x806a17
lea ecx, [eax - 1]
cmp ecx, 2
ja 0x806a54
mov dword [esp + 0xc], eax
mov dword [esi + 0x14], eax
lea eax, [esp + 0x34]
push eax
lea eax, [esp + 0x10]
push eax
push edi
call fcn.0083a1b0
push 5
lea eax, [esp + 0x44]
push eax
push esi
push edi
call fcn.008072d0
add esp, 0x1c
test eax, eax
jne 0x806b54
mov eax, 6
mov dword [esi + 0x1c], eax
jmp case.0x806858.3
push eax
push edx
push 0x95083c
push edi
call fcn.0075bb00
add esp, 0x10
pop edi
pop esi
mov eax, 0xffff8701
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0086aede
add esp, 0x34
ret
mov cl, byte [esi + 0x6c]
cmp cl, 2
jne 0x806867
mov ecx, dword [esi + 0x94]
mov eax, dword [esi + 0x98]
push ecx
push esi
push edi
mov byte [eax + ecx - 1], 0
call fcn.00806720
add esp, 0xc
test eax, eax
jne 0x806b54
mov dword [esi + 0x1c], 7
jmp case.0x806858.3
movzx ecx, byte [esi + 0x6c]
mov eax, ecx
sub eax, 1
je 0x806b11
sub eax, 2
je 0x806aef
sub eax, 1
je case.0x806858.3
push ecx
push 0x950810
push edi
call fcn.0075bb00
add esp, 0xc
mov eax, 0xffff8701
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0086aede
add esp, 0x34
ret
push dword [esi + 0x78]
push edi
call fcn.008057b0
add esp, 8
test eax, eax
je 0x806b49
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0086aede
add esp, 0x34
ret
push esi
push edi
call fcn.00807190
add esp, 8
test eax, eax
jne 0x806b54
cmp dword [esi + 0x7c], 0
jbe 0x806b31
push dword [esi + 0x78]
push edi
call fcn.00767960
add esp, 8
cmp dword [esi + 0x98], 0
jbe 0x806b49
push dword [esi + 0x94]
push edi
call fcn.00767960
add esp, 8
push esi
call fcn.007b8c60
add esp, 4
xor eax, eax
mov ecx, dword [esp + 0x3c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0086aede
add esp, 0x34
ret