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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x64
mov eax, dword [0xbd33e0]
mov edi, dword [esp + 0x84]
xor eax, esp
mov dword [esp + 0x60], eax
push 0
push edi
call fcn.0096d190
add esp, 8
test eax, eax
jne 0x96d9a2
mov edi, 0xfffffff4
jmp 0x96de58
mov ebp, dword [esp + 0x80]
mov esi, dword [esp + 0x78]
lea ebx, [esp + 0x48]
push ebx
call fcn.0096c880
add esp, 4
lea eax, [esp + 0x3c]
push eax
call fcn.0096c880
add esp, 4
lea eax, [esp + 0x30]
push eax
call fcn.0096c880
add esp, 4
lea eax, [esp + 0x24]
push eax
call fcn.0096c880
add esp, 4
lea eax, [esp + 0x54]
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], 3
mov dword [esp + 0x20], eax
push edi
push ebp
call fcn.0096d070
add esp, 8
test eax, eax
jns 0x96da47
test esi, esi
je 0x96da20
push 0
push esi
call fcn.0096ca90
add esp, 8
mov esi, eax
test eax, eax
jne 0x96de17
mov eax, dword [esp + 0x7c]
xor edi, edi
test eax, eax
je 0x96de58
push ebp
push eax
call fcn.0096c9f0
add esp, 8
mov esi, eax
test eax, eax
jne 0x96de17
jmp 0x96de58
push ebp
push ebx
call fcn.0096c9f0
add esp, 8
mov esi, eax
test eax, eax
jne 0x96de17
push edi
lea eax, [esp + 0x40]
push eax
call fcn.0096c9f0
add esp, 8
mov esi, eax
test eax, eax
jne 0x96de17
mov dword [esp + 0x3c], 1
mov dword [esp + 0x48], 1
mov eax, dword [ebp + 4]
add eax, 2
push eax
lea eax, [esp + 0x34]
push eax
call fcn.0096c8f0
add esp, 8
mov esi, eax
test eax, eax
jne 0x96de17
push 0
lea eax, [esp + 0x34]
push eax
call fcn.0096ca90
add esp, 8
mov esi, eax
test eax, eax
jne 0x96de17
mov eax, dword [ebp + 4]
add eax, 2
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0096c8f0
add esp, 8
mov esi, eax
test eax, eax
jne 0x96de17
lea eax, [esp + 0x3c]
push eax
call fcn.0096cb50
add esp, 4
and eax, 0x1f
mov dword [esp + 0x14], 0
cmp eax, 0x1f
je 0x96db31
xor eax, 0x1f
mov dword [esp], eax
push eax
push ebx
call fcn.0096cee0
add esp, 8
mov esi, eax
mov eax, dword [esp]
test esi, esi
jne 0x96de17
push eax
lea eax, [esp + 0x40]
push eax
call fcn.0096cee0
add esp, 8
mov ecx, dword [esp]
mov esi, eax
test eax, eax
mov dword [esp + 0x14], ecx
jne 0x96de17
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x40]
dec eax
lea ecx, [edx - 1]
mov dword [esp + 0x10], edx
mov dword [esp + 8], eax
sub eax, ecx
mov dword [esp + 0xc], ecx
mov dword [esp], eax
shl eax, 5
mov dword [esp + 4], eax
push eax
lea eax, [esp + 0x40]
push eax
call fcn.0096cee0
add esp, 8
mov esi, eax
test eax, eax
jne 0x96de17
lea esi, [esp + 0x3c]
push esi
push ebx
call fcn.0096d0f0
add esp, 8
test eax, eax
js 0x96db96
mov eax, dword [esp + 0x38]
mov ecx, dword [esp]
inc dword [eax + ecx*4]
push esi
push ebx
push ebx
call fcn.0096d4c0
add esp, 0xc
jmp 0x96db63
push dword [esp + 4]
push esi
call fcn.0096cfb0
add esp, 8
mov esi, eax
test eax, eax
jne 0x96de17
mov esi, dword [esp + 8]
cmp esi, dword [esp + 0xc]
jbe 0x96dd95
mov eax, dword [esp + 0x50]
mov edx, dword [esp + 0x10]
mov ecx, dword [eax + esi*4]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x44]
mov eax, dword [eax + edx*4 - 4]
mov edx, 0xffffffff
mov dword [esp], ecx
cmp ecx, eax
jae 0x96dbf4
mov ecx, dword [esp + 4]
mov edx, dword [ecx + esi*4 - 4]
mov ecx, dword [esp]
push eax
call fcn.0096de70
add esp, 4
mov edx, eax
mov eax, esi
mov ecx, dword [esp + 0x38]
sub eax, dword [esp + 0x10]
mov dword [ecx + eax*4], edx
mov dword [esp], eax
xor ecx, ecx
cmp esi, 2
mov eax, dword [esp + 0x50]
jb 0x96dc13
mov ecx, dword [eax + esi*4 - 8]
mov dword [esp + 0x54], ecx
mov edx, dword [esp + 0x38]
mov ecx, dword [eax + esi*4 - 4]
mov dword [esp + 0x58], ecx
mov ecx, dword [esp]
mov eax, dword [eax + esi*4]
dec esi
mov dword [esp + 8], esi
mov dword [esp + 0x5c], eax
inc dword [edx + ecx*4]
lea ecx, [esp + 0x24]
mov eax, dword [esp + 0x38]
mov edx, dword [esp]
dec dword [eax + edx*4]
push 0
push ecx
call fcn.0096ca90
add esp, 8
test eax, eax
je 0x96dc59
mov esi, eax
jmp 0x96de17
cmp dword [esp + 0xc], 0
mov edx, dword [esp + 0x10]
jne 0x96dc68
xor eax, eax
jmp 0x96dc70
mov eax, dword [esp + 0x44]
mov eax, dword [eax + edx*4 - 8]
mov ecx, dword [esp + 0x2c]
lea esi, [esp + 0x24]
mov dword [ecx], eax
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x2c]
mov eax, dword [eax + edx*4 - 4]
mov dword [ecx + 4], eax
mov ecx, dword [esp]
mov eax, dword [esp + 0x38]
push dword [eax + ecx*4]
push esi
push esi
call fcn.0096cbd0
add esp, 0xc
test eax, eax
je 0x96dca8
mov esi, eax
jmp 0x96de17
lea eax, [esp + 0x18]
push eax
push esi
call fcn.0096d0f0
add esp, 8
test eax, eax
mov ecx, esi
jg 0x96dc39
mov eax, dword [esp + 0x38]
mov edx, dword [esp]
push dword [eax + edx*4]
lea eax, [esp + 0x40]
push eax
push ecx
call fcn.0096cbd0
add esp, 0xc
test eax, eax
je 0x96dce3
mov esi, eax
jmp 0x96de17
mov eax, dword [esp]
shl eax, 5
mov dword [esp + 4], eax
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0096cee0
add esp, 8
test eax, eax
je 0x96dd06
mov esi, eax
jmp 0x96de17
lea eax, [esp + 0x24]
push eax
push ebx
push ebx
call fcn.0096d4c0
add esp, 0xc
test eax, eax
je 0x96dd20
mov esi, eax
jmp 0x96de17
push 0
push ebx
call fcn.0096d190
add esp, 8
test eax, eax
jns 0x96dbad
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0096c9f0
add esp, 8
test eax, eax
je 0x96dd50
mov esi, eax
jmp 0x96de17
push dword [esp + 4]
lea eax, [esp + 0x28]
push eax
call fcn.0096cee0
add esp, 8
test eax, eax
je 0x96dd6c
mov esi, eax
jmp 0x96de17
lea eax, [esp + 0x24]
push eax
push ebx
push ebx
call fcn.0096d420
add esp, 0xc
test eax, eax
je 0x96dd86
mov esi, eax
jmp 0x96de17
mov eax, dword [esp + 0x38]
mov ecx, dword [esp]
dec dword [eax + ecx*4]
jmp 0x96dbad
cmp dword [esp + 0x78], 0
je 0x96ddbf
lea eax, [esp + 0x30]
push eax
push dword [esp + 0x7c]
call fcn.0096c9f0
add esp, 8
mov esi, eax
test eax, eax
jne 0x96de17
mov eax, dword [edi]
mov ecx, dword [esp + 0x78]
imul eax, dword [ebp]
mov dword [ecx], eax
cmp dword [esp + 0x7c], 0
je 0x96de15
push dword [esp + 0x14]
push ebx
call fcn.0096cfb0
add esp, 8
mov esi, eax
test eax, eax
jne 0x96de17
mov eax, dword [ebp]
mov dword [esp + 0x48], eax
push ebx
push dword [esp + 0x80]
call fcn.0096c9f0
add esp, 8
mov esi, eax
test eax, eax
jne 0x96de17
push 0
push dword [esp + 0x80]
call fcn.0096d190
add esp, 8
test eax, eax
jne 0x96de15
mov eax, dword [esp + 0x7c]
mov dword [eax], 1
xor esi, esi
push ebx
call fcn.0096c8a0
add esp, 4
lea eax, [esp + 0x3c]
push eax
call fcn.0096c8a0
add esp, 4
lea eax, [esp + 0x30]
push eax
call fcn.0096c8a0
add esp, 4
lea eax, [esp + 0x24]
push eax
call fcn.0096c8a0
add esp, 4
push 0xc
lea eax, [esp + 0x58]
push eax
call fcn.00965b40
add esp, 8
mov edi, esi
mov ecx, dword [esp + 0x60]
xor ecx, esp
call fcn.00989fe9
mov eax, edi
add esp, 0x64
pop esi
pop edi
pop ebx
pop ebp
ret