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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x17
push 0
push 0
dec ecx
jne 0x8da68d
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
call fcn.00803e00
xor eax, eax
push ebp
push 0x8daf71
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x1c]
mov ecx, 4
mov eax, dword [ebp - 4]
call fcn.008da638
mov ebx, dword [ebp - 0xc]
shl ebx, 2
lea ebx, [ebx + ebx*2]
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x60]
mov eax, dword [eax + ebx*8 + 0x58]
push eax
lea edx, [ebp - 0x1c]
lea eax, [ebp - 0x1c]
mov ecx, 4
call fcn.008d0a38
mov eax, dword [ebp + 8]
add dword [eax], 4
adc dword [eax + 4], 0
mov eax, dword [ebp - 0x1c]
call fcn.00801714
mov esi, eax
mov dword [ebp - 0x20], esi
mov ecx, dword [ebp - 0x1c]
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.008da638
mov edx, dword [ebp + 0x10]
mov edx, dword [edx - 4]
mov edx, dword [edx + 0x60]
mov edx, dword [edx + ebx*8 + 0x58]
push edx
mov eax, esi
mov edx, eax
mov ecx, dword [ebp - 0x1c]
call fcn.008d0a38
mov eax, dword [ebp - 0x1c]
xor edx, edx
mov ecx, dword [ebp + 8]
add dword [ecx], eax
adc dword [ecx + 4], edx
mov eax, dword [esi]
mov dword [ebp - 0x28], eax
add esi, 4
mov eax, dword [esi]
mov dword [ebp - 0x2c], eax
add esi, 4
mov eax, dword [esi]
mov dword [ebp - 0x30], eax
add esi, 4
lea eax, [ebp - 0x34]
mov edx, esi
call fcn.00803950
mov eax, dword [ebp - 0x34]
call fcn.00803a58
add eax, eax
add eax, 2
add esi, eax
mov al, byte [esi]
mov byte [ebp - 0x39], al
inc esi
cmp dword [ebp - 0x2c], 1
jne 0x8da79f
cmp byte [ebp - 0x39], 3
jne 0x8da79f
lea eax, [ebp - 0x50]
push eax
mov eax, dword [0x8fcecc]
mov eax, dword [eax]
xor ecx, ecx
mov edx, dword [ebp - 0x34]
call fcn.008e24b4
mov edx, dword [ebp - 0x50]
lea eax, [ebp - 0x34]
call fcn.00803858
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 0x34]
call fcn.00803858
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0x34]
call fcn.008085e4
mov edx, dword [ebp - 0x54]
lea eax, [ebp - 0x34]
call fcn.00803858
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov ebx, dword [eax + 8]
cmp dword [ebp - 8], 0
je 0x8dad5c
xor ebx, ebx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xbc]
mov edi, dword [eax + 8]
dec edi
test edi, edi
jl 0x8da840
inc edi
mov dword [ebp - 0x10], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xbc]
mov edx, dword [ebp - 0x10]
call fcn.0081c280
mov al, byte [eax + 0x48]
cmp al, byte [ebp - 0x39]
jne 0x8da83a
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xbc]
mov edx, dword [ebp - 0x10]
call fcn.0081c280
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0x34]
call fcn.00803b70
jne 0x8da83a
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xbc]
mov edx, dword [ebp - 0x10]
call fcn.0081c280
mov ebx, eax
jmp 0x8da840
inc dword [ebp - 0x10]
dec edi
jne 0x8da7ee
test ebx, ebx
jne 0x8dad5c
mov eax, dword [ebp - 0xc]
shl eax, 2
lea eax, [eax + eax*2]
mov edx, dword [ebp + 0x10]
mov edx, dword [edx - 4]
mov edx, dword [edx + 0x60]
lea ecx, [edx + eax*8]
mov dl, 1
mov eax, dword [0x8d06bc]
call fcn.008d0ad4
mov ebx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xbc]
mov edx, ebx
call fcn.0081c124
mov eax, dword [ebp - 0x28]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebx + 8], eax
lea eax, [ebx + 0x10]
mov edx, dword [ebp - 0x34]
call fcn.00803834
lea eax, [ebx + 0x14]
mov edx, dword [ebp - 0x38]
call fcn.00803834
mov al, byte [ebp - 0x39]
mov byte [ebx + 0x48], al
mov eax, dword [ebp + 0xc]
xor edx, edx
call fcn.00803b70
je 0x8da8c5
lea edx, [ebp - 0x58]
mov eax, dword [ebp + 0xc]
call fcn.0082b3dc
mov edx, dword [ebp - 0x58]
lea eax, [ebp + 0xc]
call fcn.00803858
lea eax, [ebp - 0x60]
mov ecx, dword [ebx + 0x10]
mov edx, dword [ebp + 0xc]
call fcn.00803ac4
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x5c]
call fcn.008085e4
mov edx, dword [ebp - 0x5c]
lea eax, [ebx + 0x18]
call fcn.00803834
lea edx, [ebp - 0x64]
mov eax, dword [ebx + 0x18]
call fcn.008e126c
mov ecx, dword [ebp - 0x64]
mov dl, 1
mov eax, dword [0x8e10c8]
call fcn.008e17b8
mov dword [ebx + 0x40], eax
lea edx, [ebp - 0x68]
mov eax, dword [ebx + 0x18]
call fcn.008e1498
mov ecx, dword [ebp - 0x68]
mov dl, 1
mov eax, dword [0x8e10c8]
call fcn.008e17b8
mov dword [ebx + 0x44], eax
mov al, byte [ebx + 0x48]
cmp al, 2
jne 0x8da9a3
push 0x8daf8c
mov eax, 0x100000
call fcn.00801bc4
lea ecx, [ebp - 0x74]
mov edx, 5
call fcn.00808cc8
push dword [ebp - 0x74]
push 0x8daf98
lea eax, [ebp - 0x70]
mov edx, 3
call fcn.0080346c
mov edx, dword [ebp - 0x70]
lea eax, [ebp - 0x6c]
call fcn.008039cc
mov eax, dword [ebp - 0x6c]
lea edx, [ebp - 0x24]
call fcn.008085e4
lea edx, [ebp - 0x7c]
mov eax, dword [ebx + 0x18]
call fcn.0082b4d0
mov eax, dword [ebp - 0x7c]
lea edx, [ebp - 0x78]
call fcn.0082b3dc
lea eax, [ebp - 0x78]
mov edx, dword [ebp - 0x24]
call fcn.00803a64
mov eax, dword [ebp - 0x78]
call fcn.0082b6cc
test al, al
jne 0x8da92a
jmp 0x8daabe
sub al, 1
je 0x8da9af
sub al, 2
jne 0x8daabe
call fcn.0080b744
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x84]
call fcn.008da600
mov eax, dword [ebp - 0x84]
mov dword [ebx + 0x60], eax
mov eax, dword [ebp - 0x80]
mov dword [ebx + 0x64], eax
mov eax, dword [ebx + 0x60]
mov dword [ebx + 0x78], eax
mov eax, dword [ebx + 0x64]
mov dword [ebx + 0x7c], eax
mov eax, dword [ebx + 0x60]
mov dword [ebx + 0x70], eax
mov eax, dword [ebx + 0x64]
mov dword [ebx + 0x74], eax
mov eax, dword [ebx + 0x60]
mov dword [ebx + 0x68], eax
mov eax, dword [ebx + 0x64]
mov dword [ebx + 0x6c], eax
mov dword [ebx + 0x4c], 0x10
mov eax, 0x100000
call fcn.00801bc4
lea ecx, [ebp - 0x90]
mov edx, 5
call fcn.00808cc8
mov ecx, dword [ebp - 0x90]
lea eax, [ebp - 0x8c]
mov edx, 0x8daf8c
call fcn.008033f8
mov edx, dword [ebp - 0x8c]
lea eax, [ebp - 0x88]
call fcn.008039cc
mov eax, dword [ebp - 0x88]
lea edx, [ebp - 0x24]
call fcn.008085e4
lea edx, [ebp - 0x9c]
mov eax, dword [ebx + 0x18]
call fcn.0082b42c
mov eax, dword [ebp - 0x9c]
lea edx, [ebp - 0x98]
call fcn.0082b4d0
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0x94]
call fcn.0082b3dc
lea eax, [ebp - 0x94]
mov edx, dword [ebp - 0x24]
call fcn.00803a64
mov eax, dword [ebp - 0x94]
call fcn.0082b6b8
test al, al
jne 0x8daa00
mov eax, dword [ebp - 0x24]
call fcn.00803a58
add eax, eax
push eax
mov eax, dword [ebp - 0x24]
call fcn.00803a48
mov edx, eax
lea eax, [ebx + 0x1c]
pop ecx
call fcn.00806810
mov al, byte [ebx + 0x48]
dec eax
sub al, 3
jae 0x8dad5c
mov eax, dword [ebx + 0x40]
mov eax, dword [eax + 8]
xor edx, edx
call fcn.00803b70
je 0x8dad5c
mov byte [ebp - 0x3a], 0
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x58]
call fcn.00804658
mov edi, eax
dec edi
test edi, edi
jl 0x8dac68
inc edi
mov dword [ebp - 0x14], 0
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x58]
mov edx, dword [ebp - 0x14]
mov eax, dword [eax + edx*8]
lea edx, [ebp - 0xa0]
call fcn.008085e4
mov edx, dword [ebp - 0xa0]
mov eax, dword [ebx + 0x40]
mov eax, dword [eax + 8]
call fcn.00803b70
jne 0x8dac5e
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x58]
mov edx, dword [ebp - 0x14]
mov eax, dword [eax + edx*8 + 4]
lea edx, [ebp - 0x24]
call fcn.0082b3dc
mov eax, dword [ebx + 0x40]
call fcn.008e1718
dec eax
test eax, eax
jl 0x8dabaf
inc eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0xac]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x40]
call fcn.008e16f8
mov ecx, dword [ebp - 0xac]
lea eax, [ebp - 0xa8]
mov edx, dword [ebp - 0x24]
call fcn.00803ac4
mov eax, dword [ebp - 0xa8]
lea edx, [ebp - 0xa4]
call fcn.0082b3dc
mov edx, dword [ebp - 0xa4]
lea eax, [ebp - 0x24]
call fcn.00803858
inc dword [ebp - 0x18]
dec dword [ebp - 0x4c]
jne 0x8dab63
lea eax, [ebx + 0x34]
mov edx, dword [ebp - 0x24]
call fcn.00803834
mov ecx, dword [ebp - 0x24]
mov dl, 1
mov eax, dword [0x8e10c8]
call fcn.008e17b8
mov dword [ebx + 0x38], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x58]
mov edx, dword [ebp - 0x14]
mov eax, dword [eax + edx*8 + 4]
lea edx, [ebp - 0x24]
call fcn.0082b3dc
mov eax, dword [ebx + 0x44]
call fcn.008e1718
dec eax
test eax, eax
jl 0x8dac48
inc eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0xb8]
mov edx, dword [ebp - 0x18]
mov eax, dword [ebx + 0x44]
call fcn.008e16f8
mov ecx, dword [ebp - 0xb8]
lea eax, [ebp - 0xb4]
mov edx, dword [ebp - 0x24]
call fcn.00803ac4
mov eax, dword [ebp - 0xb4]
lea edx, [ebp - 0xb0]
call fcn.0082b3dc
mov edx, dword [ebp - 0xb0]
lea eax, [ebp - 0x24]
call fcn.00803858
inc dword [ebp - 0x18]
dec dword [ebp - 0x4c]
jne 0x8dabfc
mov ecx, dword [ebp - 0x24]
mov dl, 1
mov eax, dword [0x8e10c8]
call fcn.008e17b8
mov dword [ebx + 0x3c], eax
mov byte [ebp - 0x3a], 1
inc dword [ebp - 0x14]
dec edi
jne 0x8dab02
cmp byte [ebp - 0x3a], 0
jne 0x8dad5c
push 0
push 0
lea eax, [ebp - 0x48]
push eax
mov eax, dword [ebx + 0x40]
mov eax, dword [eax + 8]
call fcn.00803a48
push eax
call fcn.00852e9c
movzx ecx, word [ebp - 0x48]
shr ecx, 1
lea eax, [ebp - 0x24]
mov edx, dword [ebp - 0x44]
call fcn.008038ec
lea edx, [ebp - 0xc0]
mov eax, dword [ebp - 0x24]
call fcn.008085e4
mov eax, dword [ebp - 0xc0]
lea edx, [ebp - 0xbc]
call fcn.0082b3dc
mov edx, dword [ebp - 0xbc]
lea eax, [ebp - 0x24]
call fcn.00803858
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x58]
call fcn.00804658
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
inc eax
push eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
add eax, 0x58
mov ecx, 1
mov edx, dword [0x8d0888]
call fcn.00804814
add esp, 4
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x58]
mov edx, dword [ebp - 0x14]
lea eax, [eax + edx*8]
mov edx, dword [ebx + 0x40]
mov edx, dword [edx + 8]
call fcn.00803834
mov eax, dword [ebp + 0x10]
mov eax, dword [eax - 4]
mov eax, dword [eax + 0x58]
mov edx, dword [ebp - 0x14]
lea eax, [eax + edx*8 + 4]
mov edx, dword [ebp - 0x24]
call fcn.00803834
lea eax, [ebx + 0x34]
mov edx, dword [ebp - 0x24]
call fcn.00803834
mov ecx, dword [ebp - 0x24]
mov dl, 1
mov eax, dword [0x8e10c8]
call fcn.008e17b8
mov dword [ebx + 0x38], eax
mov ecx, dword [ebp - 0x24]
mov dl, 1
mov eax, dword [0x8e10c8]
call fcn.008e17b8
mov dword [ebx + 0x3c], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0xb8], eax
cmp byte [ebx + 0x48], 2
jne 0x8daec6
mov al, byte [esi]
inc esi
test al, 1
setne dl
mov byte [ebx + 0x51], dl
test al, 2
setne al
mov byte [ebx + 0x52], al
mov al, byte [esi]
mov byte [ebx + 0x50], al
inc esi
mov eax, dword [esi]
mov dword [ebx + 0x58], eax
mov eax, dword [esi + 4]
mov dword [ebx + 0x5c], eax
add esi, 8
push dword [ebx + 0x5c]
push dword [ebx + 0x58]
push 0
push 0x1000
call fcn.008d09c0
mov dword [ebx + 0xc0], eax
mov dword [ebx + 0xc4], edx
push dword [esi + 4]
push dword [esi]
lea eax, [ebp - 0x84]
call fcn.008da600
mov eax, dword [ebp - 0x84]
mov dword [ebx + 0x60], eax
mov eax, dword [ebp - 0x80]
mov dword [ebx + 0x64], eax
add esi, 8
push dword [esi + 4]
push dword [esi]
lea eax, [ebp - 0x84]
call fcn.008da600
mov eax, dword [ebp - 0x84]
mov dword [ebx + 0x78], eax
mov eax, dword [ebp - 0x80]
mov dword [ebx + 0x7c], eax
add esi, 8
push dword [esi + 4]
push dword [esi]
lea eax, [ebp - 0x84]
call fcn.008da600
mov eax, dword [ebp - 0x84]
mov dword [ebx + 0x70], eax
mov eax, dword [ebp - 0x80]
mov dword [ebx + 0x74], eax
add esi, 8
mov eax, dword [ebx + 0x70]
mov dword [ebx + 0x68], eax
mov eax, dword [ebx + 0x74]
mov dword [ebx + 0x6c], eax
mov eax, dword [esi]
mov dword [ebx + 0x4c], eax
add esi, 4
mov al, byte [esi]
mov byte [ebx + 0x80], al
inc esi
lea eax, [ebx + 0x84]
mov edx, esi
call fcn.00803950
mov eax, dword [ebx + 0x84]
call fcn.00803a58
add eax, eax
add eax, 2
add esi, eax
mov eax, dword [esi]
mov dword [ebx + 0xa8], eax
mov eax, dword [esi + 4]
mov dword [ebx + 0xac], eax
add esi, 8
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0xb0], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax]
mov dword [ebx + 0xa0], edx
mov edx, dword [eax + 4]
mov dword [ebx + 0xa4], edx
mov dword [ebx + 0xb4], 0xffffffff
mov ecx, dword [ebx + 0xa8]
mov eax, dword [ebx + 0xac]
xor edx, edx
mov dword [ebp - 0x40], eax
push 1
lea eax, [ebp - 0x40]
push eax
push ecx
mov eax, dword [ebp - 4]
push eax
call fcn.00805e3c
mov eax, dword [ebx + 0xa8]
mov edx, dword [ebx + 0xac]
mov ecx, dword [ebp + 8]
add dword [ecx], eax
adc dword [ecx + 4], edx
mov eax, dword [ebp - 0x20]
call fcn.00801734
mov edi, dword [ebp - 0x30]
dec edi
test edi, edi
jl 0x8daef4
inc edi
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebx + 0x18]
push eax
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.008da684
pop ecx
dec edi
jne 0x8daed7
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x8daf78
lea eax, [ebp - 0xc0]
mov edx, 0xc
call fcn.00803810
lea eax, [ebp - 0x90]
mov edx, 2
call fcn.00803100
lea eax, [ebp - 0x88]
call fcn.008037f8
lea eax, [ebp - 0x7c]
mov edx, 2
call fcn.00803810
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00803100
lea eax, [ebp - 0x6c]
mov edx, 8
call fcn.00803810
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.00803810
lea eax, [ebp - 0x24]
call fcn.008037f8
lea eax, [ebp + 0xc]
call fcn.008037f8
ret