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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov eax, dword [esp + 0x70]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x30], eax
mov ebx, dword [esp + 0x7c]
mov eax, dword [esp + 0x80]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x88]
mov dword [esp + 0x34], eax
cmp ebx, 8
je 0x931470
cmp ebx, 0xf
jle 0x931484
mov eax, ebx
sar eax, 1
mov dword [esp + 0x3c], eax
mov edi, eax
mov ecx, dword [esp + 0x28]
add edi, ecx
mov esi, dword [esp + 0x24]
add esi, eax
neg ecx
mov dword [esp + 0x48], ecx
shl eax, 2
mov edx, eax
mov ebp, dword [esp + 0x2c]
mov eax, ebp
mov dword [esp + 0x38], edx
add eax, edx
mov dword [esp + 0x40], eax
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov dword [esp], ebp
call fcn.00930870
mov ebp, eax
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x38]
add eax, ecx
mov dword [esp + 0x44], eax
mov edx, dword [esp + 0x24]
mov dword [esp + 0xc], edx
mov dword [esp + 8], esi
mov dword [esp + 4], ecx
mov dword [esp], eax
call fcn.00930870
lea edx, [ebp + ebp]
add edx, ebp
lea eax, [eax + edx + 4]
cmp eax, 8
ja case.default.0x931466
jmp dword [eax*4 + 0xdc0f0c]
mov edi, dword [esp + 0x28]
test edi, edi
jne 0x931484
mov esi, dword [esp + 0x24]
test esi, esi
je 0x931920
mov edi, dword [esp + 0x28]
lea esi, [ebx + edi]
mov ebp, dword [esp + 0x24]
mov eax, ebp
add eax, ebx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0xc], eax
mov dword [esp + 8], esi
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00931220
mov eax, edi
add eax, ebp
js 0x9318c0
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, 1
mov dword [esp + 0x48], 0
cmp dword [esp + 0x3c], 8
je 0x931729
mov edi, dword [esp + 0x34]
lea edx, [edi + ebx*8]
test eax, eax
jne 0x931670
lea esi, [ebx*4]
lea ebp, [edi + esi]
mov dword [esp + 0x18], edx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x3c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x38]
add eax, edi
mov dword [esp + 8], eax
mov dword [esp + 4], edi
mov dword [esp], ebp
call fcn.00931390
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov edi, dword [esp + 0x3c]
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00931390
add esi, dword [esp + 0x20]
mov edx, dword [esp + 0x4c]
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00931390
mov dword [esp + 0xc], ebx
mov dword [esp + 8], esi
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov edi, dword [esp + 0x34]
mov dword [esp], edi
call fcn.00936140
mov esi, eax
mov eax, dword [esp + 0x48]
test eax, eax
mov dword [esp + 0xc], ebx
je 0x931650
mov dword [esp + 8], ebp
mov dword [esp + 4], edi
mov dword [esp], ebp
call fcn.009362f0
sub esi, eax
mov eax, dword [esp + 0x38]
mov edi, dword [esp + 0x20]
add eax, edi
mov dword [esp + 0xc], ebx
mov dword [esp + 8], ebp
mov dword [esp + 4], eax
mov dword [esp], eax
call fcn.00936140
add eax, esi
je 0x9314c1
add ebx, dword [esp + 0x3c]
lea edx, [edi + ebx*4]
xor ecx, ecx
add eax, dword [edx]
jb 0x93195c
mov dword [edx], eax
test ecx, ecx
je 0x9314c1
lea esi, [esi]
add edx, 4
inc dword [edx]
jne 0x9314c1
add edx, 4
inc dword [edx]
je 0x931630
jmp 0x9314c1
mov eax, dword [esp + 0x34]
mov dword [esp + 8], eax
mov dword [esp + 4], ebp
mov dword [esp], ebp
call fcn.00936140
add esi, eax
jmp 0x9315eb
lea esi, [ebx*4]
lea ebp, [edi + esi]
cmp esi, 4
jae 0x931690
test esi, esi
je 0x93153b
mov byte [ebp], 0
jmp 0x93153b
mov dword [ebp], 0
mov dword [ebp + esi - 4], 0
lea edi, [ebp + 4]
and edi, 0xfffffffc
mov ecx, ebp
sub ecx, edi
add ecx, esi
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
jmp 0x93153b
mov eax, dword [esp + 0x48]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov edi, dword [esp + 0x34]
mov dword [esp], edi
call fcn.009364a0
mov eax, dword [esp + 0x24]
neg eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
add eax, edi
mov dword [esp], eax
call fcn.009364a0
xor eax, eax
mov dword [esp + 0x48], 1
cmp dword [esp + 0x3c], 8
jne 0x9314e8
mov ecx, dword [esp + 0x28]
test ecx, ecx
jne 0x9314e8
mov edx, dword [esp + 0x24]
test edx, edx
jne 0x9314e8
lea esi, [ebx*4]
test eax, eax
jne 0x93192c
mov ecx, dword [esp + 0x34]
mov eax, ecx
lea ebp, [ecx + esi]
add eax, dword [esp + 0x38]
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
mov dword [esp], ebp
call fcn.00936a20
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov edi, dword [esp + 0x20]
mov dword [esp], edi
call fcn.00936a20
add esi, edi
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov dword [esp], esi
call fcn.00936a20
jmp 0x9315af
mov eax, dword [esp + 0x48]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 4], eax
mov edi, dword [esp + 0x34]
mov dword [esp], edi
call fcn.009364a0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x38]
add eax, edi
mov dword [esp], eax
call fcn.009364a0
xor eax, eax
mov dword [esp + 0x48], 0
jmp 0x9314dd
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov edi, dword [esp + 0x34]
mov dword [esp], edi
call fcn.009364a0
mov eax, dword [esp + 0x24]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x44]
jmp 0x931702
mov eax, dword [esp + 0x28]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], edi
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov edi, dword [esp + 0x34]
mov dword [esp], edi
call fcn.009364a0
mov eax, dword [esp + 0x24]
neg eax
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], esi
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x30]
jmp 0x9317f0
neg eax
shl eax, 2
add ebx, esi
add ebx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
lea ecx, [esi + ebx*4]
cmp eax, 4
jae 0x9318f0
test eax, eax
je 0x9314c1
mov byte [ecx], 0
jmp 0x9314c1
mov dword [ecx], 0
mov dword [ecx + eax - 4], 0
lea edi, [ecx + 4]
and edi, 0xfffffffc
sub ecx, edi
add ecx, eax
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
jmp 0x9314c1
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00936a20
mov eax, dword [esp + 0x34]
lea ebp, [eax + esi]
mov dword [ebp], 0
mov dword [ebp + 0x3c], 0
lea edi, [ebp + 4]
and edi, 0xfffffffc
mov ecx, ebp
sub ecx, edi
add ecx, 0x40
shr ecx, 2
mov eax, dword [esp + 0x24]
rep stosd dword es:[edi], eax
jmp 0x93176d
mov ecx, 1
jmp 0x931622