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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea esi, [ebp - 0x18]
push ebx
sub esp, 0xbc
lea ebx, [ebp - 0x6c]
mov dword [ebp - 0x54], 0x80c9e4
mov edi, dword [ebp + 8]
mov dword [ebp - 0x50], 0x9a8250
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x48], 0x8da7ec
mov dword [ebp - 0x44], esp
mov dword [esp], ebx
call fcn.0080f6e4
mov dword [ebp - 0x68], 0xffffffff
mov edx, dword [ebp - 0x74]
add edx, 0x6c
mov dword [ebp - 0x28], edx
call fcn.007bef6c
mov ecx, dword [ebp - 0x74]
mov edx, eax
mov dword [ecx + 0x6c], eax
lea eax, [eax + 0xffc]
test eax, eax
mov dword [ecx + 0x70], eax
je 0x8da299
xor eax, eax
mov dword [edx + 0xffc], eax
mov ebx, dword [ebp - 0x74]
mov ecx, dword [ebx + 0x30]
mov dword [ebx + 0x78], 0x400
mov dword [ebx + 0x38], 0
test ch, 2
mov dword [ebx + 0x3c], 0
jne 0x8da530
mov dword [ebp - 0x80], 1
mov edx, dword [ebx + 0xc]
and ecx, 0x40000
mov eax, dword [ebx + 0x24]
mov esi, dword [ebx + 8]
mov dword [ebx + 0x14], edx
mov dword [ebx + 0x1c], edx
mov edx, dword [eax]
mov dword [ebp - 0x7c], esi
mov edi, dword [edx + 0x1c]
mov dword [ebx + 0x2c], edi
je 0x8da68c
mov byte [ebp - 0x30], 0
mov ecx, dword [ebp - 0x74]
mov ebx, dword [ebp - 0x7c]
mov edi, dword [ebp - 0x74]
mov edx, dword [ecx + 0x10]
mov ecx, dword [ebx + 4]
mov esi, dword [edi + 0xc]
mov dword [ebp - 0x38], edx
mov eax, ecx
mov dword [ebp - 0x34], edx
mov edx, dword [ebx]
mov dword [ebp - 0x84], esi
mov esi, dword [ebp - 0x80]
sub eax, edx
sar eax, 2
imul edi, eax, 0xaaaaaaab
add esi, 2
mov dword [ebp - 0x8c], esi
mov dword [ebp - 0x88], edi
mov ebx, dword [ebp - 0x88]
cmp esi, ebx
jae 0x8da69d
mov dword [esp + 8], ecx
mov ebx, dword [ebp - 0x80]
mov edi, dword [ebp - 0x7c]
lea esi, [ebx + ebx*2]
lea eax, [edx + esi*4 + 0x18]
mov dword [esp], edi
lea ebx, [ebp - 0x38]
mov dword [esp + 4], eax
call fcn.009577ac
mov esi, dword [ebp - 0x7c]
mov eax, dword [esi + 4]
mov edx, dword [esi]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.009832b0
mov edi, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x74]
mov ebx, dword [edi]
mov esi, dword [ecx + 8]
mov dword [ebx + 0xc], edx
mov eax, dword [ecx + 0xc]
or dword [ecx + 0x30], 0x200
mov dword [esi + 0xc], eax
mov ebx, dword [ebp - 0x74]
test byte [ebx + 0x32], 2
je 0x8da477
mov ecx, dword [ebx + 0x24]
mov edi, dword [ebx]
xor ebx, ebx
mov dword [ebp - 0xa8], ebx
mov eax, dword [ecx]
mov dword [ebp - 0xa4], edi
test eax, eax
je 0x8da3c3
mov esi, dword [eax + 0x18]
mov dword [ebp - 0xa8], esi
mov byte [ebp - 0x30], 0
mov ecx, dword [ebp - 0x74]
mov ebx, dword [ebp - 0xa4]
mov edi, dword [ebp - 0x74]
mov edx, dword [ecx + 0x10]
mov ecx, dword [ebx + 4]
mov eax, dword [edi + 0xc]
mov dword [ebp - 0x38], edx
mov esi, ecx
mov dword [ebp - 0x34], edx
mov edx, dword [ebx]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0xa8]
sub esi, edx
sar esi, 2
imul edi, esi, 0xaaaaaaab
add eax, 2
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], edi
mov ebx, dword [ebp - 0xb0]
cmp eax, ebx
jae 0x8da76c
mov dword [esp + 8], ecx
mov ebx, dword [ebp - 0xa8]
mov edi, dword [ebp - 0xa4]
lea eax, [ebx + ebx*2]
lea esi, [edx + eax*4 + 0x18]
mov dword [esp], edi
lea ebx, [ebp - 0x38]
mov dword [esp + 4], esi
call fcn.009577ac
mov edx, dword [ebp - 0xa4]
mov eax, dword [edx + 4]
mov esi, dword [edx]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.009832b0
mov edi, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xac]
mov eax, dword [ebp - 0x74]
mov ebx, dword [edi]
mov edx, dword [eax]
mov dword [ebx + 0xc], ecx
mov esi, dword [eax + 0xc]
mov dword [edx + 0xc], esi
mov edx, dword [ebp - 0x74]
mov esi, dword [edx + 0x24]
xor edx, edx
mov eax, dword [esi]
test eax, eax
je 0x8da488
mov edx, dword [eax + 8]
mov ebx, dword [ebp - 0x74]
mov eax, dword [ebx + 0x30]
mov dword [esp], edx
mov dword [ebp - 0x68], 2
mov dword [esp + 4], eax
call fcn.007bf50c
mov ebx, dword [ebp - 0x74]
mov eax, 4
test byte [ebx + 0x31], 0x10
jne 0x8da4b7
mov edi, dword [ebx + 0x24]
mov ecx, dword [edi]
mov eax, dword [ecx + 0x20]
mov edx, dword [eax*8 + 0x9f0bb0]
mov ecx, dword [eax*8 + 0x9f0bb4]
test dl, 1
mov ebx, edx
je 0x8da4d7
mov ebx, dword [ebp - 0x74]
mov esi, dword [ebx + ecx]
add esi, edx
mov ebx, dword [esi - 1]
mov dword [ebp - 0x68], 2
mov edx, dword [ebp - 0x74]
add edx, ecx
mov dword [esp], edx
call ebx
movzx ebx, al
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xb8], ebx
mov esi, dword [eax]
mov dword [ebp - 0x68], 0xffffffff
mov dword [esp], esi
call fcn.007bf07c
mov edi, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xb8]
mov dword [edi], 0
mov dword [ebp - 0x70], ecx
lea ebx, [ebp - 0x6c]
mov dword [esp], ebx
call fcn.0080f7c4
mov eax, dword [ebp - 0x70]
add esp, 0xbc
pop ebx
pop esi
pop edi
pop ebp
ret
mov ecx, dword [ebp - 0x74]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
mov ecx, dword [edx]
sub eax, ecx
sar eax, 2
imul esi, eax, 0xaaaaaaab
cmp esi, 2
jg 0x8da67e
lea eax, [edx + 0x10]
mov edx, dword [ebp - 0x74]
mov ebx, dword [eax + 4]
test byte [edx + 0x31], 8
mov dword [edx + 0x14], ebx
mov dword [edx + 0x1c], ebx
jne 0x8da59c
mov edx, dword [edx]
xor ecx, ecx
mov esi, dword [edx + 4]
mov edx, dword [edx]
sub esi, edx
sar esi, 2
imul edi, esi, 0xaaaaaaab
cmp edi, 2
jg 0x8da7dc
test ecx, ecx
jne 0x8da59c
mov ecx, dword [ebp - 0x74]
mov eax, dword [ecx + 0x14]
cmp eax, dword [ecx + 0x10]
je 0x8da86c
mov ebx, dword [ebp - 0x74]
inc eax
mov dword [ebx + 0x14], eax
nop
mov ebx, dword [ebp - 0x74]
mov eax, 1
mov edi, dword [ebp - 0x74]
mov dword [ebp - 0x94], eax
test byte [ebx + 0x32], 4
mov ecx, dword [edi + 8]
mov dword [ebp - 0x90], ecx
jne 0x8da5d0
mov esi, dword [ebx + 0x24]
xor edx, edx
mov eax, dword [esi]
test eax, eax
je 0x8da5ca
mov edx, dword [eax + 0x18]
mov dword [ebp - 0x94], edx
mov byte [ebp - 0x30], 0
mov edx, dword [ebp - 0x74]
mov ebx, dword [ebp - 0x90]
mov edi, dword [ebp - 0x74]
mov ecx, dword [edx + 0x10]
mov edx, dword [ebx]
mov eax, dword [edi + 0x1c]
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x94]
mov esi, ecx
sub esi, edx
sar esi, 2
add eax, 2
mov dword [ebp - 0xa0], eax
imul edi, esi, 0xaaaaaaab
mov dword [ebp - 0x9c], edi
mov ebx, dword [ebp - 0x9c]
cmp eax, ebx
jae 0x8da6fd
mov dword [esp + 8], ecx
mov ebx, dword [ebp - 0x94]
mov edi, dword [ebp - 0x90]
lea eax, [ebx + ebx*2]
lea esi, [edx + eax*4 + 0x18]
mov dword [esp], edi
lea ebx, [ebp - 0x38]
mov dword [esp + 4], esi
call fcn.009577ac
mov edx, dword [ebp - 0x90]
mov eax, dword [edx + 4]
mov esi, dword [edx]
mov dword [esp + 8], ebx
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.009832b0
mov eax, dword [ebp - 0x90]
mov edx, dword [ebp - 0x98]
mov esi, dword [eax]
mov dword [esi + 0xc], edx
jmp 0x8da394
lea eax, [ecx + 0x18]
jmp 0x8da551
xor eax, eax
test edx, edx
je 0x8da695
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x80], eax
jmp 0x8da2ea
mov dword [esp], edx
lea edi, [ebp - 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], ecx
call fcn.009832b0
mov edx, dword [ebp - 0x88]
cmp dword [ebp - 0x8c], edx
je 0x8da373
mov edx, dword [ebp - 0x88]
lea ebx, [ebp - 0x38]
mov edi, dword [ebp - 0x7c]
sub dword [ebp - 0x80], edx
mov ecx, dword [ebp - 0x7c]
mov esi, dword [edi + 4]
mov dword [esp + 0xc], ebx
mov eax, dword [ebp - 0x80]
mov dword [esp], ecx
mov dword [esp + 4], esi
add eax, 2
mov dword [esp + 8], eax
mov dword [ebp - 0x68], 2
call fcn.009574dc
jmp 0x8da373
mov dword [esp + 4], ecx
lea edi, [ebp - 0x38]
mov dword [esp + 8], edi
mov dword [esp], edx
call fcn.009832b0
mov ecx, dword [ebp - 0x9c]
cmp dword [ebp - 0xa0], ecx
je 0x8da668
mov ecx, dword [ebp - 0x9c]
lea ebx, [ebp - 0x38]
mov edi, dword [ebp - 0x90]
sub dword [ebp - 0x94], ecx
mov edx, dword [ebp - 0x90]
mov esi, dword [edi + 4]
mov dword [esp + 0xc], ebx
mov eax, dword [ebp - 0x94]
mov dword [esp], edx
mov dword [esp + 4], esi
add eax, 2
mov dword [esp + 8], eax
mov dword [ebp - 0x68], 2
call fcn.009574dc
jmp 0x8da668
mov dword [esp + 4], ecx
lea edi, [ebp - 0x38]
mov dword [esp + 8], edi
mov dword [esp], edx
call fcn.009832b0
mov ecx, dword [ebp - 0xb0]
cmp dword [ebp - 0xb4], ecx
je 0x8da45b
mov ecx, dword [ebp - 0xb0]
lea ebx, [ebp - 0x38]
mov edi, dword [ebp - 0xa4]
sub dword [ebp - 0xa8], ecx
mov edx, dword [ebp - 0xa4]
mov esi, dword [edi + 4]
mov dword [esp + 0xc], ebx
mov eax, dword [ebp - 0xa8]
mov dword [esp], edx
mov dword [esp + 4], esi
add eax, 2
mov dword [esp + 8], eax
mov dword [ebp - 0x68], 2
call fcn.009574dc
jmp 0x8da45b
mov ecx, dword [edx + 0x1c]
mov ebx, dword [edx + 0x18]
sub ecx, ebx
jmp 0x8da580
mov edx, dword [ebp - 0x28]
mov esi, dword [edx]
mov dword [ebp - 0x68], 0xffffffff
mov dword [esp], esi
call fcn.007bf07c
mov dword [ebp - 0x70], 0
mov edi, dword [ebp - 0x28]
mov dword [edi], 0
jmp 0x8da517