Function at 0x8d609c
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], 0x9a8270
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x48], 0x8d666c
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 0x8d6109
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 0x8d639c
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 0x8d64fc
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 0x8d650d
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.00957180
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.00983260
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 0x8d62e7
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 0x8d6233
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 0x8d65dc
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.00957180
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.00983260
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 0x8d62f8
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
je 0x8d664c
mov edx, dword [eax*8 + 0x9f09e8]
mov ecx, dword [eax*8 + 0x9f09ec]
test dl, 1
mov ebx, edx
je 0x8d6343
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 0x8d64ee
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 0x8d640c
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 0x8d665c
test ecx, ecx
jne 0x8d640c
mov ecx, dword [ebp - 0x74]
mov eax, dword [ecx + 0x14]
cmp eax, dword [ecx + 0x10]
je 0x8d66ec
mov ebx, dword [ebp - 0x74]
inc eax
mov dword [ebx + 0x14], eax
lea esi, [esi]
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 0x8d6440
mov esi, dword [ebx + 0x24]
xor edx, edx
mov eax, dword [esi]
test eax, eax
je 0x8d643a
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 0x8d656d
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.00957180
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.00983260
mov eax, dword [ebp - 0x90]
mov edx, dword [ebp - 0x98]
mov esi, dword [eax]
mov dword [esi + 0xc], edx
jmp 0x8d6204
lea eax, [ecx + 0x18]
jmp 0x8d63bd
xor eax, eax
test edx, edx
je 0x8d6505
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x80], eax
jmp 0x8d615a
mov dword [esp], edx
lea edi, [ebp - 0x38]
mov dword [esp + 8], edi
mov dword [esp + 4], ecx
call fcn.00983260
mov edx, dword [ebp - 0x88]
cmp dword [ebp - 0x8c], edx
je 0x8d61e3
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.00956eb0
jmp 0x8d61e3
mov dword [esp + 4], ecx
lea edi, [ebp - 0x38]
mov dword [esp + 8], edi
mov dword [esp], edx
call fcn.00983260
mov ecx, dword [ebp - 0x9c]
cmp dword [ebp - 0xa0], ecx
je 0x8d64d8
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.00956eb0
jmp 0x8d64d8
mov dword [esp + 4], ecx
lea edi, [ebp - 0x38]
mov dword [esp + 8], edi
mov dword [esp], edx
call fcn.00983260
mov ecx, dword [ebp - 0xb0]
cmp dword [ebp - 0xb4], ecx
je 0x8d62cb
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.00956eb0
jmp 0x8d62cb
mov edi, dword [ebx + 0x24]
mov ecx, dword [edi]
mov eax, dword [ecx + 0x20]
jmp 0x8d6323
mov ecx, dword [edx + 0x1c]
mov ebx, dword [edx + 0x18]
sub ecx, ebx
jmp 0x8d63ec
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 0x8d6383